From bae361992cbc063ac0770232b4ad7fa3e4ebddd0 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Sun, 7 Oct 2018 09:07:48 +0200 Subject: [PATCH] Update Thingspeak component configuration variable (#6568) Update style of Thingspeak component documentation to follow new configuration variables description. Related to #6385. --- source/_components/thingspeak.markdown | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/source/_components/thingspeak.markdown b/source/_components/thingspeak.markdown index 2336a597473..b18969ca64e 100644 --- a/source/_components/thingspeak.markdown +++ b/source/_components/thingspeak.markdown @@ -27,9 +27,17 @@ thingspeak: whitelist: sensor.yr_temperature ``` -Configuration variables: - -- **api_key** (*Required*): Your ThingSpeak Channel Write API key. -- **id** (*Required*): The ID of your desired ThingSpeak channel. -- **whitelist** (*Required*): The name of the entity whose states should be sent to the channel. - +{% configuration %} +api_key: + description: Your ThingSpeak Channel Write API key. + required: true + type: string +id: + description: The ID of your desired ThingSpeak channel. + required: true + type: integer +whitelist: + description: The name of the entity whose states should be sent to the channel. + required: true + type: string +{% endconfiguration %}