How to easily delete history of sensor?

Hi, I can’t find any easy way to clear the value history.
Something I had on blynk > sensor > … > erase data.
Did I miss something?

Thank you

The easiest way is to wait 10 days after which the state value data is purged.

There is a service called Recorder: Purge entities that you can use. I just tried it and was able to successfully delete my history on my light switch. You can access this service by going to Developer Tool > Service page or by selecting call service in the action section of your automation. This was my first time using it so I don’t know much about the service but there is documentation you can refer to. Recorder - Home Assistant



1 Like

can you share your configuration.yaml file, i want to see it, thank you so much