Add a 500ms delay filter to the dry connect binary sensors (#112)
This commit is contained in:
parent
e36225cfce
commit
5a0294f9e3
|
@ -99,6 +99,8 @@ binary_sensor:
|
||||||
pullup: true
|
pullup: true
|
||||||
name: "Dry contact open"
|
name: "Dry contact open"
|
||||||
entity_category: diagnostic
|
entity_category: diagnostic
|
||||||
|
filters:
|
||||||
|
- delayed_on_off: 500ms
|
||||||
on_press:
|
on_press:
|
||||||
- if:
|
- if:
|
||||||
condition:
|
condition:
|
||||||
|
@ -115,6 +117,8 @@ binary_sensor:
|
||||||
pullup: true
|
pullup: true
|
||||||
name: "Dry contact close"
|
name: "Dry contact close"
|
||||||
entity_category: diagnostic
|
entity_category: diagnostic
|
||||||
|
filters:
|
||||||
|
- delayed_on_off: 500ms
|
||||||
on_press:
|
on_press:
|
||||||
- if:
|
- if:
|
||||||
condition:
|
condition:
|
||||||
|
@ -131,6 +135,8 @@ binary_sensor:
|
||||||
pullup: true
|
pullup: true
|
||||||
name: "Dry contact light"
|
name: "Dry contact light"
|
||||||
entity_category: diagnostic
|
entity_category: diagnostic
|
||||||
|
filters:
|
||||||
|
- delayed_on_off: 500ms
|
||||||
on_press:
|
on_press:
|
||||||
- light.toggle: ${id_prefix}_light
|
- light.toggle: ${id_prefix}_light
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue