Skip to content

Commit

Permalink
fix: empty endpoint (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored Dec 11, 2020
1 parent 0d65ed6 commit 36638d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Gateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ Gateway.prototype.valueTopic = function (node, valueId, returnObject = false) {
topic.push(node.name ? node.name : NODE_PREFIX + valueId.nodeId)
}
topic.push(valueId.commandClass)
topic.push(valueId.endpoint)
topic.push(valueId.endpoint || '0')
topic.push(valueId.property)
if (valueId.propertyKey) {
topic.push(valueId.propertyKey)
Expand Down

0 comments on commit 36638d2

Please sign in to comment.