Home-Assistant-Lovelace-HTML-Jinja2-Template-card icon indicating copy to clipboard operation
Home-Assistant-Lovelace-HTML-Jinja2-Template-card copied to clipboard

Stops updating

Open jpmeijers opened this issue 2 years ago • 2 comments

Ever since I added this card to my dashboard, the dashboard would stop refreshing data at some point. The graph widgets on the dashboard will draw lines up to "now", but with straight lines, like when there is no new data.

In the console I see an error: image

This makes me think the problem could be related to: https://github.com/home-assistant/frontend/issues/13304 https://github.com/home-assistant/frontend/issues/11132

The template code I use inside the Jinja2 card is: https://github.com/wernerhp/ha.integration.load_shedding/blob/master/examples/card5.yaml

jpmeijers avatar Oct 06 '23 06:10 jpmeijers

the dashboard would stop refreshing data at some point

What do you mean? Does it work for a few minutes and then crashes?

PiotrMachowski avatar Oct 06 '23 09:10 PiotrMachowski

Yes correct. Maybe more a couple of hours, then it stops refreshing/showing new data. Next time it happens I'll have a screenshot to explain better.

I experience this on an Android tablet, running the Home Assistant app. Therefore debugging this is very difficult. I'm now leaving the same dashboard open in my Chrome browser, with the dev tools console running, hoping that I can catch any other errors than the one mentioned above.

jpmeijers avatar Oct 06 '23 09:10 jpmeijers