From: Giorgio Ravera Date: Mon, 11 Feb 2019 22:27:58 +0000 (+0100) Subject: Added Weekly Clean Log automation X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=7056e85198ff160b2457d1a715991c2aac0b7371;p=homeassistant.git Added Weekly Clean Log automation --- diff --git a/automation/home_assistant.yaml b/automation/home_assistant.yaml index e7053cea..b734d017 100644 --- a/automation/home_assistant.yaml +++ b/automation/home_assistant.yaml @@ -128,3 +128,26 @@ action: - delay: 00:05 - service: google_assistant.request_sync + +###################################################################### +# Home Assistant: Weekly Clean Log +# - tts.clear_cache +# - system_log.clear +# - recorder.purge +###################################################################### + +- alias: "Home Assistant: Pulitura settimanale log" + trigger: + - platform: time + at: '00:00:00' + + condition: + - condition: time + weekday: [mon] + + action: + - service: tts.clear_cache + - service: system_log.clear + - service: recorder.purge + data: + keep_days: 0