Fix kitchen lights motion automation
This commit is contained in:
parent
29632bb3b2
commit
d6c21dd26f
@ -10,6 +10,12 @@
|
||||
entity_id: binary_sensor.kitchen_tabletop_motion_detection
|
||||
to: 'on'
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.office_illuminance
|
||||
below: '150'
|
||||
sequence:
|
||||
- service: script.kitchen_lights_on
|
||||
|
||||
- id: kitchen-lights-off
|
||||
|
Loading…
Reference in New Issue
Block a user