CoRE can do this.
Just create pistons for each location you want targets.
If Leak Sensor A detects a leak, turn off Valve A.
If Leak Sensor B detects a leak, turn off Valve B.
You can also have push notifications and texts sent, lights flash, or whatever else might be needed to get your attention (siren maybe?).