The output value of the sensor relies on don't just the water level but also the water's conductivity. The pure water is not conductive. The water is made up of minerals and impurities is conductive. Water level sensors are Employed in flood warning methods to monitor the water level in https://controltechme.com/ultrasonic-level-sensor/