Needing help with script (noob guy)

Hi there @Mariusthvdb, thank you for your input. I’m not actually using Option1 and Option2 it was just to simplify the post since they’re my country’s radio stations and they might not be understandable in english :slight_smile:

I have Option1 = 3 (well actually it’s the station’s name and not Option1) because I can’t find a way to tell my Samsung soundbar to play a specific stream, so I used the multiroom app to save the stations as favorites and they use 0,1 and 2 as presets and 3 onward as favorites.

My current solution is using this custom_component https://github.com/macbury/ha_samsung_multi_room to control basic functions (on/off/volume/source) and I created another entity based on this Chromecast Radio with station and player selection to send API commands on the network based on information I found on this thread Samsung Multiroom speakers :smiley:

I would like to merge both and possibly send a pull request to the custom component repository if I can make it happen