Energy long term stats corrupted

Hi.

Please help. My energy statistic went to skyrocketing values after adding battery system.

Is ther any way to manipulate/remove date from databese?

See atached picture.

Looks like it is a day battery has been connected

Developer Tools → Statistics, then click on the ramp icon next to your entity. Find the time of the erroneous value and either delete it or replace it with an average of nearby values.