After 5 full hours of fixing and cool down just a moderate note for everyone possibly running into the same issue:
Problem:
Since updating to HA 2022.2 my Energy Dashboard stopped working. It‘s been in that state for more than 2 days and unfortunately I discovered this only 5 1/2 hours ago.
I changed the state_class to total after being measurement before - as it was from the very beginning in July/August when Energy Dashboard / long-term statistics were introduced.
Then I fixed all data in the database which took me ~ 4 hours.
Summary:
Everything fine now. Always great to find your own post when searching for solutions
Everyone else looking for editing statistics in the database might have a look at: Energy Management in Home Assistant - #1127 by e-raser
Makes me feel a bit uncomfortable as I never read about “measurement” being deprecated. A warning in advance would have been nice. I’m just wondering as
I usually read every release note very carefully, sometimes twice (especially the breaking changes section) and I can’t remind of anything related to this measurement attribute deprecation
Not sure how to avoid this in future. Maybe there was something implemented/fixed/changed without proper communication. Just a thought.
So even waiting for a .6 (2022.2.6) release is no guarantee for a bug-free update, learned my lesson Probably need to postpone updates even further in future (1 month +) - which still is no guarantee for no corner-case bugs.
Take care - and always have a look at the Energy Dashboard 2 hours after updating Home Assistant.
I have noticed that the binary sensor updater no longer works for me. The sensor indicates up-to-date but there is an update available. I think I have seen this since version 2022.2.3 or so…
I was on 2022.2.6 up until yesterday, when I got notification that the sensor indicated 2022.2.7 was available, which happened around 2:20PM EST. I was at work at the time, so didn’t update until around 6:15PM EST, when I ran my core venv update commands, which pulled down 2022.2.8. Apparently they released .8 only about 20 minutes earlier, lol. So it seems to be ‘working’ for me. I know it checks https://www.home-assistant.io/version.json once a day, but I’m not sure how the time of day is determined (possibly by the last restart of HA?).
The updater binary sensor integration I use (and which I assume @Ih8rain2 uses) doesn’t check the version.home-assistant.io/stable.json url, it checks https://www.home-assistant.io/version.json.
(source: https://github.com/home-assistant/core/blob/f8d38a10253eab163c6527f395e6a82ff752a9f5/homeassistant/components/updater/__init__.py )
I’m pretty sure version.home-assistant.io urls (stable.json, beta.json, dev.json) are for Home Assistant OS and possibly Supervised, which have their own update check mechanisms.
Totally new to me. Previously not an issue but now after the updates it is. So what has changed? Still using the same updater checking the version somewhere in the same way. It did work and now it doesn’t …
How are you running HA (OS, Supervised, core)?
Do you see 2022.2.8 at https://www.home-assistant.io/version.json ?
Are you using the updater integration (may be part of default_config I believe) or another way of creating your binary sensor (e.g. is it a REST binary sensor you created)? If your not sure if it’s the integration, it should appear in your server info (Link to Info – My Home Assistant). Not sure if any of this will help…just throwing stuff out there to see if we can spot anything.
yes I do see 2022.2.8 at(https://www.home-assistant.io/version.json)
Updater must be part of the default config. I created nothing.
.HA_version contains 2022.2.8 too.