Recorder config - exception to days of purge

Hi there,

A doubt about the some-how strange recorder config.

If i put:

recorder:
  purge_keep_days: 365

What should i put to not record data from lights for that number of days?

Thanks.
Pedro.

Ok, i know that you can add exclusions that configuration:

recorder:
  purge_keep_days: 365
  exclude:
    domains:
      - light

But, in this situation, how many days will the lights data be kept?
Is there anyway to say that i want, for instance, 30 days for lights?

Thanks.
Pedro.

It is all or nothing.
I suggest if you want to keep long term history, to setup influxdb.