Skip to content

Commit

Permalink
fix(dingz): don't call updateAccessory() on startup
Browse files Browse the repository at this point in the history
- avoid calling updateAccessory() on startup
- remove unnecessary code
  • Loading branch information
johannrichard committed Dec 6, 2020
1 parent 55c8326 commit b4c8c3b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/lib/dingzDaBaseAccessory.ts
Expand Up @@ -127,7 +127,6 @@ export class DingzDaBaseAccessory {
// Set accessory to reachable and
// updateAccessory()
this.reachabilityState = null;
this.updateAccessory();
}
},
);
Expand All @@ -141,13 +140,6 @@ export class DingzDaBaseAccessory {
);
}

protected updateAccessory(): void {
this.log.debug(
'setAccessoryInformation() not implemented for',
this.device.accessoryClass,
);
}

protected getDeviceStateUpdate(): Promise<void> {
this.log.warn(
'getDeviceStateUpdate() not implemented for',
Expand Down

0 comments on commit b4c8c3b

Please sign in to comment.