mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-13 13:29:12 +00:00
Closes #121 - Turn off TV when we are away if it's on.
This commit is contained in:
parent
3d3a225305
commit
dfbc8d3467
@ -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'
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user