homey-api 1.10.1 → 1.10.3
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.
|
@@ -342,8 +342,10 @@ class Manager extends EventEmitter {
|
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
|
|
345
|
-
|
|
346
|
-
|
|
345
|
+
if (this.isConnected()) {
|
|
346
|
+
// Mark cache as complete
|
|
347
|
+
this.__cacheAllComplete[itemId] = true;
|
|
348
|
+
}
|
|
347
349
|
|
|
348
350
|
break;
|
|
349
351
|
}
|
|
@@ -487,7 +489,6 @@ class Manager extends EventEmitter {
|
|
|
487
489
|
this.__cache[itemId][key].emit('delete');
|
|
488
490
|
this.__cache[itemId][key].destroy();
|
|
489
491
|
delete this.__cache[itemId][key];
|
|
490
|
-
data = null;
|
|
491
492
|
}
|
|
492
493
|
break;
|
|
493
494
|
}
|