Ring the bell? Flash the lights.

This commit is contained in:
CCOSTAN
2016-12-17 01:23:12 +00:00
parent 9a11ceaa9b
commit 32c4a070c8
2 changed files with 25 additions and 4 deletions

View File

@@ -9,10 +9,7 @@
event_type: skybell_pressed event_type: skybell_pressed
action: action:
- service: logbook.log - service: script.skybell_pressed
data:
name: "SkyBell HD Doorbell:"
message: "Someone Pressed the Doorbell."
###################################################################### ######################################################################

24
script/skybell_pressed.yaml Executable file
View File

@@ -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