Add delay for turning lights off for presence
This commit is contained in:
parent
deed84771d
commit
917ba2eb71
@ -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
|
||||
|
@ -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'
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user