mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 15:56:51 +00:00
Update OZW docs for new config parameter type and provide example (#14793)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
9c04c3421e
commit
410b1425ec
@ -107,7 +107,24 @@ LED colors on switches.
|
|||||||
| `instance_id` | no | The OZW Instance/Controller to use, defaults to 1. |
|
| `instance_id` | no | The OZW Instance/Controller to use, defaults to 1. |
|
||||||
| `node_id` | yes | Node id of the device to set configuration parameter to (integer). |
|
| `node_id` | yes | Node id of the device to set configuration parameter to (integer). |
|
||||||
| `parameter` | yes | Parameter number to set (integer). |
|
| `parameter` | yes | Parameter number to set (integer). |
|
||||||
| `value` | yes | Value to set for parameter. (String or integer value for list, string for bool parameters, integer for others). |
|
| `value` | yes | Value to set for parameter. (String or integer value for list, string or boolean for bool parameters, list of dicts for bitset parameters (see example below), integer for others). |
|
||||||
|
|
||||||
|
|
||||||
|
#### Example BitSet service call
|
||||||
|
|
||||||
|
Here is an example of what to send to the service for a BitSet parameter:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
node_id: 4
|
||||||
|
parameter: 5
|
||||||
|
value:
|
||||||
|
- position: 1
|
||||||
|
value: true
|
||||||
|
- label: Humidity
|
||||||
|
value: false
|
||||||
|
- position: 3
|
||||||
|
value: false
|
||||||
|
```
|
||||||
|
|
||||||
## Events
|
## Events
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user