float switch

     

A float switch is a evice used to sense the level of liquid within a tank. The switch may actuate a pump, an indicator, an alarm, or other device.