Seeley Magiqtouch integration into Smartthings?

So I got an alexa, I use a virtual contact sensor with switch and use a routine to turn my Magiqtouch on and off - you can automate it in alexa too btw, depending on the temperature etc. :

Use that sensor to automate the on / off process in the routine