Play Spotify track on echo dot

Ah I see now, I somehow overread that you are using media_player.echo_dot_sala instead of media_player.spotify.

You need to add another action before your “play media” action, that selects the source in the spotify media player. Something like this:

  action:
    - service: media_player.select_source
      data:
        entity_id: media_player.spotify
        source: "Name of your echo dot in the spotify sources"
    - service: media_player.play_media
      data:
        entity_id: media_player.spotify
        media_content_type: "music"
        media_content_id: "spotify:track:6jjDlCd8d5qBWTFU6t11g2"

The name of the source can be found when you click on the spotify media player:

image

4 Likes