diff --git a/README.md b/README.md index edc9817a..abfea2f8 100644 --- a/README.md +++ b/README.md @@ -175,10 +175,10 @@ let _Buf_ON = Buffer.from([0x51,0x01,0x01,0x05,0x01]) ## Version History - - 3.1.1 - - Typo in read me :-| + - 3.1.2 + - Fixed missing ```node``` property in messages, when **ZWave Device** nodes are in use. - - 3.1.0 + - 3.1.1 - Introduced a new node type of **ZWave Device** This node works in conjunction with the main **Z-Wave JS Controller** node, allowing for much greater flexibility within your flows. The node acts as a single ZWave device, allowing it to be placed in different flows. diff --git a/package.json b/package.json index 45578229..dfd132a0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-zwave-js", - "version": "3.1.1", + "version": "3.1.2", "license": "MIT", "description": "An extremely easy to use, zero dependency and feature rich ZWave node for node-red. Based on ZWave-JS", "dependencies": { diff --git a/zwave-js/zwave-device.js b/zwave-js/zwave-device.js index 8de4e7b3..9904a807 100644 --- a/zwave-js/zwave-device.js +++ b/zwave-js/zwave-device.js @@ -15,7 +15,6 @@ module.exports = function (RED) { RED.events.on("zwjs:node:event:" + config.filteredNodeId, processEventMessage) function processEventMessage(MSG){ - delete MSG.payload.node; node.send(MSG) }