Skip to content

Commit

Permalink
Reporting: also bind cluster to coordinator. #1064
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Feb 13, 2019
1 parent 88cec5d commit 21a782d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/extension/reporting.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ class Reporting {
const cluster = c.attrs.cid;
if (candidates[cluster]) {
const attributes = candidates[cluster].filter((a) => c.attrs.hasOwnProperty(a));
this.zigbee.bind(endpoint, cluster);

attributes.forEach((attribute) => {
this.zigbee.report(
endpoint,
Expand Down

0 comments on commit 21a782d

Please sign in to comment.