After waiting for too long for Wyze to come out with something, I took the advice from people here, as well as a couple Youtube videos, and came up with this.
This one is meant for a spot where I don’t expect a huge flood, but just a slow, constant leak.
For places that can really flood, I will make the wires much longer, and hang the actual Wyze sensor on a wall about 1-2 feet up off the ground.