Update spotify documentation for application credentials (#22857)

This commit is contained in:
Allen Porter 2022-05-24 11:37:05 -07:00 committed by GitHub
parent 030d6cd3af
commit 9fa296092a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,29 +60,7 @@ before configuring Spotify.
Your Home Assistant 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> </div>
See [Application Credentials](/integrations/application_credentials) for instructions on how to configure your *Client ID* and *Client Secret*.
Add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
spotify:
client_id: YOUR_CLIENT_ID
client_secret: YOUR_CLIENT_SECRET
```
{% configuration %}
client_id:
description: Client ID from your Spotify Developer application.
required: true
type: string
client_secret:
description: Client Secret from your Spotify Developer application.
required: true
type: string
{% endconfiguration %}
Restart your Home Assistant instance before continuing with the next step.
## Using multiple Spotify accounts ## Using multiple Spotify accounts