Water level sensor modules are typically minified conductivity liquid level sensors. They primarily use variable resistance to ascertain the level of water inside a container. The principle at the rear of magnetic, mechanical, cable, and various float level sensors generally will involve the opening or closing of the mechanical swap, https://controltechme.com/ultrasonic-level-sensor/