Hi, I’m using a sonos media_player. Before the introduction of Media Selector and the new Play media action in homeassistant 2022.3 I could access my favorites in templates with {{states.media_player.myradio.attributes.source_list}}.
The “source_list” has vanished so it doesn’t work any more. Now I would expect some kind of “media_source.myradio.favorites” call, but I couldn’t find anything in the documentation or comments.
Any help appreciated
Thanks in advance
Thanks for the reply. No, a select entity for Sonos does not exist. I presume the sourcelist query went to a more central point for the media selector and play media action, but if so, there is no documentation. Another possibility is the sonos integration is supposed to deliver a select entity, then this would be a bug.
that’s correct. that works for a single song/radio station/playlist.
But I need to access the whole list, e.g. for text2speech purposes to tell, what choice you have.
The app shows it similar to yours, the state_attr call fails as “source_list” does not exist.
I currently use the latest homeassistant version 2022.4.1. Which version do you use?