diff --git a/lib/Gateway.js b/lib/Gateway.js index 7616fe38622..7d22eef69f0 100755 --- a/lib/Gateway.js +++ b/lib/Gateway.js @@ -215,7 +215,8 @@ function onValueChanged (valueId, node, changed) { switch (this.config.payloadType) { case 1: // entire zwave valueId object - data = valueId + data = copy(valueId) + data.value = tmpVal break case 2: // just value data = tmpVal