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
This commit is contained in:
Josh Cooper 2018-10-29 13:56:38 +00:00 committed by Franck Nijhof
parent a2289c4d06
commit 3c0e0545d7

View File

@ -13,7 +13,6 @@ 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:
@ -44,3 +43,15 @@ host:
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
```