Skip to content

Commit 5ef93ab

Browse files
Fix CMDF Crash
1 parent 13c29c4 commit 5ef93ab

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# node-red-contrib-zwave-js Change Log
22

3+
- 9.0.2
4+
5+
**Bug Fixes**
6+
- Fix `CMD Factory` crashing Node RED, when required values are missing.
7+
38
- 9.0.1
49

510
**Bug Fixes**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-contrib-zwave-js",
3-
"version": "9.0.1",
3+
"version": "9.0.2",
44
"license": "MIT",
55
"description": "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.",
66
"dependencies": {

zwave-js/cmd-factory.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ module.exports = function (RED) {
99
const API = config.api || 'ValueAPI';
1010
switch (API) {
1111
case 'CCAPI':
12-
CCAPI(msg, send);
12+
await CCAPI(msg, send);
1313
break;
1414
case 'ValueAPI':
15-
ValueAPI(msg, send);
15+
await ValueAPI(msg, send);
1616
break;
1717
}
1818
if (done) {

0 commit comments

Comments
 (0)