mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 05:46:52 +00:00
D-Link config flow (#25485)
Co-authored-by: Franck Nijhof <frenck@frenck.nl> Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
a592ac1350
commit
2ef1fc54fa
@ -5,53 +5,24 @@ ha_category:
|
||||
- Switch
|
||||
ha_iot_class: Local Polling
|
||||
ha_release: 0.14
|
||||
ha_config_flow: true
|
||||
ha_domain: dlink
|
||||
ha_platforms:
|
||||
- switch
|
||||
ha_integration_type: integration
|
||||
ha_codeowners:
|
||||
- '@tkdrob'
|
||||
ha_integration_type: device
|
||||
---
|
||||
|
||||
The `dlink` switch platform allows you to control the state of your [D-Link Wi-Fi Smart Plugs](https://us.dlink.com/en/consumer/smart-home).
|
||||
The D-Link Wi-Fi Smart Plugs integration allows you to control the state of your [D-Link Wi-Fi Smart Plugs](https://us.dlink.com/en/consumer/smart-home).
|
||||
|
||||
{% include integrations/config_flow.md %}
|
||||
|
||||
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:
|
||||
Password: The default password is the PIN included on the configuration card or on the back of the unit.
|
||||
|
||||
```yaml
|
||||
# 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., 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, v1.26).
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
{% endconfiguration %}
|
||||
Use the legacy protocol in case the integration does not work. This enables limited support for legacy firmware protocols (Tested with v1.24, v1.26). Data such as power consumption will not be available. The temperature will also show a freezing level.
|
||||
|
Loading…
x
Reference in New Issue
Block a user