Hi !
Until now, I was only tracking my electricity consumption on the Energy Dashboard (thanks to a small module connected to my Lixee ZLinky electricity meter).
Yesterday, I noticed that my radiators had an entity linked to their energy consumption, so I wanted to add that to the Energy Dashboard.
But since then, I’ve noticed time periods where there are negative values, and since I’m not very familiar with how this part works, I don’t understand why.
The entity you are using to measure your radiator energy is probably using the wrong state_class attribute.
The state_class should be “total_increasing”.
It seems like the radiator consumption precision is 1.0, so if it consumes 0.1 during that hour but it makes the counter roll over then that could result in it displaying a negative value for the untracked consumption, since it added 0.9 extra consumption that actually happened earlier.