Hi,
When on the go, I often listen to music via headphones connected to my mobile phone.
And whenever I arrive home, I navigate through the Spotify app on my phone just to select a different device located in my home to continue listening there.
Now I would like to automate this process, by creating a script in HASS which allows me to trigger it via press of a button or via a nfc tag.
at the moment, that works via the media_player.spotify entity, which allows me to switch the source of the currently playing playlist/song to the desired source. but i want to automate this process by triggering it via http post command e.g…
How can I approach this ideally? I just don’t see a way how to set up an according script as they require me to specify a playlist/song to play instead of the “currently playing” playlist.