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

This commit is contained in:
Franck Nijhof 2020-02-12 00:15:27 +01:00
parent 89698380c0
commit dbef3e81b1
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -59,33 +59,29 @@ comparison to installing any other Hass.io add-on.
Example add-on configuration: Example add-on configuration:
```json ```yaml
{ culture: en
"culture": "en", currency: USD
"currency": "USD", entry_page: stock
"entry_page": "stock", features:
"features": { batteries: true
"batteries": true, calendar: true
"calendar": true, chores: true
"chores": true, equipment: true
"equipment": true, recipes: true
"recipes": true, shoppinglist: true
"shoppinglist": true, tasks: true
"tasks": true tweaks:
}, chores_assignment: true
"tweaks": { multiple_shopping_lists: true
"chores_assignment": true, stock_best_before_date_tracking: true
"multiple_shopping_lists": true, stock_location_tracking: true
"stock_best_before_date_tracking": true, stock_price_tracking: true
"stock_location_tracking": true, stock_product_opened_tracking: true
"stock_price_tracking": true, log_level: info
"stock_product_opened_tracking": true ssl: false
}, certfile: fullchain.pem
"log_level": "info", keyfile: privkey.pem
"ssl": false,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
}
``` ```
**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!_