Added some basic sun and weather based automations

This commit is contained in:
Jeffrey Stone
2017-01-02 14:36:17 -05:00
parent 8527318b20
commit 23b60592c0
8 changed files with 77 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Turning inside lights on."
- service: switch.turn_on
data:
entity_id: switch.tower_lamp
#- service: notify.notify
# data:
# message: "Outside lights are on!"

View File

@@ -0,0 +1,20 @@
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Turning outside lights on."
- service: switch.turn_on
data:
entity_id: switch.driveway_light
- service: switch.turn_on
data:
entity_id: switch.side_door_light
- service: switch.turn_on
data:
entity_id: front_porch_left
- service: switch.turn_on
data:
entity_id: front_porch_right
#- service: notify.notify
# data:
# message: "Outside lights are on!"