From ed846d06a061af893e1293aee0f9e90e96d2ecf3 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Thu, 11 Oct 2018 21:03:51 +0200 Subject: [PATCH] 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. * :pencil2: Added 2 variables * :pencil2: Tweak --- source/_components/toon.markdown | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/source/_components/toon.markdown b/source/_components/toon.markdown index e516db9ce87..d5201873af0 100644 --- a/source/_components/toon.markdown +++ b/source/_components/toon.markdown @@ -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).