#410 Set office light to work when either stacey or I is out of bed.
This commit is contained in:
parent
86c3b65854
commit
8c0592a63e
|
@ -35,15 +35,20 @@ automation:
|
||||||
from: 'off'
|
from: 'off'
|
||||||
|
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
|
||||||
entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed
|
|
||||||
state: 'off'
|
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: group.family
|
entity_id: group.family
|
||||||
state: 'home'
|
state: 'home'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: light.office_lamp
|
entity_id: light.office_lamp
|
||||||
state: 'off'
|
state: 'off'
|
||||||
|
- condition: or
|
||||||
|
conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: binary_sensor.sleepnumber_carlo_stacey_is_in_bed
|
||||||
|
state: 'off'
|
||||||
|
- condition: state
|
||||||
|
entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed
|
||||||
|
state: 'off'
|
||||||
- condition: or
|
- condition: or
|
||||||
conditions:
|
conditions:
|
||||||
- condition: time
|
- condition: time
|
||||||
|
|
Loading…
Reference in New Issue