Skip to content

Commit

Permalink
removed cb from identify (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
noobydp authored May 17, 2020
1 parent f814b7a commit 21871e2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ Airtouch.prototype.onGroupsStatusNotification = function(groups_status) {
Airtouch.prototype.setupACAccessory = function(accessory) {
accessory.on('identify', (paired, cb) => {
this.log(accessory.displayName, " identified");
cb();
});

accessory.getService(Service.AccessoryInformation)
Expand Down Expand Up @@ -296,7 +295,6 @@ Airtouch.prototype.updateACAccessory = function(accessory, status) {
Airtouch.prototype.setupZoneAccessory = function(accessory) {
accessory.on('identify', (paired, cb) => {
this.log(accessory.displayName, " identified");
cb();
});

accessory.getService(Service.AccessoryInformation)
Expand Down Expand Up @@ -440,7 +438,6 @@ Airtouch.prototype.updateZoneAccessory = function(accessory, status) {
Airtouch.prototype.setupThermoAccessory = function(accessory) {
accessory.on('identify', (paired, cb) => {
this.log(accessory.displayName, " identified");
cb();
});

accessory.getService(Service.AccessoryInformation)
Expand Down

0 comments on commit 21871e2

Please sign in to comment.