Use Nano switch to bathroom cabinet IR Switch

Hi. I'm about to install a new bathroom cabinet that has an IR sensor switch on its base to work the LED light on the doors. I would like to add in the following z-wave switch to replace the IR button, so i can automate with another motion sensor in the bathroom. How do I wire this?


Download the Hubitat app