mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 12:10:28 +00:00
#410 Set office light to work when either stacey or I is out of bed.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user