homey-api 1.10.2 → 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
- // Mark cache as complete
346
- this.__cacheAllComplete[itemId] = true;
345
+ if (this.isConnected()) {
346
+ // Mark cache as complete
347
+ this.__cacheAllComplete[itemId] = true;
348
+ }
347
349
 
348
350
  break;
349
351
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "1.10.2",
3
+ "version": "1.10.3",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [