Updated scripts with switches and lights

This commit is contained in:
Jeffrey Stone
2017-01-05 11:23:30 -05:00
parent 5098da9b43
commit bc501622e9
7 changed files with 60 additions and 18 deletions

View File

@@ -0,0 +1,21 @@
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Turning outside lights off."
- service: switch.turn_off
data:
entity_id: switch.driveway_light
- service: switch.turn_off
data:
entity_id: switch.side_door_light
- service: switch.turn_off
data:
entity_id: switch.front_porch_left
- service: switch.turn_off
data:
entity_id: switch.front_porch_right
- service: notify.notify
data:
title: 'Anchorage House'
message: "Outside lights are off!"