the float does not look like it is centred under the white 'pan', is there a lever attached to the float, usually a blue, black or white lever (stick), pointing upwards.
the lever could be wedged between the float and the microswitch.
careful, the floats do easily break up especially if they...