Add a 500ms delay filter to the dry connect binary sensors (#112)

This commit is contained in:
J. Nick Koston 2023-11-16 09:00:47 -06:00 committed by GitHub
parent e36225cfce
commit 5a0294f9e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -99,6 +99,8 @@ binary_sensor:
pullup: true
name: "Dry contact open"
entity_category: diagnostic
filters:
- delayed_on_off: 500ms
on_press:
- if:
condition:
@ -115,6 +117,8 @@ binary_sensor:
pullup: true
name: "Dry contact close"
entity_category: diagnostic
filters:
- delayed_on_off: 500ms
on_press:
- if:
condition:
@ -131,6 +135,8 @@ binary_sensor:
pullup: true
name: "Dry contact light"
entity_category: diagnostic
filters:
- delayed_on_off: 500ms
on_press:
- light.toggle: ${id_prefix}_light