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

1.3 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_iot_class, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_iot_class ha_release
page TP-Link Bulb Instructions on how to integrate TP-Link bulbs into Home Assistant. 2017-07-25 08:00 true false true true tp-link.png Light Local Polling 0.50

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

Supported units:

  • LB100
  • LB110
  • LB120
  • LB130

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

# 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 and the config would need to include multiple lights separately.

# Example configuration.yaml entry
light:
  - platform: tplink
    host: FIRST_IP_ADDRESS
  - platform: tplink
    host: SECOND_IP_ADDRESS