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,9 +4,6 @@
- alias: 'Away Mode' - alias: 'Away Mode'
trigger: trigger:
- platform: state
entity_id: binary_sensor.upstairs_away_mode
to: 'on'
- platform: state - platform: state
entity_id: binary_sensor.downstairs_away_mode entity_id: binary_sensor.downstairs_away_mode
to: 'on' to: 'on'

View File

@ -10,7 +10,7 @@ interior_off:
- service: light.turn_off - service: light.turn_off
entity_id: entity_id:
- group.interior_lights - 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