It's possible to easily play a Spotify playlist with the scene service

Not sure this goes here. Not sure whether this has been documentated already either. It’s possible to play a spotify playlist easily with the scene service. Example:

- service: scene.apply
  data:
    entities:
      media_player.spotify:
        state: playing
        media_content_type: playlist
        media_content_id: spotify:playlist:45nn32nMJKe2jke2kj2kDKknw
        source: Speaker

I’ve been able to run the source call alongside the playlist which makes it a lot more convenient than calling two services (select_source and play_media)

I have not managed to get the shuffle to work though

2 Likes

how do you integrate this code into a scene?