homebridge-bedjet 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-bedjet",
3
3
  "displayName": "BedJet",
4
- "version": "0.1.7",
4
+ "version": "0.1.8",
5
5
  "description": "Homebridge plugin for BedJet V3 via Bluetooth LE",
6
6
  "license": "MIT",
7
7
  "main": "dist/index.js",
@@ -178,6 +178,9 @@ export class BedJet extends EventEmitter {
178
178
  }
179
179
  }
180
180
 
181
+ // Small delay to let noble/BlueZ internal events settle after discovery
182
+ await new Promise<void>(resolve => setTimeout(resolve, 500));
183
+
181
184
  this.log.info(`[${this.config.name}] Char check: status=${!!this.statusChar} command=${!!this.commandChar}`);
182
185
 
183
186
  if (!this.commandChar || !this.statusChar) {