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
This commit is contained in:
Dan Nixon 2017-12-06 08:47:32 +00:00 committed by Fabian Affolter
parent 82956902b1
commit 9fcb597f3c

View File

@ -32,9 +32,22 @@ switch:
host: IP_ADDRESS
```
Configuration variables:
- **host** (*Required*): The IP address of your TP-Link switch, eg. `192.168.1.32`.
- **name** (*Optional*): The name to use when displaying this switch.
{% 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 %}