Today I looked at my energy stats, it seemed like I had suddenly hardly used any energy this year.
Then I saw that something went wrong on February 15 and the energy was counted away instead of being added.
My annual energy is no longer usable. Can this still be corrected somehow?
It is probably one value that is wrong. In developer tools statistics you can find the sensor and edit the bad value(s). Do first try to find the right date /time though, the UI only shows small time windows at a time.
Thank you! I found them, everything happend on 15-2 at 15:00… i have no idea how or what and where its comes to it’s weird values.
But will find every device now and edit it back to the value closes to the hour before.
Somehow the totals decreased (most likely all a 0 value) or stepped back to a previous point in time. How? anyones guess.
Then the sensors, according to the state class decide how to handle it. As you get negatives, the state class is likely total (not total_increasing). They will register the drop as energy production instead of use. Had the state class been total_increasing, it would have assumed the meter was reset and you would probably have seen a huge positive spike when the real meter values would come in again.
If the sensors used in the energy dashboard are template sensors, make sure they have an availability template to make them unavailable when needed. Do’t let them return 0 when the input value is unavailable. If an integration returns 0 when they should have reported unavailable, then put in an issue for the integration builder.