Help - Invalid data in Energy dashboard - Individual device and cost

The day I upgraded from 2023.02.x to 2023.03.5 I got some strange negative data (20th of march). It is not present in History view, but visible in Energy Dashboard.

Where and how can I correct this?

Also, during the upgrade I got a fault in the energy meter - sensor, when it reported several thousands kWh negative value. That value I could fix. But the cost are now negative. See my post here:

I finally found and adjusted the faulty sensors in Link to Developer Tools: Statistics – My Home Assistant