Hi folks,
I’ve noticed that entity data can only be traced back for a relatively short period of time.
How can I extend this period?
a year would be good.
Hi folks,
I’ve noticed that entity data can only be traced back for a relatively short period of time.
How can I extend this period?
a year would be good.
You can change this in the recorder option in your configuration.yaml
Check Recorder - Home Assistant for more information
Changing recorder’s retention period to 1 year is inadvisable. The resulting database size will be unmanageable.
There’s another, more efficient, way to store long-term data that involves the use of an entity’s state_class
attribute. However this attribute is normally used with sensors. For what kind of entity do you want to store history for 1 year?