diff --git a/CHANGELOG.md b/CHANGELOG.md index f4a30f1e..aa0068b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # node-red-contrib-zwave-js Change Log + - 9.1.1 + + **Bug Fixes** + - Fix NVM Backup + - 9.1.0 **Changes** diff --git a/package.json b/package.json index 93ba28b9..a7fd5b07 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-zwave-js", - "version": "9.1.0", + "version": "9.1.1", "license": "MIT", "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.", "dependencies": { @@ -8,7 +8,7 @@ "lodash": "^4.17.21", "winston": "^3.17.0", "winston-transport": "^4.9.0", - "zwave-js": "^14.3.3" + "zwave-js": "^14.3.7" }, "devDependencies": { "eslint": "^9.15.0", @@ -61,4 +61,4 @@ "url": "https://github.com/zwave-js/node-red-contrib-zwave-js/issues" }, "homepage": "https://github.com/zwave-js/node-red-contrib-zwave-js#readme" -} +} \ No newline at end of file diff --git a/resources/UITab/client.js b/resources/UITab/client.js index 1572e8e8..a23f2a5b 100644 --- a/resources/UITab/client.js +++ b/resources/UITab/client.js @@ -2732,7 +2732,7 @@ const ZwaveJsUI = (function () { EnableCritical(true); $('#NVMProgressLabel').html('Backing up NVM Completed'); - const Bytes = new Uint8Array(data.payload.data); + const Bytes = new Uint8Array(Object.values(data.payload)); const blob = new Blob([Bytes], { type: 'application/octet-stream' }); @@ -2981,12 +2981,12 @@ const ZwaveJsUI = (function () { node.powerSource.level > 90 ? (Class = 'fa fa-battery-full') : node.powerSource.level > 65 - ? (Class = 'fa fa-battery-three-quarters') - : node.powerSource.level > 35 - ? (Class = 'fa fa-battery-half') - : node.powerSource.level > 10 - ? (Class = 'fa fa-battery-quarter') - : (Class = 'fa fa-battery-empty'); + ? (Class = 'fa fa-battery-three-quarters') + : node.powerSource.level > 35 + ? (Class = 'fa fa-battery-half') + : node.powerSource.level > 10 + ? (Class = 'fa fa-battery-quarter') + : (Class = 'fa fa-battery-empty'); if (node.powerSource.isLow) { i.css({ color: 'red' }); @@ -3737,12 +3737,12 @@ const ZwaveJsUI = (function () { data.payload.newValue > 90 ? (Class = 'fa fa-battery-full') : data.payload.newValue > 65 - ? (Class = 'fa fa-battery-three-quarters') - : data.payload.newValue > 35 - ? (Class = 'fa fa-battery-half') - : data.payload.newValue > 10 - ? (Class = 'fa fa-battery-quarter') - : (Class = 'fa fa-battery-empty'); + ? (Class = 'fa fa-battery-three-quarters') + : data.payload.newValue > 35 + ? (Class = 'fa fa-battery-half') + : data.payload.newValue > 10 + ? (Class = 'fa fa-battery-quarter') + : (Class = 'fa fa-battery-empty'); BatterySymbol.removeClass(); BatterySymbol.addClass(Class); BatteryUIElements[data.node].setContent(