Update Toon component configuration variable (#6692)

* Update Toon component configuration variable

Update style of Toon component documentation to follow new configuration variables description.
Related to #6385.

* ✏️ Added 2 variables

* ✏️ Tweak
This commit is contained in:
Klaas Schoute 2018-10-11 21:03:51 +02:00 committed by Franck Nijhof
parent 6577daf37f
commit ed846d06a0

View File

@ -26,10 +26,26 @@ toon:
password: YOUR_PASSWORD
```
Configuration variables:
- **username** (*Required*): Username for Mijn Eneco.
- **password** (*Required*): Password for Mijn Eneco.
{% configuration %}
username:
description: Username for Mijn Eneco.
required: true
type: string
password:
description: Password for Mijn Eneco.
required: true
type: string
gas:
description: With this option you can choose whether you want to measure gas consumption.
required: false
default: true
type: boolean
solar:
description: With this option you can choose whether you want to measure electricity production.
required: false
default: false
type: boolean
{% endconfiguration %}
Toon is a smart thermostat delivered by the Eneco power company in The Netherlands. It can measure energy consumption (power and gas), but also the amount of energy generated in case solar panels are connected to it. Toon also acts as a z-wave hub for supported devices like the wall plug and the smoke detector. This component uses the [toonlib library](https://github.com/costastf/toonlib) by Costas Tyfoxylos that connects to the unofficial API on [https://toonopafstand.eneco.nl](https://toonopafstand.eneco.nl).