Having the same issue after two of my sensor devices (tasmota) were unavailable for three weeks.
when they came back the energy dashboard imported the current values of “total energy” from the sensors as the usage.
strangly enough this is NOT reflected in the statistics ramp area of the developer tools. all values are zero there.
I’ve tried the workaround with manually adding a negative value but this did not change anything.
Is there a way to force an update of the statistics or correct it in a different way?

