Preserve the history of certain sensors for a longer period of time

No such option exists.

There’s only one option to control the retention period and it applies to all included entities.

purge_keep_days


There’s a Feature Request to provide control on a per-entity basis so may wish to vote for it.

1 Like