Hallway allow to turn off lights when camera is unavailable
This commit is contained in:
parent
6cb23d8c84
commit
24957da360
@ -56,12 +56,16 @@
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.hallway_motion_sensor
|
entity_id: binary_sensor.hallway_motion_sensor
|
||||||
state: "off"
|
state: "off"
|
||||||
- condition: state
|
- condition: or
|
||||||
entity_id: binary_sensor.hallway_person_occupancy
|
conditions:
|
||||||
state: "off"
|
- condition: state
|
||||||
|
entity_id: binary_sensor.hallway_person_occupancy
|
||||||
|
state: "off"
|
||||||
|
- condition: state
|
||||||
|
entity_id: binary_sensor.hallway_person_occupancy
|
||||||
|
state: "Unavailable"
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.presence_sensor_fp2_hallaway
|
entity_id: binary_sensor.presence_sensor_fp2_hallaway
|
||||||
state: "off"
|
state: "off"
|
||||||
action:
|
action:
|
||||||
- service: script.hallway_lights_off
|
- service: script.hallway_lights_off
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user