There have on simple way.

Modify the configuration file

#add below text inside the "homeassistant"
recorder:
        purge_interval: 2
        purge_keep_days: 1Code language: PHP (php)

Done!


了解 Starx's Home 的更多信息

订阅后即可通过电子邮件收到最新文章。