From 4d038bfa732a60ac655e3b4980ebb99f6c185039 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Wed, 17 Oct 2018 09:34:17 +0200 Subject: [PATCH] Update Orvibo component configuration variable (#6882) * Update Orvibo component configuration variable * Minor changes --- source/_components/switch.orvibo.markdown | 33 +++++++++++++++++------ 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/source/_components/switch.orvibo.markdown b/source/_components/switch.orvibo.markdown index 656bcd4a223..fb94b023439 100644 --- a/source/_components/switch.orvibo.markdown +++ b/source/_components/switch.orvibo.markdown @@ -34,11 +34,28 @@ switch: name: "My Socket" ``` -Configuration variables: - -- **discovery** (*Optional*): Whether to discover sockets. Defaults to `true`. -- **switches** (*Optional*): - - **host** (*Required*): IP address of your socket, eg. `192.168.1.10`. - - **mac** (*Optional*): MAC address of the socket, eg "AA:BB:CC:DD:EE:FF". This is required if the socket is connected to a different subnet to the machine running Home Assistant. - - **name** (*Optional*): Your name for the socket. - +{% configuration %} +discovery: + description: Whether to discover sockets. + required: false + default: true + type: boolean +switches: + description: A list of Orvibo switches. + required: false + type: list + keys: + host: + description: "IP address of your socket, e.g., 192.168.1.10." + required: true + type: string + mac: + description: "MAC address of the socket, e.g., `AA:BB:CC:DD:EE:FF`. This is required if the socket is connected to a different subnet to the machine running Home Assistant." + required: false + type: string + name: + description: Your name for the socket. + required: false + default: Orvibo S20 Switch + type: string +{% endconfiguration %}