From db44d44a6e9c013d97db853420de17ae73be7dbe Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Fri, 3 Feb 2017 14:27:35 +0000 Subject: [PATCH] Shut down hallway light that always turns on during restarts --- automation/startup_notification.yaml | 34 ++++++++++++++++------------ 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/automation/startup_notification.yaml b/automation/startup_notification.yaml index fb1104cd..65a9f6d4 100755 --- a/automation/startup_notification.yaml +++ b/automation/startup_notification.yaml @@ -1,15 +1,19 @@ -################################### -## Start Up Section -################################### - -- alias: Startup Notification - hide_entity: True - trigger: - platform: event - event_type: homeassistant_start - action: - service: script.ifttt_notify - data_template: - value1: 'Startup: Home Assistant is Up and Running!' - value2: '' - value3: '' +################################### +## Start Up Section +################################### + +- alias: Startup Notification and Shut startup lights + hide_entity: True + trigger: + - platform: event + event_type: homeassistant_start + action: + - service: script.ifttt_notify + data_template: + value1: 'Startup: Home Assistant is Up and Running!' + value2: '' + value3: '' + + - service: light.turn_off + entity_id: group.hallway_lights + \ No newline at end of file