sendHubCommand in Driver

Did this ever get implemented?

Did you try using it?

Yes...didn't work

what error message did you get?

groovy.lang.MissingMethodException: No signature of method: dev15409299518031936925160.sendHubCommand() is applicable for argument types: (java.util.ArrayList, java.lang.Integer) values: [[7004060100, 700506], 1000]

sendHubCommand only accepts a HubAction as a parameter,

I documented the signature here:
https://docs.hubitat.com/index.php?title=Driver_Object#sendHubCommand

1 Like

Original ST code:

def cmds = []
cmds << zwave.configurationV1.configurationSet(configurationValue: [0], parameterNumber: 14, size: 1)
cmds << zwave.configurationV1.configurationGet(parameterNumber: 14)
sendHubCommand(cmds.collect{ new hubitat.device.HubAction(it.format()) })