Longer storage time for a specific Entity ID

I want a longer storage time for a specific Entity ID. By default the data got wiped after 2 days so only data of the current day and the past day are stored.

I guess I have to add some extra data to the RECORDER function in the configuarion.yaml but I cannot figure out what.

Can please someone help this newby? Thanks in advance!

The keep_days value in the Recorder section of configuration.yaml controls how long data for all entities are kept. You can also (and should) exclude whatever entities you don’t need to keep. This is all explained here.

I think what you’re looking for might be what I asked for in this feature request:

Feel free to up-vote it if you think it would help you.

1 Like