Widget update when screen on while not connected
See original GitHub issueHome Assistant Android version: beta-482-b97a69a Android version: 10 Phone model: OnePlus 6t Home Assistant version: 0.117 Last working Home Assistant release (if known):
Description of problem:
Following PR #1115 every time the screen is unlocked while there is no connection to HA the entity widget shows ‘null’ and a toast notification is displayed saying: unable to fetch data for configured entity
.
I recommend that the widget only gets updated when the screen turns on if there is a connection to HA. Otherwise it should keep the last value (perhaps with an indication that this is not up to date). As for the toast notification I don’t recommend displaying it every time the screen turns on.
Traceback (if applicable):
Screenshot of problem:
Additional information:
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (4 by maintainers)
Top GitHub Comments
Thanks for this. Yes I had one widget listed there that I must have added to my home screen a while back but then removed. The toast seems to have stopped now so all good.
Yeah, I removed my widgets already. Toast is so annoying