Old history data is not deleted

Hello,

I have the following recorder configuration:

recorder:
  purge_keep_days: 365
  commit_interval: 30

My expectation is that data older than 1 year is deleted and will not be visible anymore in the history of a sensor. But unfortunately this is not the case. When I open the history for more than 1 year ago I still see the sensor data.

Is my understanding incorrect? Or why is old data not deleted (even if I trigger the purge manually via recorder.purge)?

Thanks
Albert

Regular history data or LTS data ? LTS data is kept forever, regular history data should be deleted.

Yes you ar right. I checked the configuration of the sensor and it is a LTS sensor