From 67396a5575299513fc825d44b58b155aee2fb483 Mon Sep 17 00:00:00 2001 From: Teemu R Date: Mon, 27 Sep 2021 21:15:44 +0200 Subject: [PATCH] update tplink docs for python-kasa rework (#19483) * update tplink docs for python-kasa rework * include conrifg_flow.md --- source/_integrations/tplink.markdown | 84 ++-------------------------- 1 file changed, 5 insertions(+), 79 deletions(-) diff --git a/source/_integrations/tplink.markdown b/source/_integrations/tplink.markdown index bf70b799081..2c09ed09082 100644 --- a/source/_integrations/tplink.markdown +++ b/source/_integrations/tplink.markdown @@ -28,8 +28,7 @@ There is currently support for the following device types within Home Assistant: - **Switch** - **Sensor** -In order to activate the support, you will have to enable the integration inside the configuration panel. -The supported devices in your network are automatically discovered, but if you want to control devices residing in other networks you will need to configure them manually as shown below. +{% include integrations/config_flow.md %} ## Supported Devices @@ -38,19 +37,17 @@ The following devices are known to work with this component. ### Plugs -Plugs are type `switch` when autodiscovery has been disabled. - - HS100 - HS103 - HS105 -- HS110 (confirmed to support consumption sensors) +- HS110 (supports consumption sensors) - KP105 -- KP115 (confirmed to support consumption sensors) +- KP115 (supports consumption sensors) ### Strip (Multi-Plug) - HS107 (indoor 2-outlet) -- HS300 (powerstrip 6-outlet) (confirmed to support consumption sensors) +- HS300 (powerstrip 6-outlet) (supports consumption sensors) - KP303 (powerstrip 3-outlet) - KP400 (outdoor 2-outlet) - KP200 (indoor 2-outlet) @@ -65,8 +62,6 @@ Plugs are type `switch` when autodiscovery has been disabled. ### Bulbs -Other bulbs may also work, but with limited color temperatures. If you find a bulb isn't reaching the full-color temperature boundaries, submit a bug report. Bulbs do generally report some energy consumption information, see the entity state attributes to find out what information is available. - - LB100 - LB110 - LB120 @@ -78,73 +73,4 @@ Other bulbs may also work, but with limited color temperatures. If you find a bu - KL130 - KB130 -## Configuration - -```yaml -# Example configuration.yaml -tplink: -``` - -{% configuration %} -discovery: - description: Whether to do automatic discovery of devices. - required: false - type: boolean - default: true -light: - description: List of light devices. - required: false - type: list - keys: - host: - description: Hostname or IP address of the device. - required: true - type: string -strip: - description: List of multi-outlet on/off switch devices. - required: false - type: list - keys: - host: - description: Hostname or IP address of the device. - required: true - type: string -switch: - description: List of on/off switch devices. - required: false - type: list - keys: - host: - description: Hostname or IP address of the device. - required: true - type: string -dimmer: - description: List of dimmable switch devices. - required: false - type: list - keys: - host: - description: Hostname or IP address of the device. - required: true - type: string -{% endconfiguration %} - -## Manual configuration example - -```yaml -# Example configuration.yaml entry with manually specified addresses -tplink: - discovery: false - light: - - host: 192.168.200.1 - - host: 192.168.200.2 - switch: - - host: 192.168.200.3 - - host: 192.168.200.4 - dimmer: - - host: 192.168.200.5 - - host: 192.168.200.6 - strip: - - host: 192.168.200.7 - - host: 192.168.200.8 -``` +Other bulbs may also work, but with limited color temperature range (2700-5000). If you find a bulb isn't reaching the full-color temperature boundaries, submit a bug report to [python-kasa](https://github.com/python-kasa/python-kasa).