Just switched all of my devices from ST to HE (84 of them). In St I was able to group switches and Sonos so that I could say to Alexa “Turn on Great Room” and the appropriate lights turned on as did my Sonos Speakers in that room.
I would create a Scene in the Groups and Scenes app. This creates a virtual switch with the Scene name that can adjust multiple switches/dimmers/bulbs when it is toggled.
You can then share that virtual switch with the Alexa skill as well as operating it from Dashboards and other apps.
Then, I would write a Rule Machine rule that is triggered by events on the virtual switch from the Scene and do other actions in response, like operating your Sonos devices.
I want to be able to toggle the room on and off (both lights and music). With your help I think I’ve got it now. I had to make two different rules triggered by whether a switch in the room was on or off in the scene.