|
|
|
@ -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
|
|
|
|
|