This sensor just isn't intended to be entirely submerged. So, when installing it, Be sure that just the exposed traces to the PCB occur into contact with the water. Optical level sensors function by changing light rays into electrical signals. They evaluate a Bodily part of mild then translate it https://controltechme.com/ultrasonic-level-sensor/