[APP][Pro] Sonos (LocalAPI)

Case: I use a Homey script to retrieve all my favorite TuneIn stations and Spotify playlists via the local Sonos API. The result is a list of names, image URLs, and URIs.

It seems impossible to me to play music based on a URI.

I would like to use a Sonos card to play the TuneIn or Spotify URI. Is it technically possible to send the URI in a variable to a Sonos card to play the selected music?

I want to avoid having to create dozens of conditions in a flow to control a Sonos favorites card based on a playlist/TuneIn name, aside from maintenance such as changing favorites.

EDIT - better not this (only half of the favorites, the other half are favorite Spotify playlists):

Switching from TuneIn to Spotify (or back) doesn’t activate one of the cards below on my Sonos playbar. Or is my test wrong?