#Play Spotify on specific device - android phone?
1 messages · Page 1 of 1 (latest)
post the yaml of the automation you have so far.
remember to encase in triple backticks for a code block
data:
source: Kiwi's S21 Ultra
target:
entity_id: media_player.spotifyplus_kiwibox```
```action: media_player.play_media
target:
entity_id: media_player.spotify_kiwibox
data:
media_content_id: spotify:playlist:xxx
media_content_type: spotify://playlist
metadata:
title: My Playlist
thumbnail: >-
https://image-cdn-ak.spotifycdn.com/image/xxx
media_class: playlist
children_media_class: track
navigateIds:
- {}
- media_content_type: spotify://current_user_playlists
media_content_id: current_user_playlists```
think i blocked it wrong ;[
oh there we go
ah so its just a spotify integration your sending "play" to. i guess it picks a "default". have you tried setting it all up through music assistant? you might be able to get better control that way?
hmm, not sure what music assistant is yet. literally just isntalled HA like 2 hours ago and have been trying to get this to work with spotify
i feel like its because my phone disappears from spotify's device list after some time
because it works when i have it playing on my phone and test it back it forth
music assistant is an addon which handles all music stuff very nicely
yeah i imagine its dropping off and then spotify defaults to what i knows until you open the app which puts it back to the top of its list
ah i just found music assistant and tried installing the integration but it said "failed to connect"
there is the "addon" and the "integration"
the integration connects to the addon
how do you have home assistant installed?
i have home assistant yellow box
cool, so your using haos
setting -> addons
then add-on store
and music assistant server should be an option to install
ok i see it
once its installed it should pop up to add on the integration page
ok cool
this graphic gives you an idea of what it does 🙂
the page has alot of documentation - https://www.music-assistant.io/
Music Assistant is a music library manager for local and streaming providers
oof my head is spinning haha
you should be able to add spotify as a "source"
music assistant is a large tool with a lot of options
i havent done it but you can use "spotify connect" to connect any media player you can integrate within home assistant back to spotify as a media target. so if you have something thats not spotify compatable but it is HA compatable then HA will make it spotify compatable
they also have their own discord
https://discord.gg/uHqqXNtn
if you have specific questions they may know more.
basically, Music Assistant is the way to do music stuff from HA these days
welcome to the addictive hobby that is home assistant btw 🙂
hehe thanks