diff --git a/config/packages/office_motion.yaml b/config/packages/office_motion.yaml index 25f3b284..58e2076d 100755 --- a/config/packages/office_motion.yaml +++ b/config/packages/office_motion.yaml @@ -35,15 +35,20 @@ automation: from: 'off' condition: - - condition: state - entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed - state: 'off' - condition: state entity_id: group.family state: 'home' - condition: state entity_id: light.office_lamp 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 conditions: - condition: time