[occupancy] only set the evening bedroom scene if the lights aren't already on
This commit is contained in:
parent
d0fd985cb2
commit
9f593b3f25
|
@ -127,6 +127,9 @@ automation:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: device_tracker.correlspixel
|
entity_id: device_tracker.correlspixel
|
||||||
state: home
|
state: home
|
||||||
|
- condition: state
|
||||||
|
entity_id: group.bedrooms_lights
|
||||||
|
state: 'off'
|
||||||
|
|
||||||
input_boolean:
|
input_boolean:
|
||||||
occupied:
|
occupied:
|
||||||
|
|
Loading…
Reference in New Issue