From 32c4a070c87873eb4c993884b6f582fc7c5106da Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Sat, 17 Dec 2016 01:23:12 +0000 Subject: [PATCH] Ring the bell? Flash the lights. --- automation/ifttt_SkyBellHD.yaml | 5 +---- script/skybell_pressed.yaml | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 4 deletions(-) create mode 100755 script/skybell_pressed.yaml diff --git a/automation/ifttt_SkyBellHD.yaml b/automation/ifttt_SkyBellHD.yaml index e2cdadec..98becbed 100755 --- a/automation/ifttt_SkyBellHD.yaml +++ b/automation/ifttt_SkyBellHD.yaml @@ -9,10 +9,7 @@ event_type: skybell_pressed action: - - service: logbook.log - data: - name: "SkyBell HD Doorbell:" - message: "Someone Pressed the Doorbell." + - service: script.skybell_pressed ###################################################################### diff --git a/script/skybell_pressed.yaml b/script/skybell_pressed.yaml new file mode 100755 index 00000000..5ba7737d --- /dev/null +++ b/script/skybell_pressed.yaml @@ -0,0 +1,24 @@ +###################################################################################################### +###Script to turn on Front light FULL bright for 15m when motion is detected and then return to the normal colors. +# action: +# - service: script.front_house_motion +# +###################################################################################################### + +front_house_motion: + sequence: + - service: logbook.log + data: + name: "SkyBell HD Doorbell:" + message: "Someone Pressed the Doorbell." + + - service: light.turn_on + entity_id: + - group.outdoor_pool_lights + - light.master_toilet + data: + flash: short + + + + \ No newline at end of file