Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107720

How to use setBulk on actions

$
0
0

Hi,

Using some examples found here in the forum, mainly posted by @freshcoast , I was trying to run this action on one automation of mine:

alias: Set config parameters
action: zwave_js.invoke_cc_api
data:
  endpoint: "0"
  command_class: "112"
  device_id:
    - 240e70b4e1d8cefa91000592eb4b3e1a
  method_name: setBulk
  parameters:
    - parameter: 1
      value: 0
    - parameter: 2
      value: 3
    - parameter: 3
      value: 1
    - parameter: 12
      value: 1
    - parameter: 14
      value: 3
    - parameter: 16
      value: 30
    - parameter: 17
      value: 18
    - parameter: 18
      value: 0
    - parameter: 19
      value: 0
    - parameter: 22
      value: 10
    - parameter: 23
      value: 2
    - parameter: 24
      value: 0
    - parameter: 25
      value: 0
    - parameter: 26
      value: 0

Unfortunately when running this I get this z-wave error:

Error handling message: Endpoint(node_id=90, index=0) - FailedZWaveCommand: zwave_error: Z-Wave error 322 - Argument validation failed: Expected parameter values to be an Array<import("/home/runner/work/node-zwave-js/node-zwave-js/packages/cc/src/cc/ConfigurationCC").ConfigurationCCAPISetOptions>, got object (ZW0322)

Can anyone assist please?

Thanks in advance,

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 107720

Trending Articles