Home Assistant - Cleaning the Database Using Labels
After the latest updates to Home Assistant, the ability to add labels to entities was introduced. It turned out to be a quite convenient way to manage database cleanup using automation. Labels allow for easy browsing, filtering, and grouping of entities in different views. By leveraging them in automation, you can conveniently adjust its scope without directly editing the automation. alias: Purge frigate data from db description: "" trigger: - platform: time at: "03:00:00" condition: [] action: - service: recorder....