Don't turn on hallway lights during day
This commit is contained in:
parent
f3885ce548
commit
dc3cd9d1e4
@ -53,6 +53,10 @@
|
||||
entity_id: binary_sensor.hallway_motion_sensor
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.xiaomi_lumi_sen_ill_mgl01_cc990100_illuminance
|
||||
below: '100'
|
||||
action:
|
||||
- service: script.hallway_lights_on
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user