TP-Link Kasa Smart


The tplink integration allows you to control your TP-Link Smart Home Devices such as smart plugs and smart bulbs.

There is currently support for the following device types within Home Assistant:

  • Light
  • 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.

Supported Devices

This integration supports devices that are controllable with the KASA app. 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)
  • KP105
  • KP115 (confirmed to support consumption sensors)

Strip (Multi-Plug)

  • HS107 (indoor 2-outlet)
  • HS300 (powerstrip 6-outlet) (confirmed to support consumption sensors)
  • KP303 (powerstrip 3-outlet)
  • KP400 (outdoor 2-outlet)
  • KP200 (indoor 2-outlet)
  • KP40 (outdoor 2-outlet)
  • EP40 (outdoor 2-outlet)

Wall Switches

  • HS200
  • HS210
  • HS220 (acts as a light)

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
  • LB130
  • LB230
  • KL110
  • KL120
  • KL125
  • KL130
  • KB130

Configuration

# Example configuration.yaml
tplink:

Configuration Variables

discovery boolean (Optional, default: true)

Whether to do automatic discovery of devices.

light list (Optional)

List of light devices.

host string Required

Hostname or IP address of the device.

strip list (Optional)

List of multi-outlet on/off switch devices.

host string Required

Hostname or IP address of the device.

switch list (Optional)

List of on/off switch devices.

host string Required

Hostname or IP address of the device.

dimmer list (Optional)

List of dimmable switch devices.

host string Required

Hostname or IP address of the device.

Manual configuration example

# 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