Virtual Switches and Alexa App

I think the trick you need is to use a virtual contact switch.
I wrote a custom switch that ties open/closed contact to on/off which works perfect for me.