mirror of
https://github.com/hassio-addons/addon-mopidy.git
synced 2025-05-04 19:41:46 +00:00
📚 Update add-on documentation to use new YAML configuration format
This commit is contained in:
parent
e5ad0f2882
commit
17c43d143f
1 changed files with 20 additions and 39 deletions
59
README.md
59
README.md
|
@ -44,45 +44,26 @@ comparison to installing any other Home Assistant add-on.
|
|||
|
||||
Example add-on configuration:
|
||||
|
||||
```json
|
||||
{
|
||||
"settings": [
|
||||
{
|
||||
"name": "soundcloud/auth_token",
|
||||
"value": "1-1111-1111-11eeaswdf23"
|
||||
},
|
||||
{
|
||||
"name": "spotify/username",
|
||||
"value": "your@email.com"
|
||||
},
|
||||
{
|
||||
"name": "spotify/password",
|
||||
"value": "thesupersecretpassword"
|
||||
},
|
||||
{
|
||||
"name": "spotify/client_id",
|
||||
"value": "spotify-client-id"
|
||||
},
|
||||
{
|
||||
"name": "spotify/client_secret",
|
||||
"value": "spotify-client-secret="
|
||||
},
|
||||
{
|
||||
"name": "gmusic/username",
|
||||
"value": "username"
|
||||
},
|
||||
{
|
||||
"name": "gmusic/password",
|
||||
"value": "thesupersecretpassword"
|
||||
},
|
||||
{
|
||||
"name": "gmusic/deviceid",
|
||||
"value": "yodeviceid"
|
||||
}
|
||||
],
|
||||
"system_packages": [],
|
||||
"python_packages": []
|
||||
}
|
||||
```yaml
|
||||
settings:
|
||||
- name: soundcloud/auth_token
|
||||
value: 1-1111-1111-11eeaswdf23
|
||||
- name: spotify/username
|
||||
value: your@email.com
|
||||
- name: spotify/password
|
||||
value: thesupersecretpassword
|
||||
- name: spotify/client_id
|
||||
value: spotify-client-id
|
||||
- name: spotify/client_secret
|
||||
value: spotify-client-secret=
|
||||
- name: gmusic/username
|
||||
value: username
|
||||
- name: gmusic/password
|
||||
value: thesupersecretpassword
|
||||
- name: gmusic/deviceid
|
||||
value: yodeviceid
|
||||
system_packages: []
|
||||
python_packages: []
|
||||
```
|
||||
|
||||
### Option: `settings`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue