Glad it worked out for you. There are numerous uses for virtual devices and using them as triggers for voice assistants from ST as well as what you have working. I use them a lot to issue Alexa custom actions to set state on devices where the setting isn’t available in ST, but is available in an Alexa skill. I also use them to play messages via an Echo device when certain actions occur in ST.
The vEdge Creator from @TAustin also offers a variety of different types of virtual devices beyond just switches.