1
0

Fix kitchen lights motion automation

This commit is contained in:
Przemek Grondek 2022-08-13 19:22:24 +02:00
parent 29632bb3b2
commit d6c21dd26f

View File

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