swa72 / home-assistant

14 stars 1 forks source link

Document Spotify on Echo dot; create UI with list of favorite playlists #66

Closed swa72 closed 2 years ago

swa72 commented 2 years ago

that does the trick for me

alias: Spotify background jazz
sequence:
  - service: media_player.play_media
    target:
      entity_id: media_player.spotify_swa72
    data:
      media_content_id: >-
        https://open.spotify.com/playlist/37i9dQZF1DXaIrEwuQ3hyy?si=887717bbbc1f46e9
      media_content_type: playlist
  - service: media_player.shuffle_set
    target:
      entity_id: media_player.spotify_swa72
    data:
      shuffle: true
  - service: media_player.media_next_track
    data:
      entity_id: media_player.spotify_swa72
mode: single
swa72 commented 2 years ago

Use spotify's webplayer to select a list, then share, copy link to playlist paste the url into the script

swa72 commented 2 years ago

alias: Spotify play random playlist sequence: