diff --git a/source/_components/switch.tplink.markdown b/source/_components/switch.tplink.markdown index da0083120b6..59912f87d1f 100644 --- a/source/_components/switch.tplink.markdown +++ b/source/_components/switch.tplink.markdown @@ -13,7 +13,6 @@ ha_iot_class: "Local Polling" ha_release: "0.24" --- - The `tplink` switch platform allows you to control the state of your [TP-Link smart switch](http://www.tp-link.com/en/products/list-5258.html). Supported units: @@ -23,7 +22,7 @@ Supported units: - HS110 - HS200 -To use your TP-Link switch in your installation, add the following to your `configuration.yaml` file: +To use your TP-Link switch or socket in your installation, add the following to your `configuration.yaml` file: ```yaml # Example configuration.yaml entry @@ -48,3 +47,15 @@ enable_leds: type: boolean {% endconfiguration %} +## {% linkable_title Adding multiple switches %} + +You may need to add [multiple switches](https://community.home-assistant.io/t/multiple-tp-link-switches/6935) and the config would need to include multiple switches separately. + +```yaml +# Example configuration.yaml entry +switch: + - platform: tplink + host: FIRST_IP_ADDRESS + - platform: tplink + host: SECOND_IP_ADDRESS +```