After my upgrade to 0.117.x, the history lines are not working properly anymore.
All of my histories are now giving a flat line.
I’m running mariaDB as an addon in HA but the DB is not producing any errors.
Also tried deleting the DB are let it re-create but still no luck.
Tried another browser to see if it was Chrome that was causing the problem, but also the same problem.
A workaround for now is to restart HA and then it works again until next night where it stops working again. Maybe it has to do with automatic back-up which is scheduled in the night but I can’t see any related error in the logs.
EDIT:
In the mariadb log there is a error after I restarted the database:
8:37:52 30 [Warning] Aborted connection 30 to db: ‘homeassistant’ user: ‘homeassistant’ host: ‘172.30.32.1’ (Got an error reading communication packets)
Same thing here and it is driving me crazy! Apart from the data freezing, I seem to only have the entities from z-wave and few many more, even though the actual data is shown for all zigbee-sensors etc. I have tried to clear the database (MariaDB, PHPmyadmin) and also reinstall the add-on without any luck. I also tried to tweak the configuration using recorder:include but makes no difference. The logs seem to give no clue either.
EDIT: I seem to have found a solution that works for me. Since 0.117 entity_id is deprecated in templates. I had a template sensor that included an entity_id. Removing it seems to have done the trick! So far I really don’t many database entries to evaluate on, but there was a significant change in the history now including many more.
So far I can see it’s not related to template entities in my config. What helped for me was to stop the Mariadb addon before I make a backup.
I use the Snapshots addon. In the settings of this addon you can stop certain addons before a backup starts. After changing this setting last night Mariadb keeps working till now.