Please help me to understand the dashboard or maybe find this bug. I have multiple "Individual devices" setup in the energy dashboard. Those are all smart outlets that expose a "total kWh" sensor.
Two of them don't have a "total kWh" sensor, only a "current consumption in W", "todays consumption" and "this months consumption".
To properly integrate them into the energy dashboard I created an "integral sensor" counting the "current consumption" with "left riemann sum". Then I have a template sensor helper {{ states('sensor.pc_kwh_total') | float(0) }} set to "total increasing" to have a sensor I can add to the energy dashboard. That's the setup, and it's working correctly for the last weeks.
The problem is the following:
For today (here it's 10:00, I just woke up, so nothing happened today), one of the two outlets shows 15kWh energy usage over night in the energy dashboard (see the energy dashboard image). This is very strange, as the PC is and was off.
When I check the consumption sensor of the device it doesn't show any meaningful consumption for the day. The only consumption in that image is from yesterday, and it wasn't 15kWh.
The integral helper also doesn't show that spike. It went from 14,9kWh yesterday 17:20 to 15,5kWh yesterday 22:45. Then just very low "standby power".
The template sensor also shows the same as the integral sensor, no meaningful jump today that would cause the wrong stats in the energy dashboard.
So do you have any idea what caused this jump in the dashboard? This is very extreme, so I noticed it. But how can I be sure that any of this data presented there is correct?
What makes this weird to me: I have two identical outlets, both have a pc hooked up to it. I set them up both the same way with helpers and only one of them has this messed up dashboard