I use electricity utility meter since 2 years, with a riemann integration to calculate the total energy Kwh, and use this sensor into energy panel to have single energy consumed.
Starting from 2023.5 HA version the sensor reset probably when the energy is not used, and cause negative value into energy panel.
see the next image, the table spublic.statistics from one sensor, since the blue selected cell, the data increase the value of the field state starting form the next row value is not increased, and the value of the column sum is negative
I am using the “integration” sensor to calculate a total network traffic.
But so far there is no a way to reset a calculated sum to 0.
At least it is still not described in Docs.
Does anyone know a way to reset?