Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 103220

About recorder.purge in a script

$
0
0

i’m writing a simple script to clean the system after tests…

    - service: recorder.disable

    - service: recorder.purge
      data:
        keep_days: 0
        repack: true

    - service: recorder.enable

    - service: homeassistant.restart

the problem is that the system restarts before the repack is completed. any idea to wait for the purge/repack completed?!

thanks

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 103220

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>