@camstack/addon-provider-reolink 1.2.7 → 1.2.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/dist/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -225404,7 +225404,7 @@ var ReolinkCamera = class ReolinkCamera extends BaseDevice {
|
|
|
225404
225404
|
if (this.batteryUpdateInFlight) return this.batteryUpdateInFlight;
|
|
225405
225405
|
const cycle = (async () => {
|
|
225406
225406
|
try {
|
|
225407
|
-
if (
|
|
225407
|
+
if (this.isBattery && this.sleeping) {
|
|
225408
225408
|
this.ctx.logger.debug("battery-update: cam sleeping — skipping cycle without connecting", { tags: { deviceId: this.id } });
|
|
225409
225409
|
return;
|
|
225410
225410
|
}
|
package/dist/addon.mjs
CHANGED
|
@@ -225384,7 +225384,7 @@ var ReolinkCamera = class ReolinkCamera extends BaseDevice {
|
|
|
225384
225384
|
if (this.batteryUpdateInFlight) return this.batteryUpdateInFlight;
|
|
225385
225385
|
const cycle = (async () => {
|
|
225386
225386
|
try {
|
|
225387
|
-
if (
|
|
225387
|
+
if (this.isBattery && this.sleeping) {
|
|
225388
225388
|
this.ctx.logger.debug("battery-update: cam sleeping — skipping cycle without connecting", { tags: { deviceId: this.id } });
|
|
225389
225389
|
return;
|
|
225390
225390
|
}
|