Help with Spotify

Hey all.

Probably simple but I need help getting my Spotify to play through any device? Once I can do that, I can then timnker.

I have the spotify account set up and have a media card as a test on the dash. I read the spotify config stuuf.

So does the media device part go in the configeration.yaml? and if so

# Example code to select an AV receiver as the output device
service: media_player.select_source
entity_id: media_player.spotify_spotify
data:
  source: "Workshop Speaker"

isnt liked by the config check