home-assistant.io/source/_components/light.tplink.markdown
Josh Cooper 3c0e0545d7 Added multiple lights to TP-Link lights (#7205)
* Added multiple lights to TP-Link lights

Added the multiple lights text same as TP-Link switches.

* fixed to be light instead of switch

thanks rohankapoorcom

* ✏️ Move example below the configuration options
2018-10-29 14:56:38 +01:00

58 lines
1.3 KiB
Markdown

---
layout: page
title: "TP-Link Bulb"
description: "Instructions on how to integrate TP-Link bulbs into Home Assistant."
date: 2017-07-25 08:00
sidebar: true
comments: false
sharing: true
footer: true
logo: tp-link.png
ha_category: Light
ha_iot_class: "Local Polling"
ha_release: "0.50"
---
The `tplink` light platform allows you to control the state of your [TP-Link smart bulb](http://www.tp-link.com/en/products/list-5609.html).
Supported units:
- LB100
- LB110
- LB120
- LB130
To use your TP-Link light in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
light:
- platform: tplink
host: IP_ADDRESS
```
{% configuration %}
name:
description: The name to use when displaying this bulb.
required: false
type: string
default: TP-Link Light
host:
description: "The IP address of your TP-Link bulb, eg. `192.168.1.32`."
required: true
type: string
{% endconfiguration %}
## {% linkable_title Adding multiple lights %}
You may need to add [multiple lights](https://community.home-assistant.io/t/multiple-tp-link-switches/6935) and the config would need to include multiple lights separately.
```yaml
# Example configuration.yaml entry
light:
- platform: tplink
host: FIRST_IP_ADDRESS
- platform: tplink
host: SECOND_IP_ADDRESS
```