Optical or Float Sensor
PartInfrared LED + phototransistor detecting water level by light refraction, or mechanical float switch. A full specification article for this item is being written. Meanwhile its bill of materials and connections are below.