1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

Add a Binary Sensor Filter for state settling (#5900)

This commit is contained in:
Scott K Logan
2023-12-21 20:33:29 -06:00
committed by GitHub
parent 70fdc3c3f8
commit 3de5b26d77
4 changed files with 46 additions and 0 deletions

View File

@@ -1732,6 +1732,8 @@ binary_sensor:
- delayed_on_off: !lambda "return 10;"
- delayed_on: !lambda "return 1000;"
- delayed_off: !lambda "return 0;"
- settle: 40ms
- settle: !lambda "return 10;"
on_press:
then:
- lambda: >-