From 07983145fe2fd127778d144149c18763cefd0157 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Sat, 6 Oct 2018 13:42:11 +0200 Subject: [PATCH] Update Tado component configuration variable (#6545) Update style of Tado component documentation to follow new configuration variables description. Related to #6385. --- .../_components/device_tracker.tado.markdown | 19 ++++++++++++++----- source/_components/tado.markdown | 14 ++++++++++---- 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/source/_components/device_tracker.tado.markdown b/source/_components/device_tracker.tado.markdown index 70f130c7e01..db808501a58 100644 --- a/source/_components/device_tracker.tado.markdown +++ b/source/_components/device_tracker.tado.markdown @@ -27,11 +27,20 @@ device_tracker: home_id: YOUR_HOME_ID ``` -Configuration variables: - -- **username** (*Required*): The username for your Tado account. -- **password** (*Required*): The password for your Tado account. -- **home_id** (*Optional*): The id of your home of which you want to track devices. If provided, the Tado device tracker will tack *all* devices known to Tado associated with this home. See below how to find it. +{% configuration %} +username: + description: The username for your Tado account. + required: true + type: string +password: + description: The password for your Tado account. + required: true + type: string +home_id: + description: The id of your home of which you want to track devices. If provided, the Tado device tracker will tack *all* devices known to Tado associated with this home. See below how to find it. + required: false + type: integer +{% endconfiguration %} After configuration, your device has to be at home at least once before showing up as *home* or *away*. Polling Tado API for presence information will happen at most once every 30 seconds. diff --git a/source/_components/tado.markdown b/source/_components/tado.markdown index 386db0de0d1..cfb7294289c 100644 --- a/source/_components/tado.markdown +++ b/source/_components/tado.markdown @@ -24,10 +24,16 @@ tado: password: YOUR_PASSWORD ``` -Configuration variables: - -- **username** (*Required*): Username for my.tado.com. -- **password** (*Required*): Password for my.tado.com. +{% configuration %} +username: + description: Username for my.tado.com. + required: true + type: string +password: + description: Password for my.tado.com. + required: true + type: string +{% endconfiguration %} The tado thermostats are internet connected thermostats. There exists an unofficial API at [my.tado.com](https://my.tado.com/webapp/#/account/sign-in), which is used by their website and now by this component.