Or another option: Made a Water Leak Sensor Especially nice if you find them on sale.
It’s an open close sensor, so it isn’t waiting for one signal or the other. And you can edit the device type to have it say whatever you want when it’s open/closed.