Closes #121 - Turn off TV when we are away if it's on.

This commit is contained in:
CCOSTAN 2017-04-09 22:01:26 +00:00
parent 3d3a225305
commit dfbc8d3467
2 changed files with 6 additions and 9 deletions

View File

@ -4,15 +4,12 @@
- alias: 'Away Mode'
trigger:
- 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'
state: 'not_home'
condition:
- condition: state

View File

@ -8,9 +8,9 @@
interior_off:
sequence:
- service: light.turn_off
entity_id:
entity_id:
- group.interior_lights
- service: script.switch_turn_off_all
- service: script.switch_turn_off_all
- service: media_player.turn_off
entity_id:
- media_player.living_room_tv