Add Spotify instructions for multiple accounts (#14614)

Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
This commit is contained in:
Franck Nijhof 2020-09-25 22:23:58 +02:00 committed by GitHub
parent 1a17d1c20f
commit 27ea3c41d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ To create the required Spotify application:
- Click **Save** after adding the URI.
<div class='note'>
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.
</div>
## Configuration
@ -72,10 +72,25 @@ After you have set up the above:
<div class='note'>
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.
</div>
## 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