Fix hallway sensor
This commit is contained in:
parent
6983888525
commit
deed84771d
@ -30,7 +30,7 @@
|
||||
entity_id:
|
||||
- binary_sensor.hallway_motion_sensor
|
||||
- binary_sensor.hallway_person_occupancy
|
||||
- binary_sensor.presence_sensor_fp2_a73c_hallaway
|
||||
- binary_sensor.presence_sensor_fp2_hallaway
|
||||
to: "on"
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
@ -47,7 +47,7 @@
|
||||
entity_id:
|
||||
- binary_sensor.hallway_motion_sensor
|
||||
- binary_sensor.hallway_person_occupancy
|
||||
- binary_sensor.presence_sensor_fp2_a73c_hallaway
|
||||
- binary_sensor.presence_sensor_fp2_hallaway
|
||||
from: 'on'
|
||||
to: 'off'
|
||||
for: 00:00:01
|
||||
@ -59,7 +59,7 @@
|
||||
entity_id: binary_sensor.hallway_person_occupancy
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: binary_sensor.presence_sensor_fp2_a73c_hallaway
|
||||
entity_id: binary_sensor.presence_sensor_fp2_hallaway
|
||||
state: "off"
|
||||
action:
|
||||
- service: script.hallway_lights_off
|
||||
|
Loading…
Reference in New Issue
Block a user