home-assistant.io/source/_components/switch.dlink.markdown
Klaas Schoute 6cc2e8189e 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
2018-10-11 20:37:27 +02:00

1.5 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_iot_class, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_iot_class ha_release
page D-Link Switch Instructions on how to integrate D-Link switches into Home Assistant. 2016-02-21 09:00 true false true true dlink.png Switch Local Polling 0.14

The dlink switch platform allows you to control the state of your D-Link Wi-Fi Smart Plugs.

Supported devices (tested):

  • DSP-W215
  • DSP-W110

To use your D-Link smart plugs in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
switch:
  platform: dlink
  host: IP_ADRRESS
  username: YOUR_USERNAME
  password: YOUR_PASSWORD

{% configuration %} host: description: "The IP address of your D-Link plug, e.g., http://192.168.1.32" required: true type: string name: 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 %}