weather-chart-card icon indicating copy to clipboard operation
weather-chart-card copied to clipboard

Options undefined

Open Firesphere opened this issue 2 years ago • 2 comments

As of late, I'm getting the following error persistently:

weather-chart-card.js:4100:16 TypeError: can't access property "borderSkipped", options is undefined

Firesphere avatar Aug 25 '22 00:08 Firesphere

This happens at multiple places, where the options from this are undefined, it seems that some data isn't properly copied over?

I also get an error that the namespace fails:

lineNumber: 6883
​
message: ""
​
name: "NS_ERROR_FAILURE"

Firesphere avatar Aug 25 '22 04:08 Firesphere

I'm getting a similar thing, and the chart goes blank:

image image

selfish avatar Sep 01 '22 13:09 selfish

I updated the version of chart.js from 3.5.1 to 3.9.1 in the weather-chart-card and now it renders correctly in Firefox. I've submitted a pull request, but in the meantime you can get my fixed version at https://github.com/greendog99/weather-chart-card/releases

greendog99 avatar Nov 14 '22 21:11 greendog99

Thank you @greendog99!

selfish avatar Nov 14 '22 21:11 selfish

Thank you @greendog99 also from my side! I love this card and I'm really happy that it works again.

Flox-Muc avatar Nov 15 '22 09:11 Flox-Muc

Cheers @greendog99 !

Firesphere avatar Nov 17 '22 09:11 Firesphere

Today I upgraded to 2023.1 and I'm having the same problem :/

override80 avatar Jan 05 '23 14:01 override80

I have no issues on HA 2023.1...

Firesphere avatar Jan 05 '23 21:01 Firesphere