The Kobold level switch model NSM is reasonably-priced float switch design.
The float comprises a hollow cylinder or a ball with integrated microswitch. The switch is supplied as a changeover contact; it can be connected as a N/O contact or N/C contact as an option.
The contact switches when the liquid passes above or below the horizontal float position.
The switch point is set either by the side installation at the desired height, clamping at the desired level or when installed from the top weights attached to the cable.