How can I delete or change the electricity cost sensor value for a certain period?

I recently got a new electricity tariff and used the Epex spot integration to provide the current price. This was however in ct/kWh instead of EUR/kWh, what Home Assistant expected. Now the energy cost is 100x too high for a few days. I know of the edit function in the statistics menu, but this is very unpractical for numerous entries over a few days.

How can I change this in the history of the sensor? Also, I wouldn’t mind deleting the data for this time period altogether if it is easier (deleting might be even better, since my energy measurement wasn’t fully set up then).