BinarySwitchCCAPI set returns either SupervisionResult or undefined when succeeded #6515
-
Checklist
Describe the issueWhat is happening?
When the devices work, and the set function is executed, all devices are turned off/on by the set function, so it works as intended, but it returns undefined for the Aeotec smart switch, while it returns { status: 255 } for the NEO smart switch. The weird thing is that it returns undefined for the working Fibaro smart switch and the working Aeotec one as well. What did you expect to happen instead? Software versionsDriver (node-zwave-js): ZMEEUZBB Device informationManufacturer: Aeotec Manufacturer: Fibaro Checklist
Upload LogfileNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
👋 Hey @geonoemi! Thanks for opening an issue! It doesn't look like you provided a logfile though. While not strictly necessary for every issue, having a driver log on loglevel debug is required to diagnose most issues. Please consider uploading a logfile that captures your problem. As a reminder, here's how to create one: |
Beta Was this translation helpful? Give feedback.
-
This is intended in order to be able to distinguish between unsupervised and supervised commands. You can use the |
Beta Was this translation helpful? Give feedback.
This is intended in order to be able to distinguish between unsupervised and supervised commands. You can use the
isUnsupervisedOrSucceeded
method from@zwave-js/core
to check if a command was successful, supervised or not.