Kill washing machine power if leak detected?
Long time listener, first time caller. I’ve got an old shitty [Kenmore washer dryer](http://htmlsitecreator.info/wp-content/uploads/2018/04/sears-washer-and-dryer-sale-washer-dryer-for-se-in-great-stacking-astonishing-0-kenmore-washer-dryer-pedestals-on-sale-kenmore-washer-dryer-sales.jpg) that’s pretty reliable other than that it leaks not-infrequently. Rather than upgrade (bye, $2000!) I’m wondering if I can hook up a rig that kills power to the unit if a leak is detected.
The unit has a four prong [plug like this](https://share.icloud.com/photos/0rAm8zbS-90loC_VKI4eZL5KA#Home). So far I’m thinking I could:
- Run the power cord through a killswitch like this: https://aeotec.com/outdoor-z-wave-switch
- Get a leak detector like this: https://aeotec.com/z-wave-water-sensor
- Make them talk to each other via IFTTT or something
- Success!(?)
So I have, like, a few hours of internet research and maybe the makings of a plan here, but not an actual plan. Would what I’m proposing work? What else would I need to buy or know? Is there a better/easier way?
Thanks in advance for your help!
EDIT: There’s a lot of great info to process in these replies but THANK YOU! You all are awesome. Really appreciate the points in the right direction.