Riemann integrstion reset value

Hi

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.

Do you have the same issue ?
Thanks

Isn’t this a Utility Meter issue rather than the Riemann integration? Sounds as if it has something to do with the periodically_resetting option.

Update to 2023.5.4 it contains some fixes for the Riemann Sum integration.

I don’t think is the periodically_resetting value (optional, default: true) parameter, my plug give the actual watt consumed and not the total.

Yes I updated today into the new version of HA

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

It’s possible to restore the data with an SQL statment ?

Many thanks

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?