Spotcast - custom component to start playback on an idle chromecast device

It works too with Google Devices?

@cediqqu
Not for sure on that, as I do not own any Google devices.

You would just have to try it.

action: spotcast.start
data:
  limit: 20
  force_playback: false
  random_song: false
  repeat: "off"
  shuffle: false
  offset: 0
  ignore_fully_played: false
  entity_id: media_player.ruimte1
  uri: spotify:playlist:37i9dQZF1DWWn9pcJIAKFl?si=d64afee1ee1347c7
  country: BE
  start_volume: 40

gives me “Failed to perform the action spotcast.start. Could not find spotify media player.” What am I doing wrong ?

I will try :wink: thanks for your work!!

I am not sure if I am missing something. But I have a few buttons on my dashboard to start playing music on specific speakers or speaker groups (Chromecast).
Using this:

    tap_action:
      action: call-service
      service: spotcast.start
      data:
        entity_id: media_player.sovrum
        category: Chill
        country: SE
        random_song: true
        shuffle: true
        repeat: track
      target: {}

But for some reason it does not start playing, I can hear it connecting to the Chromecast audio device, but it is not sending a play command. So it does seem to send the correct playlist to the speaker but not playing it?