TPLink Switch


The tplink switch platform allows you to control the state of your TPLink smart switch.

Supported units:

  • HS100
  • HS105
  • HS110
  • HS200

To use your TPLink 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: Random Sensor

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.

Default value: true