The physics are different in that. The water sensor isn’t carrying a charge.
Just buy a device which is designed for this purpose, that is, which already has dry contact points in it. It will be way easier and safer.
Also, Wyze sensors don’t work with smartthings. So, as always, the first rule of home automation applies: the model number matters.
Check the community FAQ for the list of devices that are already designed to accept external input and you should be good to go. They will have internal screw terminals, so you don’t have to solder anything or take the device apart the way the guy did in the video. You just open the case, and attach the wires.