TP-Link Switch


The tplink switch platform allows you to control the state of your TP-Link smart switch.

Supported units:

  • HS100
  • HS105
  • HS110
  • HS200

To use your TP-Link switch in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
switch:
  - platform: tplink
    host: IP_ADDRESS

Configuration Variables

name

(string)(Optional)The name to use when displaying this switch.

Default value: TP-Link Switch

host

(string)(Required)The IP address of your TP-Link switch, eg. 192.168.1.32.

enable_leds

(boolean)(Optional)If the LEDs on the switch (WiFi and power) should be lit.