Water Leak Sensor To Turn Off Outlet

How can I set a water leak sensor to turn off a outlet?

I have a Levitron outlet set up on my washing machine and want the water leak sensor to turn it off it it discovers a leak.

In Smart Home Monitor, under leaks, select the moisture sensor(s) you want to use, then under switches select the outlet you want to turn off.

Bingo, that should do the trick. I will have to move the washing machine tomorrow to test the sensor and report back.