I’m trying to configure Home Assistant so that only two sensors keep long-term history (about 1 year), while all other entities keep the default / shorter retention.
Specifically:
sensor.temperature
sensor.humidity
From what I understand, the recorder integration only supports a global purge_keep_days value and does not allow different retention periods per entity.
Is there any way to keep 1 year of history for specific entities only