Purge by developertool not working on energy data

Hi, when i use the developertool in HA to execute a purge with a keep of 5 days, it does not remove the energy data, which is older then 5 days. Is this correct? I’m using a mariadb.

Set repack to true.

Hi Tom, sorry for not mentioning but that’s what I did. I only put apply filter off.

Sorry, just read this bit:

Energy data is LTS (long term statistics), not state data. Only state and event data is purged. LTS are kept forever.

You can edit LTS at Developer Tools → Statistics. Click on the ramp icon to the right of the entity.

1 Like