I’m trying to port over a multichannel device and edited the code as best I could for hubitat but I get the following error
error No signature of method: hubitat.zwave.commands.multichannelv3.MultiChannelCmdEncap.encapsulate() is applicable for argument types: (hubitat.zwave.commands.switchbinaryv1.SwitchBinaryGet) values: [SwitchBinaryGet()] on line 206
I’m not very familiar with zwave dth’s so any advice is welcome. See entire method below.
private encap(cmd, endpoint) {
if (endpoint) {
zwave.multiChannelV3.multiChannelCmdEncap(destinationEndPoint: endpoint).encapsulate(cmd)
} else {
cmd
}
}