+2 for the relay. I use a float switch and relay on my ATO that uses an aqualifter to pump water to the tank. Better not to have any chance of line voltage in the water. I didn't notice that this was putting line voltage through the float switch when I first read the post. This adds a little to the cost because you need a relay and 12V transformer but is much safer.