mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 22:06:50 +00:00
Update spotify documentation for application credentials (#22857)
This commit is contained in:
parent
030d6cd3af
commit
9fa296092a
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user