From 931739d3e7c03b3297382724310d33e8c499dc95 Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Sat, 16 Feb 2019 18:37:20 +0100 Subject: [PATCH] Added initial_state to all automations --- automation/day.yaml | 2 ++ automation/home_assistant.yaml | 14 ++++++++++++++ automation/media_player.yaml | 4 ++++ automation/welcome.yaml | 2 ++ 4 files changed, 22 insertions(+) diff --git a/automation/day.yaml b/automation/day.yaml index f81829ea..a0655915 100644 --- a/automation/day.yaml +++ b/automation/day.yaml @@ -4,6 +4,8 @@ ###################################################################### - alias: "Giorno: Risveglio Giorgio" + initial_state: 'on' + trigger: - platform: time at: '07:00:00' diff --git a/automation/home_assistant.yaml b/automation/home_assistant.yaml index b734d017..7e3c595a 100644 --- a/automation/home_assistant.yaml +++ b/automation/home_assistant.yaml @@ -3,6 +3,8 @@ ###################################################################### - alias: "Home Assistant: Cambio modalità On" + initial_state: 'on' + trigger: platform: state entity_id: input_boolean.home_mode_day, @@ -18,6 +20,8 @@ {{ booleans | list | join(', ') }} - alias: "Home Assistant: Cambio modalità Off" + initial_state: 'on' + trigger: platform: state entity_id: input_boolean.home_mode_day, @@ -53,6 +57,8 @@ ###################################################################### - alias: "Home Assistant: Modalità giorno/Notte" + initial_state: 'on' + trigger: - platform: time at: '08:00:00' @@ -81,6 +87,8 @@ ###################################################################### - alias: "Home Assistant: Gestione notifiche vocali" + initial_state: 'on' + trigger: - platform: state entity_id: input_boolean.home_mode_night @@ -104,6 +112,8 @@ ###################################################################### - alias: "Home Assistant: Notifica aggiornamento" + initial_state: 'on' + trigger: - platform: state entity_id: updater.updater @@ -121,6 +131,8 @@ ###################################################################### - alias: "Home Assistant: Startup automations" + initial_state: 'on' + trigger: - platform: homeassistant event: start @@ -137,6 +149,8 @@ ###################################################################### - alias: "Home Assistant: Pulitura settimanale log" + initial_state: 'on' + trigger: - platform: time at: '00:00:00' diff --git a/automation/media_player.yaml b/automation/media_player.yaml index 33721107..ca73d2fa 100644 --- a/automation/media_player.yaml +++ b/automation/media_player.yaml @@ -4,6 +4,8 @@ ###################################################################### - alias: "TV: Cambia canale" + initial_state: 'on' + trigger: - platform: state entity_id: input_text.tv_change_channel @@ -22,6 +24,8 @@ ###################################################################### - alias: "Google Home: Pronuncia testo" + initial_state: 'on' + trigger: - platform: state entity_id: input_text.google_home_speak diff --git a/automation/welcome.yaml b/automation/welcome.yaml index f8856d86..ff8e325f 100644 --- a/automation/welcome.yaml +++ b/automation/welcome.yaml @@ -5,6 +5,8 @@ ###################################################################### - alias: Saluto di benvenuto + initial_state: 'on' + trigger: - platform: state entity_id: -- 2.47.3