Missing/corrupt statistics (myenergi Zappi)

Hello everyone,

In May 2023, I have encountered what appears to be corrupt or inaccurate data in my Zappi (myenergi) statistics. It seems that the wallbox was unavailable for a few days in May, and for some of those days, the statistics display “No statistics found for this period.”

I have a dashboard card for the “charge_added_session” sensor, which indicates the kWh of the last charging session and provides a monthly total. Currently, it shows a significantly high negative value for May 2023, and I am unable to pinpoint its exact source.

I have already attempted to manually correct the statistics by using the developer tool (via developer tool → statistics → search entity → search period → search erroneous values), but unfortunately, this effort was not successful.

I vaguely recall reading an article about a similar bug in a Homeassistant update, but I can no longer locate it. Does anyone here have any ideas?

Thank you very much in advance.

Cheers

No ideas? Can anyone help?