Water Leak sensor and ESPHome - False Positive

Dear Community,
I am struggling trying to connect a Water Leak sensor to Home Assistant trough ESPHome.
The sensor gives false positives on smart things appearing as wet.
Did I do some mistake in the configuration?
The sensor is connected to my 6-Zone Konnected Alarm Panel With Siren Output in this way:
VCC = Zone 4 (Set as switch always ON)
GND = G
DO = Zone 5 (set as binary sensor)