Skip to content

Commit

Permalink
fix: endpoint.configureReporting should use manufacturerCode when def…
Browse files Browse the repository at this point in the history
…ined

Fixes #843
  • Loading branch information
sjorge committed Dec 27, 2023
1 parent 8208402 commit add92d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controller/model/endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ class Endpoint extends Entity {
const attribute = cluster.getAttribute(item.attribute);
dataType = attribute.type;
attrId = attribute.ID;
if (attribute.hasOwnProperty('manufacturerCode')) options.manufacturerCode = attribute.manufacturerCode;
}
}

Expand Down

0 comments on commit add92d7

Please sign in to comment.