zwave-js / node-red-contrib-zwave-js

The most powerful, high performing and highly polished Z-Wave node for Node-RED based on Z-Wave JS. If you want a fully featured Z-Wave framework in your Node-RED instance, you have found it.
MIT License
47 stars 6 forks source link

[Bug]: multi-channel associations are using the HTML element as the endpoint value #111

Closed marcus-j-davies closed 3 years ago

marcus-j-davies commented 3 years ago

Contact Details (optional)

No response

What happened?

if (parseInt(EI.val()) > 0) {
    PL[2][0].endpoint = EI.val(parseInt(EI.val()));
}
2021-09-28T18:34:18.105Z NDERED « [API: AssociationsAPI] [Method: addAssociations]
                                  └─[params]
                                      0: {"nodeId":27,"endpoint":4}
                                      1: 6
                                      2: [{"nodeId":1,"endpoint":{"0":{},"length":1}}]

How to reproduce?

.

Version

6.1.0

Node-RED Version

2.0.0

What hardware are you seeing the problem on?

Other

Relevant Z-Wave-JS log output

No response