Skip to content

Commit

Permalink
fix: undefined propertyName in notifications (#950)
Browse files Browse the repository at this point in the history
* fix: undefined propertyName in notifications

Fixes #948

* fix: lint issues
  • Loading branch information
robertsLando authored Mar 26, 2021
1 parent 2595701 commit da63912
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ZwaveClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,7 @@ function onNodeNotification (zwaveNode, ccId, args) {
}

valueId.id = getValueID(valueId, true)
valueId.propertyName = valueId.property // must be defined in named topics

logger.log(
'info',
Expand Down

0 comments on commit da63912

Please sign in to comment.