Skip to content

Commit

Permalink
Update platformAccessory.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Dec 6, 2024
1 parent aa33eb5 commit 960941b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/platformAccessory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export class ExamplePlatformAccessory {
// This is only required when using Custom Services and Characteristics not support by HomeKit
this.service = this.accessory.getService(this.platform.CustomServices[accessory.context.device.CustomService]) ||
this.accessory.addService(this.platform.CustomServices[accessory.context.device.CustomService]);
this.platform.log.debug('this.service', this.service);
} else {
this.service = this.accessory.getService(this.platform.Service.Lightbulb) || this.accessory.addService(this.platform.Service.Lightbulb);
}
Expand Down

0 comments on commit 960941b

Please sign in to comment.