if I understand your question correctly - it's the same one I tripped over. Virtual switches shared to Alexa via the Amazon Echo Skill don't actually work. However, Contacts do. so the trick is to use a virtual switch that has contacts as well.
I wrote my own switch/contact based on another users work
or - this is noted to work as well
I have a few virtual switches in play - for snapshot a camera, ring my doorbell and flash my lights - all items that don't connect to Alexa but do connect to HE, but I can still control their on/off state with voice. Hope that helps!