Multi Channel Command Encapsulation Command

Hi everybody,
I’m trying to use Z-Wave JS UI in order to send a zwave ‘Multi Channel Encapsulation Command’ with a ‘Switch Binary’ command with the value false to node 2 endpoint 1.
I did lots of tests but no success till now.
This is an example of one of the yaml I tried:
%%%%
action: zwave_js.invoke_cc_api
data:
command_class: “96”
method_name: sendEncapsulated
device_id:
- 1b91e4e4bbe15a3788a8a2535e997f5d
parameters:
- encapsulated:
- data:
command_class: “37”
method_name: set
%%%%%
The error seems to be that the cc.encapsulated is not an instanceof CommandClass.
Could you please help me?
Thanks in advance
Davide

Try using the set value of a Z-Wave JS value action.
It requires you know the command class is, the property, the endpoint and the value.

You can find this information in Z-Wave JS UI or home assistant

In the UI above each value you should see something like [2-37-2-targetValue]
2 - is the node id of the device you are currently viewing settings for
37 - is command class of for the binary switch command class
2 - is the target
targetValue - is the property

Thank you very much! It worked!
Do you know how to set multiple end points in the same command?
For example, if I want to do a switch binary true of the end points 1 and 2 with one single command, do you know how to do that?
Davide