Quoted from Flynnyfalcon:Thinking the microswitch
Looks like a wiring issue. Diode is on backwards,and then white wire goes to other lug.
Should be : White wire/black end of diode- Green wire ------------then farther away silver band end of diode.
LTG : )