2017-01-06 00:46:38 +00:00
######################################################################################################
2017-01-21 05:51:18 +00:00
###[SkyBell HD](http://amzn.to/2dcexIB) Script to turn on Front light FULL bright for 5 to 20m when motion is detected and then return to the normal colors.
2017-01-06 00:46:38 +00:00
# action:
# - service: script.front_house_motion
#
######################################################################################################
front_house_motion :
sequence :
- service : logbook.log
data :
name : "SkyBell HD Doorbell:"
message : "Someone is by the door."
- condition : state
entity_id : sun.sun
2017-02-02 02:15:33 +00:00
state : 'below_horizon'
2017-02-21 19:19:27 +00:00
2017-02-03 01:59:29 +00:00
- service : input_boolean.turn_on
2017-02-23 01:14:00 +00:00
entity_id : input_boolean.alert_mode
2017-02-04 02:46:44 +00:00
- service : script.Voice_notify
data :
value1 : 'Motion has been detected by the front door.'
2017-01-06 00:46:38 +00:00
- service : scene.turn_on
entity_id : scene.front_full_brightness
2017-02-23 01:14:00 +00:00
- delay : '00:{{ (range(5, 20)|random|int) }}:00'
2017-01-06 00:46:38 +00:00
- service : light.turn_off
entity_id : group.outdoor_front_lights
- delay : '00:00:10'
2017-02-05 04:45:46 +00:00
- service : script.monthly_color_scene