mirror of
https://github.com/hassio-addons/addon-mopidy.git
synced 2025-05-05 20:11:22 +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:
|
Example add-on configuration:
|
||||||
|
|
||||||
```json
|
```yaml
|
||||||
{
|
settings:
|
||||||
"settings": [
|
- name: soundcloud/auth_token
|
||||||
{
|
value: 1-1111-1111-11eeaswdf23
|
||||||
"name": "soundcloud/auth_token",
|
- name: spotify/username
|
||||||
"value": "1-1111-1111-11eeaswdf23"
|
value: your@email.com
|
||||||
},
|
- name: spotify/password
|
||||||
{
|
value: thesupersecretpassword
|
||||||
"name": "spotify/username",
|
- name: spotify/client_id
|
||||||
"value": "your@email.com"
|
value: spotify-client-id
|
||||||
},
|
- name: spotify/client_secret
|
||||||
{
|
value: spotify-client-secret=
|
||||||
"name": "spotify/password",
|
- name: gmusic/username
|
||||||
"value": "thesupersecretpassword"
|
value: username
|
||||||
},
|
- name: gmusic/password
|
||||||
{
|
value: thesupersecretpassword
|
||||||
"name": "spotify/client_id",
|
- name: gmusic/deviceid
|
||||||
"value": "spotify-client-id"
|
value: yodeviceid
|
||||||
},
|
system_packages: []
|
||||||
{
|
python_packages: []
|
||||||
"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`
|
### Option: `settings`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue