This is the relay/ power supply.
I have a float switch at the bottom of a tank Its has 497k resistance when open all the way. The code I have see it in digital I had to put a 10 k resistor on the switch because I was getting interference now it's working and on a 3000 delay
Is this a hardware issue? I am looking into debounce instead of delay
The float is automatic safety shut of for the relay (pump)