Home-AssistantConfig/script/front_house_motion.yaml

28 lines
883 B
YAML
Raw Normal View History

2016-12-02 21:25:09 +00:00
######################################################################################################
###Script to turn on Front light FULL bright for 15m when motion is detected and then return to the normal colors.
2016-12-02 21:25:09 +00:00
# action:
# - service: script.front_house_motion
2016-12-02 21:25:09 +00:00
#
######################################################################################################
front_house_motion:
sequence:
- service: logbook.log
data:
name: "SkyBell HD Doorbell:"
message: "Someone is by the door."
2016-12-19 04:22:39 +00:00
- condition: state
entity_id: sun.sun
state: 'below.horizon'
- service: scene.turn_on
entity_id: scene.front_full_brightness
2016-12-06 23:42:31 +00:00
- delay: '00:10:00'
- service: light.turn_off
entity_id: group.outdoor_front_lights
- delay: '00:00:10'
- service: script.monthly_front_house_scene
2016-12-02 21:25:09 +00:00