Skip to content

Commit

Permalink
Update deurbel.yaml
Browse files Browse the repository at this point in the history
I removed the delayed _on. As all you need is contact, and 1 or 10 within a second doesn't matter, as it rings only one time.
Also changed the delay from 1000ms to 500ms. The doorbell I've got is quiet anoying and 1/2 a second is long enough. Ofcourse, use your own settings here ;)
  • Loading branch information
zuidwijk authored Apr 6, 2019
1 parent 557be53 commit bebec61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deurbel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ binary_sensor:
name: "Deurbel" # DOORBELL BUTTON
#device_class: window
filters:
- delayed_on: 100ms # THIS DOES THE DEBOUNCE
# - delayed_on: 100ms # THIS DOES THE DEBOUNCE <-- disabled, not needed as delayed_off prevents from...
- delayed_off: 5000ms # THIS PREVENTS FROM MULTIPLE RANGS
on_press:
then:
Expand All @@ -40,7 +40,7 @@ binary_sensor:
binary_sensor.is_off: mute # IF MUTE DONT RING
then:
- switch.turn_on: relay
- delay: 1000ms
- delay: 500ms
- switch.turn_off: relay
- platform: homeassistant
name: "Input Boolean From Home Assistant"
Expand Down

0 comments on commit bebec61

Please sign in to comment.