@camstack/addon-provider-dreo 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
|
@@ -19236,7 +19236,20 @@ var RecentTracksQueryInput = object({
|
|
|
19236
19236
|
projection: TrackProjectionSchema.optional(),
|
|
19237
19237
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
19238
19238
|
* feed lists passages; parking records live on the stationary registry. */
|
|
19239
|
-
includeStationary: boolean().optional()
|
|
19239
|
+
includeStationary: boolean().optional(),
|
|
19240
|
+
/**
|
|
19241
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19242
|
+
*
|
|
19243
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
19244
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
19245
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
19246
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
19247
|
+
*
|
|
19248
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
19249
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
19250
|
+
* exact one.
|
|
19251
|
+
*/
|
|
19252
|
+
classes: array(string()).optional()
|
|
19240
19253
|
});
|
|
19241
19254
|
var RecentTracksPageSchema = object({
|
|
19242
19255
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -23406,8 +23419,22 @@ var automationControlCapability = {
|
|
|
23406
23419
|
* threshold.
|
|
23407
23420
|
*/
|
|
23408
23421
|
var BatteryStatusSchema = object({
|
|
23409
|
-
/**
|
|
23410
|
-
|
|
23422
|
+
/**
|
|
23423
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
23424
|
+
* provider has registered the capability but no reading has landed.
|
|
23425
|
+
*
|
|
23426
|
+
* It is nullable because it was not, and the only value a provider could
|
|
23427
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
23428
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
23429
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
23430
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
23431
|
+
* reading the difference is an alarm.
|
|
23432
|
+
*
|
|
23433
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
23434
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
23435
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
23436
|
+
*/
|
|
23437
|
+
percentage: number().min(0).max(100).nullable(),
|
|
23411
23438
|
/**
|
|
23412
23439
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23413
23440
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
package/dist/addon.mjs
CHANGED
|
@@ -19237,7 +19237,20 @@ var RecentTracksQueryInput = object({
|
|
|
19237
19237
|
projection: TrackProjectionSchema.optional(),
|
|
19238
19238
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
19239
19239
|
* feed lists passages; parking records live on the stationary registry. */
|
|
19240
|
-
includeStationary: boolean().optional()
|
|
19240
|
+
includeStationary: boolean().optional(),
|
|
19241
|
+
/**
|
|
19242
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19243
|
+
*
|
|
19244
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
19245
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
19246
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
19247
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
19248
|
+
*
|
|
19249
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
19250
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
19251
|
+
* exact one.
|
|
19252
|
+
*/
|
|
19253
|
+
classes: array(string()).optional()
|
|
19241
19254
|
});
|
|
19242
19255
|
var RecentTracksPageSchema = object({
|
|
19243
19256
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -23407,8 +23420,22 @@ var automationControlCapability = {
|
|
|
23407
23420
|
* threshold.
|
|
23408
23421
|
*/
|
|
23409
23422
|
var BatteryStatusSchema = object({
|
|
23410
|
-
/**
|
|
23411
|
-
|
|
23423
|
+
/**
|
|
23424
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
23425
|
+
* provider has registered the capability but no reading has landed.
|
|
23426
|
+
*
|
|
23427
|
+
* It is nullable because it was not, and the only value a provider could
|
|
23428
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
23429
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
23430
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
23431
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
23432
|
+
* reading the difference is an alarm.
|
|
23433
|
+
*
|
|
23434
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
23435
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
23436
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
23437
|
+
*/
|
|
23438
|
+
percentage: number().min(0).max(100).nullable(),
|
|
23412
23439
|
/**
|
|
23413
23440
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23414
23441
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreo",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.58",
|
|
4
4
|
"description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|