BUT if say one of the Alexas is currently playing music at say, volume 0.4, the above flow now forces that volume to 0.8 once the Alexa returns to playing music.
What I would like to do is properly capture the volume of any Alexa that is “playing” prior to setting the volume and making the announcement, then be able to return that volume to those Alexas.
Another suggestion, I didn’t try it with media players but creating a scene on the fly and applying the scene later works very good with lights in these scenarios.
in your case you need to create a temporary scene before the announcement, increase volume, do your stuff and re-apply the scene you created finally. it will theoretically bring back the media players previous state.