History - Home Assistant
www.home-assistant.io › integrations › historyHistory The history integration will track everything that is going on within Home Assistant and allows the user to browse through it. It depends on the recorder integration for storing the data and uses the same database setting. If any entities are excluded from being recorded, no history will be available for these entities.
Recorder - Home Assistant
www.home-assistant.io › integrations › recorderAutomatically purge the database every night at 04:12 local time. Purging keeps the database from growing indefinitely, which takes up disk space and can make Home Assistant slow. If you disable auto_purge it is recommended that you create an automation to call the recorder.purge periodically.
Purge history after X days · Issue #1337 · home-assistant ...
github.com › home-assistant › coreFeb 19, 2016 · Add 'purge_days' option to the history/recorder component. c89cd6a. Issue home-assistant#1337 When purge_days is set under the history component, recorder.py will delete all events and states that are older than purge_days days ago. Currently, this is only done once at start up. A vacuum command is also run to free up the disk space sqlite would still use after deleting records.
Clear up storage - Home Assistant
www.home-assistant.io › more-info › free-spaceYou can filter what you send to the database, and even change how long it stores the data with the purge_keep_days setting. Delete old backups. Open the Home Assistant UI and go to Configuration > Add-ons & Backups, and then to the “Backups” tab, here you will see all your backups, these can be downloaded and placed somewhere safe. When you have done that, you can delete them in the UI and it will free up some space for you.
History - Home Assistant
https://www.home-assistant.io/integrations/historyHistory The history integration will track everything that is going on within Home Assistant and allows the user to browse through it. It depends on the recorder integration for storing the data and uses the same database setting. If any entities are excluded from being recorded, no history will be available for these entities.