From 75300e20817c25744e809c3d1edf70301798a031 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Wed, 17 Oct 2018 23:18:58 +0200 Subject: [PATCH] Update Edimax switch component configuration variable (#6891) * Update Edimax switch component configuration variable * :pencil2: Added default name --- source/_components/switch.edimax.markdown | 28 +++++++++++++++++------ 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/source/_components/switch.edimax.markdown b/source/_components/switch.edimax.markdown index 06f58328a49..7a6611d77ba 100644 --- a/source/_components/switch.edimax.markdown +++ b/source/_components/switch.edimax.markdown @@ -24,10 +24,24 @@ switch: host: 192.168.1.32 ``` -Configuration variables: - -- **host** (*Required*): The IP address of your Edimax switch, eg. `192.168.1.32`. -- **username** (*Optional*): Your username for the Edimax switch. Defaults to `admin`. -- **password** (*Optional*): Your password for the Edimax switch. Defaults to `1234`. -- **name** (*Optional*): The name to use when displaying this switch. - +{% configuration %} +host: + description: "The IP address of your Edimax switch, e.g., `192.168.1.32`." + required: true + type: string +username: + description: Your username for the Edimax switch. + required: false + default: admin + type: string +password: + description: Your password for the Edimax switch. + required: false + default: 1234 + type: string +name: + description: The name to use when displaying this switch. + required: false + default: Edimax Smart Plug + type: string +{% endconfiguration %}