• Home Assistant,  Tech

    Home Assistant database clean-up and maintenance

    We’ve all been there..we notice the disk space used by Home Assistant growing and also its backups are growing in size. We clean whatever we can, uninstall apps/plugins etc. but it doesn’t seem to prevent the backups from growing bigger and bigger. Since I myself couldn’t really find guides on how to do this I’ll share some tips&tricks in this post that’ll allow one to determine what’s filling up that database and perform maintenance tasks like removing all database records related to one or more Home Assistant entities like a sensor or automation. This may be particular useful for people running Home Assistant on resource constrained hardware like Raspberry Pi’s.…