From 5a0294f9e3809849c7f7635e9fdab05df8cda1f0 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 16 Nov 2023 09:00:47 -0600 Subject: [PATCH] Add a 500ms delay filter to the dry connect binary sensors (#112) --- base.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/base.yaml b/base.yaml index a44560e..5d29ea2 100644 --- a/base.yaml +++ b/base.yaml @@ -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