@camstack/addon-provider-gree 0.2.56 → 0.2.57
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
|
@@ -19186,7 +19186,20 @@ var RecentTracksQueryInput = object({
|
|
|
19186
19186
|
projection: TrackProjectionSchema.optional(),
|
|
19187
19187
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
19188
19188
|
* feed lists passages; parking records live on the stationary registry. */
|
|
19189
|
-
includeStationary: boolean().optional()
|
|
19189
|
+
includeStationary: boolean().optional(),
|
|
19190
|
+
/**
|
|
19191
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19192
|
+
*
|
|
19193
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
19194
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
19195
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
19196
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
19197
|
+
*
|
|
19198
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
19199
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
19200
|
+
* exact one.
|
|
19201
|
+
*/
|
|
19202
|
+
classes: array(string()).optional()
|
|
19190
19203
|
});
|
|
19191
19204
|
var RecentTracksPageSchema = object({
|
|
19192
19205
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -23356,8 +23369,22 @@ var automationControlCapability = {
|
|
|
23356
23369
|
* threshold.
|
|
23357
23370
|
*/
|
|
23358
23371
|
var BatteryStatusSchema = object({
|
|
23359
|
-
/**
|
|
23360
|
-
|
|
23372
|
+
/**
|
|
23373
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
23374
|
+
* provider has registered the capability but no reading has landed.
|
|
23375
|
+
*
|
|
23376
|
+
* It is nullable because it was not, and the only value a provider could
|
|
23377
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
23378
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
23379
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
23380
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
23381
|
+
* reading the difference is an alarm.
|
|
23382
|
+
*
|
|
23383
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
23384
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
23385
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
23386
|
+
*/
|
|
23387
|
+
percentage: number().min(0).max(100).nullable(),
|
|
23361
23388
|
/**
|
|
23362
23389
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23363
23390
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
package/dist/addon.mjs
CHANGED
|
@@ -19185,7 +19185,20 @@ var RecentTracksQueryInput = object({
|
|
|
19185
19185
|
projection: TrackProjectionSchema.optional(),
|
|
19186
19186
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
19187
19187
|
* feed lists passages; parking records live on the stationary registry. */
|
|
19188
|
-
includeStationary: boolean().optional()
|
|
19188
|
+
includeStationary: boolean().optional(),
|
|
19189
|
+
/**
|
|
19190
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19191
|
+
*
|
|
19192
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
19193
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
19194
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
19195
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
19196
|
+
*
|
|
19197
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
19198
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
19199
|
+
* exact one.
|
|
19200
|
+
*/
|
|
19201
|
+
classes: array(string()).optional()
|
|
19189
19202
|
});
|
|
19190
19203
|
var RecentTracksPageSchema = object({
|
|
19191
19204
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -23355,8 +23368,22 @@ var automationControlCapability = {
|
|
|
23355
23368
|
* threshold.
|
|
23356
23369
|
*/
|
|
23357
23370
|
var BatteryStatusSchema = object({
|
|
23358
|
-
/**
|
|
23359
|
-
|
|
23371
|
+
/**
|
|
23372
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
23373
|
+
* provider has registered the capability but no reading has landed.
|
|
23374
|
+
*
|
|
23375
|
+
* It is nullable because it was not, and the only value a provider could
|
|
23376
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
23377
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
23378
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
23379
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
23380
|
+
* reading the difference is an alarm.
|
|
23381
|
+
*
|
|
23382
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
23383
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
23384
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
23385
|
+
*/
|
|
23386
|
+
percentage: number().min(0).max(100).nullable(),
|
|
23360
23387
|
/**
|
|
23361
23388
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23362
23389
|
* 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-gree",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.57",
|
|
4
4
|
"description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|