mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-06-12 10:17:18 +00:00
Now the theater light shouldnt turn off when we dont want it to.
This commit is contained in:
parent
787fff4004
commit
2791f04209
@ -280,16 +280,9 @@ script:
|
||||
sequence:
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: template
|
||||
value_template: >
|
||||
{%- if states.media_player.home_theater != "playing" -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
- condition: template
|
||||
value_template: >
|
||||
{%- if states.media_player.playstation_4 != "playing" -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
- condition: state
|
||||
entity_id: media_player.theater_tv
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: binary_sensor.theater_occupancy
|
||||
state: 'off'
|
||||
|
Loading…
x
Reference in New Issue
Block a user