Now the theater light shouldnt turn off when we dont want it to.

This commit is contained in:
Jeffrey Stone 2022-02-24 23:31:08 -05:00
parent 787fff4004
commit 2791f04209
1 changed files with 3 additions and 10 deletions

View File

@ -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'