homey-api 3.0.21 → 3.0.22
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/lib/AthomCloudAPI.js
CHANGED
|
@@ -572,6 +572,8 @@ for(const {@link HomeyAPIV2.ManagerDevices.Device device} of Object.values(devic
|
|
|
572
572
|
.finally(() => {
|
|
573
573
|
this.__refreshTokenPromise = null;
|
|
574
574
|
});
|
|
575
|
+
} else {
|
|
576
|
+
this.__debug('Already refreshing token reusing promise.');
|
|
575
577
|
}
|
|
576
578
|
|
|
577
579
|
return this.__refreshTokenPromise;
|
|
@@ -10,6 +10,15 @@ class ManagerInsights extends Manager {
|
|
|
10
10
|
Log,
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
+
async getLogEntries({ id, resolution, ...rest }) {
|
|
14
|
+
return this.__super__getLogEntries({
|
|
15
|
+
...rest,
|
|
16
|
+
id: id,
|
|
17
|
+
uri: id.split(':', 3).join(':'),
|
|
18
|
+
resolution,
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
|
|
13
22
|
}
|
|
14
23
|
|
|
15
24
|
module.exports = ManagerInsights;
|