Created
July 20, 2025 21:19
-
-
Save jeffehobbs/c73855c7d496eb81c31aff6b73e0f938 to your computer and use it in GitHub Desktop.
How to get the media_ids of all your Sonos Favorites in Home Assistant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for media_id, name in state_attr("sensor.sonos_favorites", "items").items() %} | |
{{ name, media_id }} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment