From 410b1425ec090fcec6f57caee7a56ebadb475417 Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Tue, 20 Oct 2020 18:20:19 -0400 Subject: [PATCH] Update OZW docs for new config parameter type and provide example (#14793) Co-authored-by: Franck Nijhof --- source/_integrations/ozw.markdown | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/source/_integrations/ozw.markdown b/source/_integrations/ozw.markdown index 08a3975b0ef..82b48a8f130 100644 --- a/source/_integrations/ozw.markdown +++ b/source/_integrations/ozw.markdown @@ -107,7 +107,24 @@ LED colors on switches. | `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). | | `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