Sensor with plug for electronic anti-flood valve HL710.2EPC, HL712.2EPC, HL715.2EPC