Replies: 1 comment
-
Well scratch that, last_reset is on for TOTAL so it shouldn't even be going into negative values. Back to square one. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Relatively new to Home Assistant & would appreciate any help/pointers/insight. Love this integration but having a problem with the ariston_domestic_hot_water_total_energy_consumption sensor.
The cumulative readings aren't adding up to the total consumption per month in the app (However I haven't begun diagnosing this issue as I don't know where to start).
I have made some progress diagnosing a different issue, every now & then I'll get an outlier reading of -1.6 KwH (for example). As this device doesn't contribute anything to the grid this is wrong. Looking through Home Assistant documentation here (https://developers.home-assistant.io/docs/core/entity/sensor/#how-to-choose-state_class-and-last_reset) it looks like the sensor class of the device (state_class=SensorStateClass.TOTAL) should actually be (state_class=SensorStateClass.TOTAL_INCREASING) to prevent this incorrect negative reading. Am I correct in understanding this? Will update the thread if I've found this to solve the issue.
Updated code in line 372 of const.py
Beta Was this translation helpful? Give feedback.
All reactions