Run the cable and tines outside to a place where rainwater puddles quickly?
Water leak / flood sensor…