Clean sensor data after time

I know about the possibility to clean up the old database with recorder but I’m asking myself if it’s possible to set up sensors that don’t wright data to the database. Or for some minutes.

So is there a way to delete data that is older than x minutes automatically for one entity?

For instance I have a restful sensor that triggers an automation, and it’s not important to me to save that data to the database.

The easiest way, if you don’t want to save any of the entity’s data, is to exclude it via the Recorder configuration.

1 Like