Sonos/Roon Pause/Play toggle

Hi
I have a Sonos based setup where I sometimes use Roon to play via AirPlay on the Sonos speakers.
I would like to have a physical button from where I can control Sonos, and the first example would be a “Play/Pause” toggle.
I am testing via the Developer Tools where I find the “media_player.media_play_pause” service and choose the Sonos device as the target…
This all works great as long as I play a tune from the Sonos App… yet when I play via Roon (AirPlay) it can pause, but not resume…
I also tried with the “media_player.volume_mute” where it also mutes just fine, but cannot unmute again…
Now I am sure that I could do this via the Roon plugin, yet I am not sure if it is Roon or Sonos playing…
So… this may be some king of complex script that has to figure out what is playing in order to pause it on the correct source… (Roon or Sonos or some other AirPlay device)…

Am I the only one having this issue? And has it been solved by anyone yet? :wink:

Suggestions are very welcome…