From f351e5f4dcf4405e11edb4e3e022a13c87f15529 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Fri, 5 Oct 2018 18:08:35 +0200 Subject: [PATCH] Update Velux component configuration variable (#6533) Update style of tesla component documentation to follow new configuration variables description. Related to #6385. --- source/_components/tesla.markdown | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/source/_components/tesla.markdown b/source/_components/tesla.markdown index f912af94f82..c004585e369 100644 --- a/source/_components/tesla.markdown +++ b/source/_components/tesla.markdown @@ -33,8 +33,18 @@ tesla: password: YOUR_PASSWORD ``` -Configuration variables: - -- **username** (*Required*): The email address associated with your Tesla account. -- **password** (*Required*): The password for your given Tesla account. -- **scan_interval** (*Optional*): API polling interval. Minimal value can't be less then 300. (Defaults 300) +{% configuration %} +username: + description: The email address associated with your Tesla account. + required: true + type: string +password: + description: The password associated with your Tesla account. + required: true + type: string +scan_interval: + description: API polling interval. Minimal value can't be less then 300. + required: false + default: 300 + type: integer +{% endconfiguration %}