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…
Reference in New Issue