A float fitted with a magnet switches a reed chain within the guide tube; the chain is connected as a potentiometer with resistances.