Yevgenium / weather-chart-card

Custom weather card with charts
MIT License
275 stars 81 forks source link

Graph in the card stopped working #63

Closed Spirituss closed 2 years ago

Spirituss commented 3 years ago

Hello!

From one of the last updates (2021.5 or 2021.6) the graph in the card stopped working. This is the result:

Снимок экрана 2021-08-05 в 20 52 20

Is the any solution for this?

P.S. It works well in Hassio, but not in HA Core

Spirituss commented 3 years ago

Works again in 2021.8.2

scstraus commented 3 years ago

Works again in 2021.8.2

Really? With the old graph code it works again? I'd go back to the old version again because with my changes, the new version looks a bit wonky now.

Spirituss commented 3 years ago

Works again in 2021.8.2

Really? With the old graph code it works again? I'd go back to the old version again because with my changes, the new version looks a bit wonky now.

Not sure. I copied js file from reserve HA instance. Possibly, it does the matter.

RonnyWinkler commented 3 years ago

For me, the graph stopped working with the update of this card from 0.2.7 to 0.2.8. I downgraded this card to 0.2.7 and the graph is back again (on an old 2021.03? HA version) - so it has nothing depending on the new HA updates fo rme.

carvalr commented 3 years ago

Same issue here. I had to remove the old version, clear the cached frontend files (desktop and mobile) and after I applied the version 1.0.2 it is now working properly again.

RonnyWinkler commented 2 years ago

I updated to HA 2021.9.x and this card to version 1.0.2. In HACS the card is marked red with title "not loaded" The weather data is displayed without the graph:

Screenshot_20210919-100125_Home Assistant

The log shows this error:

Screenshot_20210919-100147_Home Assistant

Older card versions are shown in HACS without error but don't display the chart, too. Weather provider is DWD integration (HACS).

Yevgenium commented 2 years ago

I updated to HA 2021.9.x and this card to version 1.0.2.

The screenshot shows the old version of the card. Try clearing your browser cache.

RonnyWinkler commented 2 years ago

Tried this in Firefox yesterday. Cleared cache and all other stuff including Cookies. Restarted Browser. No difference. Tried in other browsers, too. I will check this again. Thanks.

Yevgenium commented 2 years ago

@RonnyWinkler Also note that the name of the card has changed. It is weather-chart-card now.

RonnyWinkler commented 2 years ago

@RonnyWinkler Also note that the name of the card has changed. It is weather-chart-card now.

This point I missed. Some tries later (reinstalled the chart, restarted HA, it was recognized in Lovelace. Thanks for the hint.

Screenshot_20210919-125832_Home Assistant

btw. Is there a possibility to define languange depending captions for the current weather ("Sunny" in the screenshot)?

tomlut commented 2 years ago

Anyone having issues with this card in 2021.11.4?

When I move the card from one view to another, the graph shows up in most views but not all.

Cache cleared. No difference. It just refuses to show the graph in some views.