@camstack/addon-provider-petkit 0.2.57 → 0.2.58
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 +30 -3
- package/dist/addon.mjs +30 -3
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -20302,7 +20302,20 @@ var RecentTracksQueryInput = object({
|
|
|
20302
20302
|
projection: TrackProjectionSchema.optional(),
|
|
20303
20303
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
20304
20304
|
* feed lists passages; parking records live on the stationary registry. */
|
|
20305
|
-
includeStationary: boolean().optional()
|
|
20305
|
+
includeStationary: boolean().optional(),
|
|
20306
|
+
/**
|
|
20307
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
20308
|
+
*
|
|
20309
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
20310
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
20311
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
20312
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
20313
|
+
*
|
|
20314
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
20315
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
20316
|
+
* exact one.
|
|
20317
|
+
*/
|
|
20318
|
+
classes: array(string()).optional()
|
|
20306
20319
|
});
|
|
20307
20320
|
var RecentTracksPageSchema = object({
|
|
20308
20321
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -24472,8 +24485,22 @@ var automationControlCapability = {
|
|
|
24472
24485
|
* threshold.
|
|
24473
24486
|
*/
|
|
24474
24487
|
var BatteryStatusSchema = object({
|
|
24475
|
-
/**
|
|
24476
|
-
|
|
24488
|
+
/**
|
|
24489
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
24490
|
+
* provider has registered the capability but no reading has landed.
|
|
24491
|
+
*
|
|
24492
|
+
* It is nullable because it was not, and the only value a provider could
|
|
24493
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
24494
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
24495
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
24496
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
24497
|
+
* reading the difference is an alarm.
|
|
24498
|
+
*
|
|
24499
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
24500
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
24501
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
24502
|
+
*/
|
|
24503
|
+
percentage: number().min(0).max(100).nullable(),
|
|
24477
24504
|
/**
|
|
24478
24505
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
24479
24506
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
package/dist/addon.mjs
CHANGED
|
@@ -20301,7 +20301,20 @@ var RecentTracksQueryInput = object({
|
|
|
20301
20301
|
projection: TrackProjectionSchema.optional(),
|
|
20302
20302
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
20303
20303
|
* feed lists passages; parking records live on the stationary registry. */
|
|
20304
|
-
includeStationary: boolean().optional()
|
|
20304
|
+
includeStationary: boolean().optional(),
|
|
20305
|
+
/**
|
|
20306
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
20307
|
+
*
|
|
20308
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
20309
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
20310
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
20311
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
20312
|
+
*
|
|
20313
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
20314
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
20315
|
+
* exact one.
|
|
20316
|
+
*/
|
|
20317
|
+
classes: array(string()).optional()
|
|
20305
20318
|
});
|
|
20306
20319
|
var RecentTracksPageSchema = object({
|
|
20307
20320
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -24471,8 +24484,22 @@ var automationControlCapability = {
|
|
|
24471
24484
|
* threshold.
|
|
24472
24485
|
*/
|
|
24473
24486
|
var BatteryStatusSchema = object({
|
|
24474
|
-
/**
|
|
24475
|
-
|
|
24487
|
+
/**
|
|
24488
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
24489
|
+
* provider has registered the capability but no reading has landed.
|
|
24490
|
+
*
|
|
24491
|
+
* It is nullable because it was not, and the only value a provider could
|
|
24492
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
24493
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
24494
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
24495
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
24496
|
+
* reading the difference is an alarm.
|
|
24497
|
+
*
|
|
24498
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
24499
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
24500
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
24501
|
+
*/
|
|
24502
|
+
percentage: number().min(0).max(100).nullable(),
|
|
24476
24503
|
/**
|
|
24477
24504
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
24478
24505
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
package/package.json
CHANGED