Skip to content

Commit

Permalink
fix: Integer list when payload is set to Zwave object
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Mar 19, 2020
1 parent d084fdf commit c7fcfa9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Gateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7fcfa9

Please sign in to comment.