LFM-20 not working with door switch

I figured out what was happening. This relay switch has a on and a off mode. When the switch is on, the door switch doesnt get any power (I am assuming) so the door switch doesnt work. When the LFM-20 turns off the door switch shows power.

When I added the switch to my ST Hub, something went wrong and the switch wont go in the off position. I removed the device and re-paired. Nothing was wrong with the switch or the wiring. Thanks for your help and hope this thread serves as a solution for someone who gets stuck!