Skip to content

Commit

Permalink
No response bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleBoyer committed Jul 23, 2024
1 parent 1eed2db commit 954ddf3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": false,
"displayName": "Konnected BlaQ",
"name": "homebridge-blaq",
"version": "0.2.18",
"version": "0.2.19",
"description": "Control and view your garage door(s) remotely with real-time updates using Konnected's BlaQ hardware",
"license": "Apache-2.0",
"type": "module",
Expand Down
3 changes: 2 additions & 1 deletion src/hub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,15 @@ export class BlaQHub {
}

private possiblyFinalizeInit(){
if(this.friendlyName && this.deviceMac){
if(!this.initialized && this.friendlyName && this.deviceMac){
this.logger.info('[init] Publishing accessories with device model:', this.friendlyName);
this.initAccessories({
friendlyName: this.friendlyName,
serialNumber: this.deviceMac,
});
this.logger.debug('[init] Accessories initialized!');
this.initialized = true;
this.reinitializeEventSource();
}
}

Expand Down

0 comments on commit 954ddf3

Please sign in to comment.