📚 Update add-on documentation to use new YAML configuration format

This commit is contained in:
Franck Nijhof 2020-02-11 23:59:40 +01:00
parent bb93368d36
commit 13e56ddd1e
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -50,26 +50,23 @@ comparison to installing any other Hass.io add-on.
Example add-on configuration: Example add-on configuration:
```json ```yaml
{ log_level: info
"log_level": "info", process_info: false
"process_info": false, refresh_time: 10
"refresh_time": 10, ssl: false
"ssl": false, certfile: fullchain.pem
"certfile": "fullchain.pem", keyfile: privkey.pem
"keyfile": "privkey.pem", influxdb:
"influxdb": { enabled: false
"enabled": false, host: a0d7b954-influxdb
"host": "a0d7b954-influxdb", port: 8086
"port": 8086, username: glances
"username": "glances", password: "!secret glances_influxdb_password"
"password": "!secret glances_influxdb_password", database: glances
"database": "glances", prefix: localhost
"prefix": "localhost", interval: 60
"interval": 60, ssl: false
"ssl": false
}
}
``` ```
**Note**: _This is just an example, don't copy and paste it! Create your own!_ **Note**: _This is just an example, don't copy and paste it! Create your own!_