[occupancy] only set the evening bedroom scene if the lights aren't already on
This commit is contained in:
parent
d0fd985cb2
commit
9f593b3f25
1 changed files with 3 additions and 0 deletions
|
@ -127,6 +127,9 @@ automation:
|
|||
- condition: state
|
||||
entity_id: device_tracker.correlspixel
|
||||
state: home
|
||||
- condition: state
|
||||
entity_id: group.bedrooms_lights
|
||||
state: 'off'
|
||||
|
||||
input_boolean:
|
||||
occupied:
|
||||
|
|
Loading…
Reference in a new issue