Hey community!
This is the first time I’m setting up Home Assistant: I’m already very excited and can see the applications.
What I’m trying to solve for: I have Sonos speakers everywhere in the house and am looking to add a media player card that can link to Spotify (i.e. so you don’t need to start from Spotify to start playing music). For absolute clarity, I am connected to Spotify already through all the initial steps. I followed the instructions from Smart Home Junkie (https://www.youtube.com/watch?v=UBTM4VB-bYc&t=126s) but am getting stuck at the point where he’s code editing directly in the Mini Media Player card configuration.
See exactly what I I typed out below:
shortcuts:
columns: 3
buttons:
- name: Favorites
type: service
id: spotcast.start
data:
device_name: Kitchen
uri: spotify:playlist:7Fb6QD…[redacted]
random_song: true
shuffle: true
When I try to run the Favorites, it gives me the following error: “Failed to perform the action spotcast/start. Could not find device with name Kitchen”
When I look up Settings > Devices & Services > Devices I do see my Device Kitchen (with a Sonos logo next to it). However, I have a Hue light as well that is named Kitchen.
My question is broadly what am I doing wrong, and does this have something to do with having two devices with the same name, despite them being two very different products?
