mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Update Anel_pwctrl switch component configuration variable (#6893)
This commit is contained in:
parent
de3e991df2
commit
416c365722
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user