Another option would be to wire the float switch to a relay, and then take a contact from the relay and run the solenoid power through it. You could also take a contact from that relay and wire it to your controller for float switch status.
I would also think about putting a max timer for the...