@Andrew_Gracie I’ve been looking at selecting profiles (it’s still on my list of things to do properly), but in doing so I’ve found a hack / workaround that may help you.
The api for selecting a profile uses the same browse api that I use for playing media.
So if you use the right browse path with the play_media
you can change profile!
Pyroon (and so HA) is unsophisticated in how it handles connections - so there is just one connection that is used globally - so changing the profile changes it for everything.
The following is an example that works (at least for me)