How long does the sqlite db maintaned

Hi Guys,

Just wanted to know - please blame me if I’ve overseen it in the documentation somehow - how long the default sqlite db got’s maintained. Are there “default” jobs which purges some events after some time?

I’m not really sure - but my understanding is from the recorder integration that there run’s a purge job every day and leave events still there for an additional amount of 10 days after the purge. Right?

Thx for clarification !
Cheers Florian

The default is to check every day and purge items older than 10 days. However…

Restarting home assistant also resets the purge time check. So if you restart every day it will never purge.

Thx - so my understanding was correct! Thx for clarification anyhow!

Cheers