mirror of
https://github.com/Anonym-tsk/smart-domofon.git
synced 2025-12-06 03:26:58 +03:00
call_start_detect_delay
This commit is contained in:
@@ -29,6 +29,7 @@ substitutions:
|
||||
api_password: "esphome"
|
||||
|
||||
# Software configuration
|
||||
call_start_detect_delay: 50ms # Wait a while before going into a ring state
|
||||
call_end_detect_delay: 4000ms # Interval between rings to detect incoming call
|
||||
short_click_time_from: 50ms # Short button click min time
|
||||
short_click_time_to: 1000ms # Long button click min time
|
||||
|
||||
@@ -9,6 +9,7 @@ binary_sensor:
|
||||
mode: INPUT_PULLUP
|
||||
inverted: True
|
||||
filters:
|
||||
delayed_on: $call_start_detect_delay
|
||||
delayed_off: $call_end_detect_delay
|
||||
on_press:
|
||||
then:
|
||||
|
||||
Reference in New Issue
Block a user