From 27ea3c41d934d85c70afbb2c8361d9fa1b477b9d Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Fri, 25 Sep 2020 22:23:58 +0200 Subject: [PATCH] Add Spotify instructions for multiple accounts (#14614) Co-authored-by: Klaas Schoute --- source/_integrations/spotify.markdown | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/source/_integrations/spotify.markdown b/source/_integrations/spotify.markdown index 5f6e0ba50e7..5cba5f98a95 100644 --- a/source/_integrations/spotify.markdown +++ b/source/_integrations/spotify.markdown @@ -36,7 +36,7 @@ To create the required Spotify application: - Click **Save** after adding the URI.
- Your Home Assitant instance does not need to be exposed to the internet. It works just fine with local IP addresses. + Your Home Assistant instance does not need to be exposed to the internet. It works just fine with local IP addresses.
## Configuration @@ -71,11 +71,26 @@ After you have set up the above: - Follow the steps shown to authenticate Home Assistant with your Spotify account.
- - If you receive an `INVALID_CLIENT: Invalid redirect URI` error while trying to authenticate with your Spotify account, make sure to check the Redirect URI in the address bar after adding the new integration. Compare this value with the Redirect URI defined in the Spotify Developer Portal. + + If you receive an `INVALID_CLIENT: Invalid redirect URI` error while trying to + authenticate with your Spotify account, make sure to check the Redirect URI in + the address bar after adding the new integration. Compare this value with the + Redirect URI defined in the Spotify Developer Portal.
+## Using multiple Spotify accounts + +The integration support multiple Spotify accounts at once. You don't need to +create another Spotify Application in the Spotify Developer portal and no +modification to the `configuration.yaml` file is needed. Multiple Spotify +accounts can be linked on a _single_ Spotify application. + +To add an additional Spotify account to Home Assistant, repeat _only_ the steps +in the [Activating the Spotify integration](#activating-the-spotify-integration) +chapter. However, make sure you go to the Spotify website and log out before +you do so. + ## URI Links for Playlists You can send playlists to Spotify using the `"media_content_type": "playlist"`, which are part of the