Block unwanted light control after streaming or napping starts
This commit is contained in:
@ -741,6 +741,18 @@ automation:
|
|||||||
from: 'off'
|
from: 'off'
|
||||||
to: 'on'
|
to: 'on'
|
||||||
id: basement-unoccupied
|
id: basement-unoccupied
|
||||||
|
- platform: state
|
||||||
|
entity_id:
|
||||||
|
- input_boolean.studio_quiet
|
||||||
|
- input_boolean.recliner_mode
|
||||||
|
from: 'off'
|
||||||
|
to: 'on'
|
||||||
|
id: studio-quiet
|
||||||
|
- platform: state
|
||||||
|
entity_id: sensor.twitch_ironnerd24
|
||||||
|
from: 'offline'
|
||||||
|
to: 'streaming'
|
||||||
|
id: stream-started
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.studio_quiet
|
entity_id: input_boolean.studio_quiet
|
||||||
@ -780,7 +792,10 @@ automation:
|
|||||||
{{ timer_duration('input_number.basement_studio_lights_off_delay') }}
|
{{ timer_duration('input_number.basement_studio_lights_off_delay') }}
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: trigger
|
- condition: trigger
|
||||||
id: basement-occupied
|
id:
|
||||||
|
- basement-occupied
|
||||||
|
- studio-quiet
|
||||||
|
- stream-started
|
||||||
sequence:
|
sequence:
|
||||||
- service: timer.cancel
|
- service: timer.cancel
|
||||||
target:
|
target:
|
||||||
|
Reference in New Issue
Block a user