It’s literally a device designed to do exactly what I sometimes need (start an action if a circuit closes) and I just never thought about it even though I know how leak sensors work and that there are ones available. Duh!
Stuff like that is why I love HN. Thanks to the author if you’re reading.