Open sebastianhi97 opened 9 months ago
hey i tried to fix it by setting all values to 0 in the time from 23:55 to 00:05 ...in version 0.2.1 it is a prerelease
Hi gickowtf, Thank you for a great HA plugin! About the midnight reset issue: Have you tried changing the state class for the energy sensors (in kWh/Wh) to 'total_increasing' from 'total' (see e.g. here: https://developers.home-assistant.io/blog/2021/09/20/state_class_total/)? I tried it locally (lines 182 & 185 in sensor.py) and it's looking fine for me.
Edit: I'm referring to your previous commit at https://github.com/gickowtf/enpal-homeassistant/blob/75cd90f89deaa62c06fbd34dee3713baa7046116/custom_components/enpal/sensor.py
thanks for the info i will change it right away and push it
That has fixed it for me, thank you
Yes, the Update have fixed the issue.
Hi,
i got a problem with the entities in the energy dashboard. Maybe you know what the problem is. This spike is everyday at the morning.
It seems that the counter didnt reset right, but in the history is the rest at 23:59:35...