This electric diagram is the simplest. A motor protector, a circuit breaker, an AC contactor, and a float switch form an automatic water supply circuit diagram.
Connect one of the two wires of the float switch to the power supply, and one wire to the motor protector. The other wire from the motor protector is connected to the AC contactor coil, and the other end of the coil is connected to the power supply. The main circuit connects the motor stator wire to the protector to protect the motor.