Spotify - select source from script not working

I have a script to set the source, will be more functional later. But first all i want to to is select the source from within a script. I tried the command from developer console and were able to set source for media player.spotify. But hen trying from a script nothing happens, no idea why.

Here is the script
> spotify_scene_party:

  alias: "Spotify - Party"
  sequence:
    - service: media_player.select_source
      data:
        entity_id: media_player.spotify
        source": 'Skydot\ Living'

No errors in hass, just nothing happens

Has anyone an idea why it is not working?

(Code Highlighter did not work, that´s why it looks crappy)

This doesn’t look right to me :stuck_out_tongue:

You are right, the \ is from one of my tests, forget to removed it before posting.

I was thinking more of the space and the "

1 Like

Oh shit, you are right, how could i miss that? :scream: