Heyy I’m new to the party, so please have a bit understanding
I’m trying to start a Spotify Playlist with a button. It should play on the device “schlafzimmer”. I made following code but it won’t work. Any advice ? Thx in advance!!
replace ‘data’ with ‘service_data’
unindent ‘entity_id: media_player.spotify’ and remove ‘_id’
replace ‘playlist’ by ‘spotify://playlist’
replace Spotify URL by URI (find URL in spotify and hold Ctrl key before copying link)
Maybe I’m wrong but I noticed that this service works best with “Google Cast Group” media models instead of others like ‘Nest Hub’ or ‘Nest Audio’ ones
So, open your Google Home app on your mobile, create a Group (let’s call it ‘Bedroom’) even with a single device : your google nest.
Then, on Home Assistant, go to ‘Settings/Integration/Google Cast’ and you’ll see a ‘Bedroom’ device with ‘Google Cast Group’ as model and ‘media_player.bedroom’ as entity_id
replace ‘media_player.schlafzimmer’ with ‘media_player.bedroom’ in your yaml button card code