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