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 password: PASSWORD
``` ```
Configuration variables: {% configuration %}
host:
- **host** (*Optional*): The IP address or hostname of your PwrCtrl device. description: The IP address or hostname of your PwrCtrl device.
- **port_recv** (*Required*): The port to receive data from the device. required: false
- **port_send** (*Required*): The port to send data to the device. type: string
- **username** (*Required*): The username for your device. port_recv:
- **password** (*Required*): The password for your device. 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> <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>