Skip to content

Commit

Permalink
fix: Add nodeid to device identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Mar 2, 2020
1 parent 6aba6d3 commit 4c864a2
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 @@ -435,7 +435,7 @@ function typeByUnits (units) {
*/
function deviceInfo (node, nodeName) {
return {
identifiers: ['zwave2mqtt_' + this.zwave.homeHex],
identifiers: ['zwave2mqtt_' + this.zwave.homeHex + '_Node' + node.node_id],
manufacturer: node.manufacturer,
model: node.product + ' (' + node.productid + ')',
name: nodeName,
Expand Down

0 comments on commit 4c864a2

Please sign in to comment.