Another possible solution would be to use the same method that is used on washing machines to control the fill level. They use a pressure switch which is triggered by the air pressure in a pipe which connects near the bottom of the drum. As water enteres the drum it tries to force it's way up the pipe which increases the air pressure in the pipe. The presuure switch operates without the water coming in contact with the pressure switch just by the increase of air pressure in the pipe. Most of these pressure switches seem to have two sets of contacts that operate at different pressures so that two different fill levels can be selected. (Or maybe one is to confirm the water has been pumped out.)
Les.
Les.