From 17c43d143f43ffbd8d3ab2c941e96eb24e9ec9e9 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 15 Feb 2020 13:31:00 +0100 Subject: [PATCH] :books: Update add-on documentation to use new YAML configuration format --- README.md | 59 +++++++++++++++++++------------------------------------ 1 file changed, 20 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index 3121c0c..327d14e 100644 --- a/README.md +++ b/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`