I've integrated a Denon AVR with Spotify Connect into my smarthome. I have some problems when this device was last used by another account. To fix that I have to select it as a source from any native app with my account and after that I can use it through the API.
Is there a way to guarantee it will always work even with the API? Is there an API call that I can do before selecting it as a source?