home-assistant.github.io/source/_components/switch.tplink.markdown
Dan Nixon 9fcb597f3c Document enable_leds option on TP-Link sockets (#4143)
* Document enable_leds option on TP-Link sockets

Documents home-assistant PR:
https://github.com/home-assistant/home-assistant/pull/10980

* Switch to new style
2017-12-06 09:47:32 +01:00

53 lines
1.1 KiB
Markdown

---
layout: page
title: "TPLink Switch"
description: "Instructions how to integrate TPLink switches into Home Assistant."
date: 2016-07-13 08:00
sidebar: true
comments: false
sharing: true
footer: true
logo: tp-link.png
ha_category: Switch
ha_iot_class: "Local Polling"
ha_release: "0.24"
---
The `tplink` switch platform allows you to control the state of your [TPLink smart switch](http://www.tp-link.com/en/products/list-5258.html).
Supported units:
- HS100
- HS105
- HS110
- HS200
To use your TPLink switch in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
switch:
- platform: tplink
host: IP_ADDRESS
```
{% configuration %}
name:
description: The name to use when displaying this switch.
required: false
type: string
default: Random Sensor
host:
description: "The IP address of your TP-Link switch, eg. `192.168.1.32`."
required: true
type: string
enable_leds:
description: If the LEDs on the switch (WiFi and power) should be lit.
required: false
type: boolean
default: true
{% endconfiguration %}