Smart plug individual device bug

Hi,

In my Energy Dashboard, I have some smart plug added as individual devices to track energy consumption of some devices (fridge, oven, ups…)
For about 10 days now, I have a smart plug wich get me weird data whereas its entity seems to be normal…


As you can see, it displays lots of kwh consumption, between 10 to 20 per hour, with a result of hundreds kwh at the end of the day.


But history of the entity looks normal


And Energy sum in Z2M looks normal too

As I don’t know how “per hour consumption” is calculated by Energy Dashboard when we add an individual device, I don’t know where I can resolve this issue.
Tried to remove it from individual devices and add it back : same result.

Any idea ?

Every time your entity transitions from 0 → X kWh, that adds X kWh to the total.

But history of the entity looks normal

That entity history does not look normal at all to me and seems like it reports in a weird way that’s not compatible with HA statistics.

Why does it keep toggling between 0 and the total kWh?