mlamberts78 / weather-chart-card

Custom weather card with charts.
MIT License
294 stars 35 forks source link

Chart not updating without page reload #170

Closed nzottmann closed 3 months ago

nzottmann commented 5 months ago

Describe the bug I have the card running on a dashboard, thus the page in the browser is not reloaded very often. The chart does not update without reloading the browser.

I included the current time and the temperature of a sensor as override, those two get updated.

To Reproduce Open the dashboard containing the card and wait. After a day, open the dashboard in another tab or on another device and compare the forecast.

Expected behavior The forecast should be updated regularly. The first day should always be the current day, thus change on midnight.

Desktop (please complete the following information):

Additional context I found someone reporting the same problem: https://community.home-assistant.io/t/lovelace-weather-chart-card/638917/22?u=nils_z

waroen commented 5 months ago

Same here, very obvious with hourly forecasts that it doesn't update until reloaded. It might update if the underlying weather entity updates, because I find that it updates sometimes.

asantaga commented 4 months ago

Also have this issue.. Is there a way we can manually reload the chart, maybe using automation or browser_mod? Edit : Im trying with browser_mod extension, to see if this does the refresh or not. I'll let everyone know soon

WhiteSockedDancer commented 4 months ago

I've got the same problem. Using a Dashboard on a Smart Mirror and it doesnt update the chart over time. :/

allan-gersfelt-larsen commented 3 months ago

I see the same problem.