mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +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
|
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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user