Is there a way to stop track from playing midway? (on Sonos device)

Hi all,

I tried the Run Custom Action to play a mp3 song hosted on Hubitat's File Manager.

Added a Delay 0 sec to it, and toggled on Cancelable.

Added condition that a Virtual Switch must be on for song to play.

After playing, there seems no way to pause/stop the mp3, even if Virtual Switch is off.

Tried muting/pausing/stopping at Device Commands page fail too bring a stop to the song once it is played.

Am I missing something here? Appreciate some guidance please. Thank you.

image