Update Automation Lists

This commit is contained in:
CCOSTAN
2016-10-13 16:23:03 +00:00
parent f3e2d684a9
commit 8e3d226ab6
2 changed files with 29 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
# There is also an IFTTT recipe that shuts down all lights when Nest goes into Away mode. - event_type= Good_Night
- alias: 'GoodNight - Away Mode'
trigger:
- platform: event
event_type: good_night
- platform: state
entity_id: binary_sensor.upstairs_away_mode
to: 'on'
- platform: state
entity_id: binary_sensor.downstairs_away_mode
to: 'on'
- platform: state
entity_id: group.family
state: not_home
condition:
condition: state
entity_id: group.family
state: not_home
action:
service: light.turn_off
entity_id: group.all_lights