Abstract: The device is of the type comprising a magnet carried by a float and a magnetically actuable electric contact carried by a support element which also performs the function of guarding the float. The most important characteristic of the device is that of providing positioning means which maintain the float constantly centered with respect to the support element during excursions of this latter caused by the hydrostatic thrust exerted by the liquid.