1
0

Add delay for turning lights off for presence

This commit is contained in:
Przemek Grondek 2023-04-25 14:58:41 +02:00
parent deed84771d
commit 917ba2eb71
4 changed files with 8 additions and 1 deletions

View File

@ -50,7 +50,8 @@
- binary_sensor.presence_sensor_fp2_hallaway
from: 'on'
to: 'off'
for: 00:00:01
for:
seconds: 5
condition:
- condition: state
entity_id: binary_sensor.hallway_motion_sensor

View File

@ -28,6 +28,8 @@
- platform: state
entity_id: binary_sensor.presence_sensor_fp2_kitchen
to: 'off'
for:
seconds: 5
# - platform: state
# entity_id: binary_sensor.kitchen_motion_sensor
# for: '0:02:00'

View File

@ -21,5 +21,7 @@
- platform: state
entity_id: binary_sensor.presence_sensor_fp2_couch
to: 'off'
for:
seconds: 5
action:
- service: script.living_room_lights_off

View File

@ -21,5 +21,7 @@
- platform: state
entity_id: binary_sensor.presence_sensor_fp2_office
to: 'off'
for:
seconds: 5
action:
- service: script.office_lights_off