Add hallway presence to turn on hallway lights
This commit is contained in:
parent
8e93e14df1
commit
44cb2ffe7d
@ -30,6 +30,7 @@
|
|||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.hallway_motion_sensor
|
- binary_sensor.hallway_motion_sensor
|
||||||
- binary_sensor.hallway_person_occupancy
|
- binary_sensor.hallway_person_occupancy
|
||||||
|
- binary_sensor.presence_sensor_fp2_a73c_hallaway
|
||||||
to: "on"
|
to: "on"
|
||||||
condition:
|
condition:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
@ -46,6 +47,7 @@
|
|||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.hallway_motion_sensor
|
- binary_sensor.hallway_motion_sensor
|
||||||
- binary_sensor.hallway_person_occupancy
|
- binary_sensor.hallway_person_occupancy
|
||||||
|
- binary_sensor.presence_sensor_fp2_a73c_hallaway
|
||||||
from: 'on'
|
from: 'on'
|
||||||
to: 'off'
|
to: 'off'
|
||||||
for: 00:00:01
|
for: 00:00:01
|
||||||
@ -56,6 +58,9 @@
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.hallway_person_occupancy
|
entity_id: binary_sensor.hallway_person_occupancy
|
||||||
state: "off"
|
state: "off"
|
||||||
|
- condition: state
|
||||||
|
entity_id: binary_sensor.presence_sensor_fp2_a73c_hallaway
|
||||||
|
state: "off"
|
||||||
action:
|
action:
|
||||||
- service: script.hallway_lights_off
|
- service: script.hallway_lights_off
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user