Skip to content

Commit

Permalink
fix: use isControllerNode instead of isController
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Mar 2, 2021
1 parent 13dbfef commit 6858a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ZwaveClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ function initNode (zwaveNode) {
node.endpointsCount = zwaveNode.getEndpointCount()
node.isSecure = zwaveNode.isSecure
node.isBeaming = zwaveNode.isBeaming
node.isListening = zwaveNode.isListening || zwaveNode.isController // Fixes #739
node.isListening = zwaveNode.isListening || zwaveNode.isControllerNode() // Fixes #739
node.isFrequentListening = zwaveNode.isFrequentListening
node.isRouting = zwaveNode.isRouting
node.keepAwake = zwaveNode.keepAwake
Expand Down

0 comments on commit 6858a08

Please sign in to comment.