Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106430

Spotify Source Aliases

$
0
0

I am running into an issue that I have been unable to figure out. Specifically with the Spotify integration, the source list contains a mix of human readable names and GUIDs:

HA_Sources

I have determined from the Spotify web client, that the GUIDs line up with my Amazon Echo devices, and in Spotify they have names like “Echo Dot”, etc.

Is there a functional way to alias the GUID to the friendly name? I have tried to customize in my customize.yaml as so (with and without hyphens), but so far no dice:

    media_player.spotify_neonrage:
      aliases:
          6131b17a-8905-46dc-8c80-43d8945295e7: 'Test'

This is how the device shows up in the entity_registry:

           {
                "entity_id": "media_player.spotify_neonrage",
                "config_entry_id": "ccca36157ae5f350a3601f5c0de5227c",
                "device_id": "25ec635c4a68a96e73a7da5ccf4986de",
                "area_id": null,
                "unique_id": "neonrage",
                "platform": "spotify",
                "name": null,
                "icon": null,
                "disabled_by": null,
                "capabilities": {
                    "source_list": [
                        "Everywhere",
                        "Web Player (Chrome)",
                        "6131b17a-8905-46dc-8c80-43d8945295e7",
                        "89168427-4e7b-4a4f-90db-824dc9a0d169",
                        "DESKTOP-2SGBDU4"
                    ]
                },
                "supported_features": 444983,
                "device_class": null,
                "unit_of_measurement": null,
                "original_name": "Spotify neonrage",
                "original_icon": "mdi:spotify"
            },

Thank you for any assistance!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106430

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>