Hi, I searched in the forum and i cannot find the correct syntax. This is my configuration.yaml file:
media_player:
- platform: spotify
client_id: XXXXX
client_secret: YYYYYY
- service: media_player.select_source
data:
entity_id: media_player.spotify
source: "clazio"
- service: media_player.play_media
data:
entity_id: media_player.spotify
media_content_type: playlist
media_content_id: spotify:user:TTTTTT:playlist:ZZZZZZZZZZZ
and I have errors when checking the configuration.
I tried without the data:
If I only use this code:
media_player:
- platform: spotify
client_id: XXXXX
client_secret: YYYYYY
it works perfectly but I would like to have playlists.
Any clue on where is the problem ?
Thanks for your help