@camstack/addon-provider-bosch 0.1.17 → 0.1.19
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/{account-integration-offline-W-dxoTT1.mjs → account-integration-offline-B9spxppg.mjs} +1 -1
- package/dist/{account-integration-offline-pY2Ojv8k.js → account-integration-offline-D5EEH5Xn.js} +1 -1
- package/dist/{dist-D6D2JO8x.js → dist-C5fLGNXK.js} +261 -120
- package/dist/{dist-C8QaBSuL.mjs → dist-LGjOHvFG.mjs} +256 -121
- package/dist/home-connect/addon.js +79 -7
- package/dist/home-connect/addon.mjs +79 -7
- package/dist/homecom/addon.js +2 -2
- package/dist/homecom/addon.mjs +2 -2
- package/dist/shc/addon.js +1 -1
- package/dist/shc/addon.mjs +1 -1
- package/package.json +4 -1
|
@@ -5431,7 +5431,7 @@ var ZodIssueCode = {
|
|
|
5431
5431
|
var ZodFirstPartyTypeKind;
|
|
5432
5432
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5433
5433
|
//#endregion
|
|
5434
|
-
//#region ../types/dist/sleep-
|
|
5434
|
+
//#region ../types/dist/sleep-CUp20JkO.mjs
|
|
5435
5435
|
/**
|
|
5436
5436
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5437
5437
|
* window to float samples (D455).
|
|
@@ -8327,7 +8327,11 @@ var ContributionSectionSchema = object({
|
|
|
8327
8327
|
literal(4)
|
|
8328
8328
|
]).optional(),
|
|
8329
8329
|
tab: string().optional(),
|
|
8330
|
-
location: _enum([
|
|
8330
|
+
location: _enum([
|
|
8331
|
+
"settings",
|
|
8332
|
+
"top-tab",
|
|
8333
|
+
"hero"
|
|
8334
|
+
]).optional(),
|
|
8331
8335
|
order: number().optional(),
|
|
8332
8336
|
fields: array(any())
|
|
8333
8337
|
});
|
|
@@ -13282,7 +13286,11 @@ var ConfigSectionWithValuesSchema = object({
|
|
|
13282
13286
|
literal(4)
|
|
13283
13287
|
]).optional(),
|
|
13284
13288
|
tab: string().optional(),
|
|
13285
|
-
location: _enum([
|
|
13289
|
+
location: _enum([
|
|
13290
|
+
"settings",
|
|
13291
|
+
"top-tab",
|
|
13292
|
+
"hero"
|
|
13293
|
+
]).optional(),
|
|
13286
13294
|
order: number().optional(),
|
|
13287
13295
|
fields: array(any())
|
|
13288
13296
|
});
|
|
@@ -17162,6 +17170,52 @@ var TierStatusSchema = object({
|
|
|
17162
17170
|
countedAt: number().nullable()
|
|
17163
17171
|
});
|
|
17164
17172
|
/** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
|
|
17173
|
+
/**
|
|
17174
|
+
* Why a series is orphan. `device-gone`: its device is absent from the
|
|
17175
|
+
* successful device listings (the departure clock). `undeclared`: its `cap:`
|
|
17176
|
+
* key is declared by no capability any more (a field a cap removed).
|
|
17177
|
+
*/
|
|
17178
|
+
var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
|
|
17179
|
+
/** Rows held per stored tier. */
|
|
17180
|
+
var TierRowsSchema = object({
|
|
17181
|
+
raw: number().int(),
|
|
17182
|
+
"5m": number().int(),
|
|
17183
|
+
"1h": number().int(),
|
|
17184
|
+
"1d": number().int()
|
|
17185
|
+
});
|
|
17186
|
+
var OrphanSeriesSchema = object({
|
|
17187
|
+
seriesId: number().int(),
|
|
17188
|
+
deviceId: number().int(),
|
|
17189
|
+
key: string(),
|
|
17190
|
+
scope: string(),
|
|
17191
|
+
/** The metric's display name; `null` when its metric row is gone too. */
|
|
17192
|
+
displayName: string().nullable(),
|
|
17193
|
+
reason: DeviceHistoryOrphanReasonSchema,
|
|
17194
|
+
/** `device-gone`: since when the device has been absent; `null` otherwise. */
|
|
17195
|
+
missingSince: number().nullable(),
|
|
17196
|
+
firstTs: number(),
|
|
17197
|
+
lastTs: number(),
|
|
17198
|
+
rows: TierRowsSchema
|
|
17199
|
+
});
|
|
17200
|
+
var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
|
|
17201
|
+
"not-found",
|
|
17202
|
+
"not-orphan",
|
|
17203
|
+
"failed"
|
|
17204
|
+
]);
|
|
17205
|
+
var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
|
|
17206
|
+
seriesId: number().int(),
|
|
17207
|
+
ok: literal(true),
|
|
17208
|
+
deleted: TierRowsSchema
|
|
17209
|
+
}), object({
|
|
17210
|
+
seriesId: number().int(),
|
|
17211
|
+
ok: literal(false),
|
|
17212
|
+
reason: DeviceHistoryOrphanDeleteRefusalSchema
|
|
17213
|
+
})]);
|
|
17214
|
+
var OrphanListSchema = object({
|
|
17215
|
+
series: array(OrphanSeriesSchema).readonly(),
|
|
17216
|
+
/** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
|
|
17217
|
+
truncated: boolean()
|
|
17218
|
+
});
|
|
17165
17219
|
var DeviceHistoryStatusSchema = object({
|
|
17166
17220
|
startedAt: number(),
|
|
17167
17221
|
/** The store is declared, series loaded and the first reconcile has answered. */
|
|
@@ -17259,7 +17313,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
|
|
|
17259
17313
|
}), object({ enabled: boolean() }), {
|
|
17260
17314
|
kind: "mutation",
|
|
17261
17315
|
auth: "admin"
|
|
17262
|
-
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" })
|
|
17316
|
+
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" }), method(object({}), OrphanListSchema, { auth: "admin" }), method(object({ seriesIds: array(number().int()).min(1).max(50) }), object({ results: array(OrphanDeleteEntrySchema).readonly() }), {
|
|
17317
|
+
kind: "mutation",
|
|
17318
|
+
auth: "admin"
|
|
17319
|
+
});
|
|
17263
17320
|
var DeviceCaStatusSchema = discriminatedUnion("state", [
|
|
17264
17321
|
object({ state: literal("absent") }),
|
|
17265
17322
|
object({
|
|
@@ -50230,6 +50287,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50230
50287
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50231
50288
|
available: boolean(),
|
|
50232
50289
|
/**
|
|
50290
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50291
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50292
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50293
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50294
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50295
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50296
|
+
*/
|
|
50297
|
+
presence: _enum([
|
|
50298
|
+
"present",
|
|
50299
|
+
"absent",
|
|
50300
|
+
"unknown"
|
|
50301
|
+
]).optional(),
|
|
50302
|
+
/**
|
|
50233
50303
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50234
50304
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50235
50305
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50455,7 +50525,13 @@ method(object({
|
|
|
50455
50525
|
}), object({ success: literal(true) }), {
|
|
50456
50526
|
kind: "mutation",
|
|
50457
50527
|
auth: "admin"
|
|
50458
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50528
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50529
|
+
agentNodeId: string(),
|
|
50530
|
+
deviceKey: string()
|
|
50531
|
+
}), object({ success: literal(true) }), {
|
|
50532
|
+
kind: "mutation",
|
|
50533
|
+
auth: "admin"
|
|
50534
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50459
50535
|
success: literal(true),
|
|
50460
50536
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50461
50537
|
effectiveModelId: string().nullable(),
|
|
@@ -55127,17 +55203,69 @@ var connectivityCapability = {
|
|
|
55127
55203
|
volatileStateFields: ["lastChangedAt"]
|
|
55128
55204
|
};
|
|
55129
55205
|
/**
|
|
55130
|
-
* Generic device-consumables capability —
|
|
55131
|
-
*
|
|
55132
|
-
* descaling cycles,
|
|
55133
|
-
*
|
|
55134
|
-
*
|
|
55135
|
-
*
|
|
55206
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
55207
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
55208
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
55209
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
55210
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
55211
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
55212
|
+
* its device tracks consumables registers it; the provider names each item
|
|
55213
|
+
* verbatim and says which `kind` it is.
|
|
55214
|
+
*
|
|
55215
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
55216
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
55217
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
55136
55218
|
*
|
|
55137
55219
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
55138
55220
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
55139
55221
|
* "No consumables reported" placeholder when `items` is empty.
|
|
55140
55222
|
*/
|
|
55223
|
+
/**
|
|
55224
|
+
* What an item IS, which decides which direction is bad:
|
|
55225
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
55226
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
55227
|
+
* salt, rinse aid); low or empty is bad.
|
|
55228
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
55229
|
+
* bad.
|
|
55230
|
+
* Absent = `wear`.
|
|
55231
|
+
*/
|
|
55232
|
+
var ConsumableKindSchema = _enum([
|
|
55233
|
+
"wear",
|
|
55234
|
+
"supply",
|
|
55235
|
+
"waste"
|
|
55236
|
+
]);
|
|
55237
|
+
/**
|
|
55238
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
55239
|
+
* of `kind`, which decides which direction is bad:
|
|
55240
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
55241
|
+
* remaining time and a reset.
|
|
55242
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
55243
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
55244
|
+
* a stepped level and "refill".
|
|
55245
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
55246
|
+
* that warns when full.
|
|
55247
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
55248
|
+
*/
|
|
55249
|
+
var ConsumableFormSchema = _enum([
|
|
55250
|
+
"part",
|
|
55251
|
+
"tank",
|
|
55252
|
+
"product",
|
|
55253
|
+
"bin"
|
|
55254
|
+
]);
|
|
55255
|
+
/** The provider's own discrete verdict on an item. */
|
|
55256
|
+
var ConsumableStatusSchema = _enum([
|
|
55257
|
+
"ok",
|
|
55258
|
+
"low",
|
|
55259
|
+
"empty",
|
|
55260
|
+
"full",
|
|
55261
|
+
"replace"
|
|
55262
|
+
]);
|
|
55263
|
+
_enum([
|
|
55264
|
+
"ok",
|
|
55265
|
+
"low",
|
|
55266
|
+
"empty",
|
|
55267
|
+
"full"
|
|
55268
|
+
]);
|
|
55141
55269
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
55142
55270
|
* each. */
|
|
55143
55271
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -55152,18 +55280,23 @@ var ConsumableRemainingSchema = object({
|
|
|
55152
55280
|
unit: ConsumableRemainingUnitSchema
|
|
55153
55281
|
});
|
|
55154
55282
|
/** A single consumable item. Either a continuous `level` (remaining
|
|
55155
|
-
* life
|
|
55156
|
-
*
|
|
55157
|
-
* mutually exclusive; a provider may
|
|
55283
|
+
* life %, or fill % for a `supply` / `waste` item) or a discrete `status`
|
|
55284
|
+
* may be known — both may be null when a provider only knows the item
|
|
55285
|
+
* exists. `level` and `status` are not mutually exclusive; a provider may
|
|
55286
|
+
* report both. */
|
|
55158
55287
|
var ConsumableItemSchema = object({
|
|
55159
55288
|
/** Stable id, e.g. 'main-brush'. */
|
|
55160
55289
|
key: string().min(1),
|
|
55161
55290
|
/** Display name. */
|
|
55162
55291
|
label: string().min(1),
|
|
55163
|
-
/** Remaining life % when known (0..100). */
|
|
55292
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
55164
55293
|
level: number().min(0).max(100).nullable(),
|
|
55165
|
-
/**
|
|
55166
|
-
status:
|
|
55294
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
55295
|
+
status: ConsumableStatusSchema.nullable(),
|
|
55296
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
55297
|
+
kind: ConsumableKindSchema.optional(),
|
|
55298
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
55299
|
+
form: ConsumableFormSchema.optional(),
|
|
55167
55300
|
/** Ms epoch of the last replace, when known. */
|
|
55168
55301
|
lastResetAt: number().nullable(),
|
|
55169
55302
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -55186,7 +55319,7 @@ var consumablesCapability = {
|
|
|
55186
55319
|
kind: "widget",
|
|
55187
55320
|
widgetId: "host/consumables-panel",
|
|
55188
55321
|
tab: "consumables",
|
|
55189
|
-
|
|
55322
|
+
placement: "hero",
|
|
55190
55323
|
label: "Consumables",
|
|
55191
55324
|
order: 5
|
|
55192
55325
|
} },
|
|
@@ -55247,9 +55380,37 @@ reset: method(object({
|
|
|
55247
55380
|
*/
|
|
55248
55381
|
durability: "restored",
|
|
55249
55382
|
/**
|
|
55250
|
-
* History (D850):
|
|
55383
|
+
* History (D850, D917): one series per (item field, item `key`) — the item key
|
|
55384
|
+
* is the series scope, the item `label` names it. A vacuum tank's fill, a
|
|
55385
|
+
* brush's remaining life and a dishwasher's salt are each recorded the moment
|
|
55386
|
+
* their provider reports them; an item that appears later gets its series.
|
|
55251
55387
|
*/
|
|
55252
|
-
history:
|
|
55388
|
+
history: {
|
|
55389
|
+
fields: {},
|
|
55390
|
+
items: {
|
|
55391
|
+
path: "items",
|
|
55392
|
+
key: "key",
|
|
55393
|
+
label: "label",
|
|
55394
|
+
fields: {
|
|
55395
|
+
level: {
|
|
55396
|
+
kind: "gauge",
|
|
55397
|
+
unit: "%",
|
|
55398
|
+
deadband: 2,
|
|
55399
|
+
displayName: "Level"
|
|
55400
|
+
},
|
|
55401
|
+
status: {
|
|
55402
|
+
kind: "enum",
|
|
55403
|
+
displayName: "Status"
|
|
55404
|
+
},
|
|
55405
|
+
"remaining.value": {
|
|
55406
|
+
kind: "gauge",
|
|
55407
|
+
unitFrom: "remaining.unit",
|
|
55408
|
+
deadband: 1,
|
|
55409
|
+
displayName: "Remaining"
|
|
55410
|
+
}
|
|
55411
|
+
}
|
|
55412
|
+
}
|
|
55413
|
+
},
|
|
55253
55414
|
/** Clocks, not content: a re-read that changed no item costs no commit. */
|
|
55254
55415
|
volatileStateFields: ["lastChangedAt", "lastFetchedAt"]
|
|
55255
55416
|
};
|
|
@@ -55664,8 +55825,9 @@ onStatusChanged: { data: object({
|
|
|
55664
55825
|
volatileStateFields: ["lastChangedAt"]
|
|
55665
55826
|
};
|
|
55666
55827
|
/**
|
|
55667
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
55668
|
-
*
|
|
55828
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
55829
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
55830
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
55669
55831
|
*
|
|
55670
55832
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
55671
55833
|
* by any integration that exposes the same program / option surface.
|
|
@@ -55713,11 +55875,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
55713
55875
|
"offline",
|
|
55714
55876
|
"description-missing"
|
|
55715
55877
|
]);
|
|
55716
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
55717
|
-
"ok",
|
|
55718
|
-
"low",
|
|
55719
|
-
"empty"
|
|
55720
|
-
]);
|
|
55721
55878
|
var DishwasherStatusSchema = object({
|
|
55722
55879
|
availability: DishwasherAvailabilitySchema,
|
|
55723
55880
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -55750,8 +55907,6 @@ var DishwasherStatusSchema = object({
|
|
|
55750
55907
|
powerOn: boolean().nullable(),
|
|
55751
55908
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
55752
55909
|
powerState: string().nullable(),
|
|
55753
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55754
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55755
55910
|
/**
|
|
55756
55911
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
55757
55912
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -58627,7 +58782,7 @@ var motionTriggerCapability = {
|
|
|
58627
58782
|
enabled: boolean()
|
|
58628
58783
|
}), _void(), {
|
|
58629
58784
|
kind: "mutation",
|
|
58630
|
-
auth: "
|
|
58785
|
+
auth: "protected"
|
|
58631
58786
|
}) },
|
|
58632
58787
|
events: { onMotionTriggerChanged: { data: object({
|
|
58633
58788
|
deviceId: number(),
|
|
@@ -59357,6 +59512,13 @@ var TopologyNodeSchema = object({
|
|
|
59357
59512
|
cpuModel: string().nullable(),
|
|
59358
59513
|
cpuCores: number(),
|
|
59359
59514
|
memoryMB: number(),
|
|
59515
|
+
/**
|
|
59516
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
59517
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
59518
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
59519
|
+
* after the stick leaves, D919); the live device set is
|
|
59520
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
59521
|
+
*/
|
|
59360
59522
|
engines: array(string()).readonly(),
|
|
59361
59523
|
isHub: boolean(),
|
|
59362
59524
|
isOnline: boolean(),
|
|
@@ -60474,7 +60636,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
60474
60636
|
format: ModelFormatSchema,
|
|
60475
60637
|
reason: string()
|
|
60476
60638
|
});
|
|
60477
|
-
|
|
60639
|
+
/**
|
|
60640
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
60641
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
60642
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
60643
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
60644
|
+
*/
|
|
60645
|
+
var AcceleratorRescanSchema = object({
|
|
60646
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
60647
|
+
appeared: array(string()).readonly(),
|
|
60648
|
+
disappeared: array(string()).readonly(),
|
|
60649
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
60650
|
+
decidedBy: _enum([
|
|
60651
|
+
"usb-ids",
|
|
60652
|
+
"pci",
|
|
60653
|
+
"delegate-fallback",
|
|
60654
|
+
"none"
|
|
60655
|
+
])
|
|
60656
|
+
});
|
|
60657
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
60658
|
+
kind: "mutation",
|
|
60659
|
+
auth: "admin"
|
|
60660
|
+
});
|
|
60478
60661
|
/**
|
|
60479
60662
|
* Multi-metric electrical meter. One slice can carry any combination
|
|
60480
60663
|
* of instantaneous power (W), cumulative energy (kWh), voltage (V),
|
|
@@ -64567,60 +64750,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
64567
64750
|
auth: "admin",
|
|
64568
64751
|
access: "delete"
|
|
64569
64752
|
});
|
|
64570
|
-
/**
|
|
64571
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
64572
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
64573
|
-
* optional fan-speed selector.
|
|
64574
|
-
*
|
|
64575
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
64576
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
64577
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
64578
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
64579
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
64580
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
64581
|
-
*
|
|
64582
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
64583
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
64584
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
64585
|
-
*
|
|
64586
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
64587
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
64588
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
64589
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
64590
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
64591
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
64592
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
64593
|
-
* so the HA provider leaves all four `null`.
|
|
64594
|
-
*/
|
|
64595
|
-
var VacuumStateSchema = _enum([
|
|
64596
|
-
"idle",
|
|
64597
|
-
"cleaning",
|
|
64598
|
-
"paused",
|
|
64599
|
-
"returning",
|
|
64600
|
-
"docked",
|
|
64601
|
-
"drying",
|
|
64602
|
-
"error"
|
|
64603
|
-
]);
|
|
64604
|
-
/**
|
|
64605
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
64606
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
64607
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
64608
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
64609
|
-
* hardware has no such tank at all.
|
|
64610
|
-
*/
|
|
64611
|
-
var TankStatusSchema = object({
|
|
64612
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
64613
|
-
level: number().min(0).max(100).nullable(),
|
|
64614
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
64615
|
-
status: _enum([
|
|
64616
|
-
"ok",
|
|
64617
|
-
"low",
|
|
64618
|
-
"full"
|
|
64619
|
-
]).nullable()
|
|
64620
|
-
});
|
|
64621
64753
|
var VacuumControlStatusSchema = object({
|
|
64622
64754
|
/** Lifecycle state of the vacuum. */
|
|
64623
|
-
state:
|
|
64755
|
+
state: _enum([
|
|
64756
|
+
"idle",
|
|
64757
|
+
"cleaning",
|
|
64758
|
+
"paused",
|
|
64759
|
+
"returning",
|
|
64760
|
+
"docked",
|
|
64761
|
+
"drying",
|
|
64762
|
+
"error"
|
|
64763
|
+
]),
|
|
64624
64764
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
64625
64765
|
* reading. */
|
|
64626
64766
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -64629,14 +64769,6 @@ var VacuumControlStatusSchema = object({
|
|
|
64629
64769
|
fanSpeed: string().nullable(),
|
|
64630
64770
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
64631
64771
|
availableFanSpeeds: array(string()),
|
|
64632
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
64633
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
64634
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
64635
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
64636
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
64637
|
-
detergent: TankStatusSchema.nullable(),
|
|
64638
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
64639
|
-
dustBin: TankStatusSchema.nullable(),
|
|
64640
64772
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
64641
64773
|
progressPercent: number().min(0).max(100).nullable(),
|
|
64642
64774
|
/** Current error code (0 / null = no error). */
|
|
@@ -64698,35 +64830,14 @@ var vacuumControlCapability = {
|
|
|
64698
64830
|
*/
|
|
64699
64831
|
durability: "session",
|
|
64700
64832
|
/**
|
|
64701
|
-
* History (D850): recorded series.
|
|
64833
|
+
* History (D850): recorded series. The tanks moved to `consumables` (D915), whose
|
|
64834
|
+
* items are keyed by runtime ids and record no history.
|
|
64702
64835
|
*/
|
|
64703
|
-
history: { fields: {
|
|
64704
|
-
|
|
64705
|
-
|
|
64706
|
-
|
|
64707
|
-
|
|
64708
|
-
},
|
|
64709
|
-
"cleanWater.level": {
|
|
64710
|
-
kind: "gauge",
|
|
64711
|
-
unit: "%",
|
|
64712
|
-
deadband: 2
|
|
64713
|
-
},
|
|
64714
|
-
"dirtyWater.level": {
|
|
64715
|
-
kind: "gauge",
|
|
64716
|
-
unit: "%",
|
|
64717
|
-
deadband: 2
|
|
64718
|
-
},
|
|
64719
|
-
"detergent.level": {
|
|
64720
|
-
kind: "gauge",
|
|
64721
|
-
unit: "%",
|
|
64722
|
-
deadband: 2
|
|
64723
|
-
},
|
|
64724
|
-
"dustBin.level": {
|
|
64725
|
-
kind: "gauge",
|
|
64726
|
-
unit: "%",
|
|
64727
|
-
deadband: 2
|
|
64728
|
-
}
|
|
64729
|
-
} }
|
|
64836
|
+
history: { fields: { batteryLevel: {
|
|
64837
|
+
kind: "gauge",
|
|
64838
|
+
unit: "%",
|
|
64839
|
+
deadband: 2
|
|
64840
|
+
} } }
|
|
64730
64841
|
};
|
|
64731
64842
|
var ValveStatusSchema = object({
|
|
64732
64843
|
/** Lifecycle state of the valve. */
|
|
@@ -69120,6 +69231,12 @@ Object.freeze({
|
|
|
69120
69231
|
addonId: null,
|
|
69121
69232
|
access: "create"
|
|
69122
69233
|
},
|
|
69234
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
69235
|
+
capName: "device-history",
|
|
69236
|
+
capScope: "system",
|
|
69237
|
+
addonId: null,
|
|
69238
|
+
access: "delete"
|
|
69239
|
+
},
|
|
69123
69240
|
"deviceHistory.getDeviceEnabled": {
|
|
69124
69241
|
capName: "device-history",
|
|
69125
69242
|
capScope: "system",
|
|
@@ -69138,6 +69255,12 @@ Object.freeze({
|
|
|
69138
69255
|
addonId: null,
|
|
69139
69256
|
access: "view"
|
|
69140
69257
|
},
|
|
69258
|
+
"deviceHistory.listOrphanSeries": {
|
|
69259
|
+
capName: "device-history",
|
|
69260
|
+
capScope: "system",
|
|
69261
|
+
addonId: null,
|
|
69262
|
+
access: "view"
|
|
69263
|
+
},
|
|
69141
69264
|
"deviceHistory.listSeries": {
|
|
69142
69265
|
capName: "device-history",
|
|
69143
69266
|
capScope: "system",
|
|
@@ -72762,6 +72885,12 @@ Object.freeze({
|
|
|
72762
72885
|
addonId: null,
|
|
72763
72886
|
access: "delete"
|
|
72764
72887
|
},
|
|
72888
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
72889
|
+
capName: "pipeline-orchestrator",
|
|
72890
|
+
capScope: "system",
|
|
72891
|
+
addonId: null,
|
|
72892
|
+
access: "delete"
|
|
72893
|
+
},
|
|
72765
72894
|
"pipelineOrchestrator.getAgentLoad": {
|
|
72766
72895
|
capName: "pipeline-orchestrator",
|
|
72767
72896
|
capScope: "system",
|
|
@@ -73338,6 +73467,12 @@ Object.freeze({
|
|
|
73338
73467
|
addonId: null,
|
|
73339
73468
|
access: "view"
|
|
73340
73469
|
},
|
|
73470
|
+
"platformProbe.rescanAccelerators": {
|
|
73471
|
+
capName: "platform-probe",
|
|
73472
|
+
capScope: "system",
|
|
73473
|
+
addonId: null,
|
|
73474
|
+
access: "create"
|
|
73475
|
+
},
|
|
73341
73476
|
"platformProbe.resolveHwAccel": {
|
|
73342
73477
|
capName: "platform-probe",
|
|
73343
73478
|
capScope: "system",
|
|
@@ -79143,7 +79278,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
79143
79278
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
79144
79279
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
79145
79280
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
79146
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
79281
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
79147
79282
|
([...RULE_TEXT], [...TANK]),
|
|
79148
79283
|
[...RULE_TEXT],
|
|
79149
79284
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
@@ -79913,6 +80048,12 @@ Object.defineProperty(exports, "connectionTestCapability", {
|
|
|
79913
80048
|
return connectionTestCapability;
|
|
79914
80049
|
}
|
|
79915
80050
|
});
|
|
80051
|
+
Object.defineProperty(exports, "consumablesCapability", {
|
|
80052
|
+
enumerable: true,
|
|
80053
|
+
get: function() {
|
|
80054
|
+
return consumablesCapability;
|
|
80055
|
+
}
|
|
80056
|
+
});
|
|
79916
80057
|
Object.defineProperty(exports, "createEvent", {
|
|
79917
80058
|
enumerable: true,
|
|
79918
80059
|
get: function() {
|