Update Anel_pwctrl switch component configuration variable (#6893)

This commit is contained in:
Klaas Schoute 2018-10-17 23:20:22 +02:00 committed by Fabian Affolter
parent de3e991df2
commit 416c365722

View File

@ -32,12 +32,27 @@ switch:
password: PASSWORD
```
Configuration variables:
- **host** (*Optional*): The IP address or hostname of your PwrCtrl device.
- **port_recv** (*Required*): The port to receive data from the device.
- **port_send** (*Required*): The port to send data to the device.
- **username** (*Required*): The username for your device.
- **password** (*Required*): The password for your device.
{% configuration %}
host:
description: The IP address or hostname of your PwrCtrl device.
required: false
type: string
port_recv:
description: The port to receive data from the device.
required: true
type: integer
port_send:
description: The port to send data to the device.
required: true
type: integer
username:
description: The username for your device.
required: true
type: string
password:
description: The password for your device.
required: true
type: string
{% endconfiguration %}
<p class="note">If no **host** is given the platform will try to auto-discover all devices on the network, that are listening on the given **port_recv**.</p>