Open nawonpl opened 1 year ago
Try to clear your cache.
it didn't work
It updates flawlessly for me in both Chrome and Edge.
in chrome 114.0.5735.199, after clearing cache reload (right click on reload button with inspection menu opened) worked
@nawonpl, what exactly do you mean by "does not refresh":
I see a new version with the moon but neither the sun nor the moon moves
So it has nothing to do with the browser cache. I suspect Chromium on FullPageOS is heavily optimized in some way that interferes with the refresh mechanism of the card. The card uses window.setTimeout
to schedule the refresh in case anyone wants to debug this.
Please try lovelace-horizon-card.zip together with adding this to the card config:
refresh_method: hass
It will force an alternative refresh method that relies on HA sending state change events. Note that the card has no control over when HA will send such an event. On a busy production installation it should happen relatively often, on an almost empty test one I have it happens every 8 minutes or so. Also note that the refresh period setting still applies (default 60s) so for example if HA sends state change events every 10 seconds the card won't update until the refresh period has passed.
Isn't this fix in master ?
Version 1.0.0 does not refresh in chromium browser (FullPageOS). In Safari everything works, including the color of the moon