Hello Bookie ,the electrical door jamb switch is located on the latch on the inside of the door. You may be able to get it to work if you spray the latch in the door with WD40 and slam the door a few times, or work the latch open and closed using a screwdriver to trip the latch and open using the door handle.
I will give an honest answer to the best of my knowledge. If my answer helps, please accept,if it saves you some money a bonus is appreciated.Thanks for using Just Answer, Jerry