Forward "identify" event

This commit is contained in:
Khaos Tian
2016-02-28 18:17:46 -08:00
parent c3c2f8815d
commit 32e776203f

View File

@@ -130,6 +130,9 @@ PlatformAccessory.prototype._prepareAssociatedHAPAccessory = function () {
this._associatedHAPAccessory = new Accessory(this.displayName, this.UUID);
this._associatedHAPAccessory._sideloadServices(this.services);
this._associatedHAPAccessory.reachable = this.reachable;
this._associatedHAPAccessory.on('identify', function(paired, callback) {
this.emit('identify', paired, callback);
}.bind(this));
}
PlatformAccessory.prototype._dictionaryPresentation = function() {