How to delete history from specific sensor/entity?

I read out optically my watermeter using OCR.
Now the water company was here and changed the meter to a new one.
The new meter starts at 0.
The history is so much higher and this looks crazy on graphs.

Can I somehow delete the history for a specific sensor/entity?


Would this help?


Thanks for the tip pedolsky,

Added a line to purge the entity, lets see after the nighty run how it works.