Update Dlink switch component configuration variable (#6693)

* Update Dlink switch component configuration variable

Update style of Dlink switch component documentation to follow new configuration variables description.
Related to #6385.

* ✏️ Tweak
This commit is contained in:
Klaas Schoute 2018-10-11 20:37:27 +02:00 committed by Franck Nijhof
parent e8f962fa7d
commit 6cc2e8189e

View File

@ -32,11 +32,29 @@ switch:
password: YOUR_PASSWORD password: YOUR_PASSWORD
``` ```
Configuration variables: {% configuration %}
host:
- **host** (*Required*): The IP address of your D-Link plug, eg. http://192.168.1.32 description: "The IP address of your D-Link plug, e.g., http://192.168.1.32"
- **name** (*Optional*): The name to use when displaying this switch. required: true
- **username** (*Required*): The username for your plug. Defaults to `admin`. type: string
- **password** (*Required*): The password for your plug. Default password is the `PIN` included on the configuration card. name:
- **use_legacy_protocol** (*Optional*): Enable limited support for legacy firmware protocols (Tested with v1.24). description: The name to use when displaying this switch.
required: false
default: D-link Smart Plug W215
type: string
username:
description: The username for your plug.
required: true
default: admin
type: string
password:
description: The password for your plug.
required: true
default: The default password is the `PIN` included on the configuration card.
type: string
use_legacy_protocol:
description: Enable limited support for legacy firmware protocols (Tested with v1.24).
required: false
default: false
type: boolean
{% endconfiguration %}