homey-api 3.4.8 → 3.4.10

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.
@@ -101,7 +101,6 @@ class DeviceCapability extends EventEmitter {
101
101
  return;
102
102
  }
103
103
 
104
- if (value === this.__value) return;
105
104
  this.__value = value;
106
105
  this.__lastChanged = new Date(transactionTime);
107
106
 
@@ -580,7 +580,7 @@ class HomeyAPIV3 extends HomeyAPI {
580
580
  this.__debug('subscribed', uri);
581
581
  return resolve();
582
582
  });
583
- }), 5000, `Failed to subscribe to ${uri} (Timeout after 5000ms).`);
583
+ }), 10000, `Failed to subscribe to ${uri} (Timeout after 10000ms).`);
584
584
 
585
585
  // On Connect
586
586
  const __onEvent = (event, data) => {
@@ -614,7 +614,7 @@ class HomeyAPIV3 extends HomeyAPI {
614
614
  this.__debug('subscribed', uri);
615
615
  return resolve();
616
616
  });
617
- }), 5000, `Failed to subscribe to ${uri} (Timeout after 5000ms).`);
617
+ }), 10000, `Failed to subscribe to ${uri} (Timeout after 10000ms).`);
618
618
 
619
619
  this.__homeySocket.on(uri, __onEvent);
620
620
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.4.8",
3
+ "version": "3.4.10",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [