From 3b11c52f59a0d65a876a16f6beac1626351ff2c9 Mon Sep 17 00:00:00 2001 From: Phi Dong Date: Wed, 3 Oct 2018 01:28:20 -0700 Subject: [PATCH] Update xiaomi vacuum configuration (#6457) --- .../_components/vacuum.xiaomi_miio.markdown | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/source/_components/vacuum.xiaomi_miio.markdown b/source/_components/vacuum.xiaomi_miio.markdown index cc93a36c8ab..34f5ea169a4 100644 --- a/source/_components/vacuum.xiaomi_miio.markdown +++ b/source/_components/vacuum.xiaomi_miio.markdown @@ -40,11 +40,20 @@ vacuum: token: YOUR_TOKEN ``` -Configuration variables: - -- **host** (*Required*): The IP of your robot. -- **token** (*Required*): The API token of your robot. -- **name** (*Optional*): The name of your robot. +{% configuration %} + host: + description: The IP of your robot. + required: true + type: string + token: + description: The API token of your robot. + required: true + type: string + name: + description: The name of your robot. + required: false + type: string +{% endconfiguration %} ## {% linkable_title Platform Services %}