New "upstairs bathroom occupied" binary sensor
This commit is contained in:
@ -302,7 +302,7 @@ going_upstairs:
|
||||
target:
|
||||
entity_id: light.basement_studio_lights
|
||||
alias: Turn off the lights
|
||||
- wait_template: '{{ is_state(''binary_sensor.upstairs_bathroom_motion'',''on'')
|
||||
- wait_template: '{{ is_state(''binary_sensor.upstairs_bathroom_occupied'',''on'')
|
||||
or is_state(''input_boolean.goodnight'',''on'') }}'
|
||||
timeout: 00:10:00
|
||||
alias: Wait until I'm in the bathroom or in bed
|
||||
|
Reference in New Issue
Block a user