Skip to content

Commit a62159b

Browse files
committed
Increase minimum Ring to open delay
1 parent 0dda1b1 commit a62159b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firmware/base.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ binary_sensor:
337337
then:
338338
- switch.turn_off: doorman_ring_to_open
339339

340-
# If delay is 60 seconds, use random delay from 5 to 20 seconds
340+
# If delay is 60 seconds, use random delay from 5 to 15 seconds
341341
- if:
342342
condition:
343343
number.in_range:
@@ -346,7 +346,7 @@ binary_sensor:
346346
then:
347347
- delay: !lambda "return 5000 + (rand() % 10000);"
348348
else:
349-
- delay: !lambda "return id(doorman_ring_to_open_delay).state*1000;"
349+
- delay: !lambda "return (id(doorman_ring_to_open_delay).state*1000) + 300;"
350350

351351
- tcs_intercom.send:
352352
command: !lambda "return id(first_door_opener_command);"

0 commit comments

Comments
 (0)