I use a history stats to track the time, for how long it has been running. All was working fine, until at some point, the time just boosted for 400000 hours.
In Dev Tools not all sensors can be edited, so I solved the issue installing SQLite Web add-in and changing 3 tables, states, statistics and statistics_short_term.
Hello @tusi,
I have the same problem as you do.
I am using HA’s default SQlite DB and after some HA core upgrade and restart my long-term HVAC stat changed from 29 to 473066 (heating TOTAL ON in hrs).
How did you change the data, how did you know how? I started SQLite Web add-in to browse the data but I do not know what rows to update/insert or delete. Where did you learn the data structure please?