Sonoff DW2 WIFI, not compatible with ST

This is a workaround for the issue. I am using Alexa. On ST, It crated an Alexa Virtual Switch. In on the Alexa side it Switch and the same switch on ST crate a virtual contact sensor. Here is the device handler.
It just a create a routine on Alexa using Sonoff Dw2 WIFi as trigger and on the action use the alexa virtual sw created in ST. It cheesy but work.