From 13e56ddd1ea4258de86bcaa6ad2d7396e546606c Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 11 Feb 2020 23:59:40 +0100 Subject: [PATCH] :books: Update add-on documentation to use new YAML configuration format --- README.md | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index cf9aebe..63361a2 100644 --- a/README.md +++ b/README.md @@ -50,26 +50,23 @@ comparison to installing any other Hass.io add-on. Example add-on configuration: -```json -{ - "log_level": "info", - "process_info": false, - "refresh_time": 10, - "ssl": false, - "certfile": "fullchain.pem", - "keyfile": "privkey.pem", - "influxdb": { - "enabled": false, - "host": "a0d7b954-influxdb", - "port": 8086, - "username": "glances", - "password": "!secret glances_influxdb_password", - "database": "glances", - "prefix": "localhost", - "interval": 60, - "ssl": false - } -} +```yaml +log_level: info +process_info: false +refresh_time: 10 +ssl: false +certfile: fullchain.pem +keyfile: privkey.pem +influxdb: + enabled: false + host: a0d7b954-influxdb + port: 8086 + username: glances + password: "!secret glances_influxdb_password" + database: glances + prefix: localhost + interval: 60 + ssl: false ``` **Note**: _This is just an example, don't copy and paste it! Create your own!_