Hoping some one can help
I created a garage door opener with a binary sensor for the reed switch.
I am getting a lot of false signals particularly if I hold the bare wires with my fingers even if they are not directly connected.
If the wires are totally apart then they seem to be fine.
I’ve found that the debouncer works well when there is only occasional signal interference. In cases where the signal interference is particularly bad due to power wires, the debouncer alone may make the reading completely unresponsive. In this case, you may need to make a hardware change. In this case, I’ve added a lower resistance pull-up circuit (~5-10k ohm) compared to the 30k or 50k internal pullup resistance that might be in the device. This cleaned the signal to the point that I didn’t even need a debouncer.