Totally new to home assistant, got it just to control speaker group volume by voice and managed to get that setup with the help of a post on here.
Now another issue I have is google seems to fail whenever casting a playlist to a speaker group. I figured I could create a script and add the scene into the routine for when I come home. That way the routine would include triggering the casting of my spotify playlist to my speaker group, instead of saying “Sorry, something went wrong. When you’re ready…”
I managed to create it, but it seems to setup a cast to the speaker group independent of spotify (default media player is shown as casting to my speaker group). And then spotify starts playing but on my device rather than on the speaker group.
So what I was doing is trying to use a similar method to create a scene in google home that I could add to routine.
So under configuration>automation and scenes I created a script first using call service media player play_media with the entity being my speaker group and then another action with the same except the entity was spotify.
The first action creates a connection to the speaker group with the source showing as default media player on google home, and the second plays spotify but off my phone rather than to the speaker group
I don’t have any local files on home assistant yet but I will give that a go thanks for your help