1
0

Don't turn on hallway lights during day

This commit is contained in:
Przemek Grondek 2022-04-21 23:22:34 +02:00
parent f3885ce548
commit dc3cd9d1e4

View File

@ -53,6 +53,10 @@
entity_id: binary_sensor.hallway_motion_sensor entity_id: binary_sensor.hallway_motion_sensor
from: 'off' from: 'off'
to: 'on' to: 'on'
condition:
- condition: numeric_state
entity_id: sensor.xiaomi_lumi_sen_ill_mgl01_cc990100_illuminance
below: '100'
action: action:
- service: script.hallway_lights_on - service: script.hallway_lights_on