From 5030fc0f1c1f466a015ffd197a22269c55a174bc Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Sat, 6 Oct 2018 13:43:36 +0200 Subject: [PATCH] Update Smappee component configuration variable (#6547) Update style of Smappee component documentation to follow new configuration variables description. Related to #6385. --- source/_components/smappee.markdown | 34 ++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/source/_components/smappee.markdown b/source/_components/smappee.markdown index c91c9d0f59c..846fd2e33ef 100644 --- a/source/_components/smappee.markdown +++ b/source/_components/smappee.markdown @@ -49,11 +49,29 @@ smappee: password: YOUR_MYSMAPPEE_PASSWORD ``` -Configuration variables: - -- **host** (*Optional*): Your Local Smappee unit IP. -- **host_password** (*Optional*): Your Local Smappee password. -- **client_id** (*Optional*): Your Smappee API client_id. -- **client_secret** (*Optional*): Your Smappee API client_secret. -- **username** (*Optional*): Your My Smappee username. -- **password** (*Optional*): Your My Smappee password. +{% configuration %} +host: + description: Your Local Smappee unit IP. + required: false + type: string +host_password: + description: Your Local Smappee password. + required: false + type: string +client_id: + description: Your Smappee API client_id. + required: false + type: string +client_secret: + description: Your Smappee API client_secret. + required: false + type: string +username: + description: Your My Smappee username. + required: false + type: string +password: + description: Your My Smappee password. + required: false + type: string +{% endconfiguration %}