@camstack/addon-training 0.1.73 → 0.1.75
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/{MotionZonesSettings-DIgLjY4z.mjs → MotionZonesSettings-C9bkQa-A.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-BY7FP9LG.mjs → PrivacyMaskSettings-Q8Q9kHuZ.mjs} +2 -2
- package/dist/{SceneMonitorEditor-CGlbBXoT.mjs → SceneMonitorEditor-DVDBQyRh.mjs} +1 -1
- package/dist/_stub.js +5702 -5590
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-51yA9etr.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-CSXSlM0n.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CSzn01SK.mjs +26 -0
- package/dist/addon-training.css +1 -1
- package/dist/{dist-mbttyND-.js → dist-CR1t4ErH.js} +213 -86
- package/dist/{dist-BCzxvw2H.mjs → dist-DjapScjn.mjs} +213 -86
- package/dist/{hostInit-DIv_FZGg.mjs → hostInit-DisiZ5DY.mjs} +3 -3
- package/dist/{icons-DG9GIB-J.mjs → icons-DGnDNIHD.mjs} +615 -602
- package/dist/index.js +1 -1
- package/dist/orchestrator/training.addon.js +1 -1
- package/dist/orchestrator/training.addon.mjs +1 -1
- package/dist/{player-overlays-DOzstwdZ.mjs → player-overlays-CGcrSt2j.mjs} +19 -12
- package/dist/providers/modal/training-modal.addon.js +1 -1
- package/dist/providers/modal/training-modal.addon.mjs +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-D5pOKYim.mjs → responsive-Dbc1rEu9.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-BZa39O_w.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-B8YAAD-K.mjs} +1 -1
- package/dist/{zoom-out-BqtOwgKe.mjs → zoom-out-DzQMgNQw.mjs} +117 -130
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CDZSeqY9.mjs +0 -26
|
@@ -5597,7 +5597,7 @@ var ZodIssueCode = {
|
|
|
5597
5597
|
var ZodFirstPartyTypeKind;
|
|
5598
5598
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5599
5599
|
//#endregion
|
|
5600
|
-
//#region ../types/dist/sleep-
|
|
5600
|
+
//#region ../types/dist/sleep-CUp20JkO.mjs
|
|
5601
5601
|
/**
|
|
5602
5602
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5603
5603
|
* window to float samples (D455).
|
|
@@ -8670,7 +8670,11 @@ var ContributionSectionSchema = object({
|
|
|
8670
8670
|
literal(4)
|
|
8671
8671
|
]).optional(),
|
|
8672
8672
|
tab: string().optional(),
|
|
8673
|
-
location: _enum([
|
|
8673
|
+
location: _enum([
|
|
8674
|
+
"settings",
|
|
8675
|
+
"top-tab",
|
|
8676
|
+
"hero"
|
|
8677
|
+
]).optional(),
|
|
8674
8678
|
order: number().optional(),
|
|
8675
8679
|
fields: array(any())
|
|
8676
8680
|
});
|
|
@@ -13624,7 +13628,11 @@ var ConfigSectionWithValuesSchema = object({
|
|
|
13624
13628
|
literal(4)
|
|
13625
13629
|
]).optional(),
|
|
13626
13630
|
tab: string().optional(),
|
|
13627
|
-
location: _enum([
|
|
13631
|
+
location: _enum([
|
|
13632
|
+
"settings",
|
|
13633
|
+
"top-tab",
|
|
13634
|
+
"hero"
|
|
13635
|
+
]).optional(),
|
|
13628
13636
|
order: number().optional(),
|
|
13629
13637
|
fields: array(any())
|
|
13630
13638
|
});
|
|
@@ -17398,6 +17406,52 @@ var TierStatusSchema = object({
|
|
|
17398
17406
|
countedAt: number().nullable()
|
|
17399
17407
|
});
|
|
17400
17408
|
/** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
|
|
17409
|
+
/**
|
|
17410
|
+
* Why a series is orphan. `device-gone`: its device is absent from the
|
|
17411
|
+
* successful device listings (the departure clock). `undeclared`: its `cap:`
|
|
17412
|
+
* key is declared by no capability any more (a field a cap removed).
|
|
17413
|
+
*/
|
|
17414
|
+
var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
|
|
17415
|
+
/** Rows held per stored tier. */
|
|
17416
|
+
var TierRowsSchema = object({
|
|
17417
|
+
raw: number().int(),
|
|
17418
|
+
"5m": number().int(),
|
|
17419
|
+
"1h": number().int(),
|
|
17420
|
+
"1d": number().int()
|
|
17421
|
+
});
|
|
17422
|
+
var OrphanSeriesSchema = object({
|
|
17423
|
+
seriesId: number().int(),
|
|
17424
|
+
deviceId: number().int(),
|
|
17425
|
+
key: string(),
|
|
17426
|
+
scope: string(),
|
|
17427
|
+
/** The metric's display name; `null` when its metric row is gone too. */
|
|
17428
|
+
displayName: string().nullable(),
|
|
17429
|
+
reason: DeviceHistoryOrphanReasonSchema,
|
|
17430
|
+
/** `device-gone`: since when the device has been absent; `null` otherwise. */
|
|
17431
|
+
missingSince: number().nullable(),
|
|
17432
|
+
firstTs: number(),
|
|
17433
|
+
lastTs: number(),
|
|
17434
|
+
rows: TierRowsSchema
|
|
17435
|
+
});
|
|
17436
|
+
var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
|
|
17437
|
+
"not-found",
|
|
17438
|
+
"not-orphan",
|
|
17439
|
+
"failed"
|
|
17440
|
+
]);
|
|
17441
|
+
var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
|
|
17442
|
+
seriesId: number().int(),
|
|
17443
|
+
ok: literal(true),
|
|
17444
|
+
deleted: TierRowsSchema
|
|
17445
|
+
}), object({
|
|
17446
|
+
seriesId: number().int(),
|
|
17447
|
+
ok: literal(false),
|
|
17448
|
+
reason: DeviceHistoryOrphanDeleteRefusalSchema
|
|
17449
|
+
})]);
|
|
17450
|
+
var OrphanListSchema = object({
|
|
17451
|
+
series: array(OrphanSeriesSchema).readonly(),
|
|
17452
|
+
/** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
|
|
17453
|
+
truncated: boolean()
|
|
17454
|
+
});
|
|
17401
17455
|
var DeviceHistoryStatusSchema = object({
|
|
17402
17456
|
startedAt: number(),
|
|
17403
17457
|
/** The store is declared, series loaded and the first reconcile has answered. */
|
|
@@ -17495,7 +17549,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
|
|
|
17495
17549
|
}), object({ enabled: boolean() }), {
|
|
17496
17550
|
kind: "mutation",
|
|
17497
17551
|
auth: "admin"
|
|
17498
|
-
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" })
|
|
17552
|
+
}), 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() }), {
|
|
17553
|
+
kind: "mutation",
|
|
17554
|
+
auth: "admin"
|
|
17555
|
+
});
|
|
17499
17556
|
var DeviceCaStatusSchema = discriminatedUnion("state", [
|
|
17500
17557
|
object({ state: literal("absent") }),
|
|
17501
17558
|
object({
|
|
@@ -50169,6 +50226,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50169
50226
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50170
50227
|
available: boolean(),
|
|
50171
50228
|
/**
|
|
50229
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50230
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50231
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50232
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50233
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50234
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50235
|
+
*/
|
|
50236
|
+
presence: _enum([
|
|
50237
|
+
"present",
|
|
50238
|
+
"absent",
|
|
50239
|
+
"unknown"
|
|
50240
|
+
]).optional(),
|
|
50241
|
+
/**
|
|
50172
50242
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50173
50243
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50174
50244
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50394,7 +50464,13 @@ method(object({
|
|
|
50394
50464
|
}), object({ success: literal(true) }), {
|
|
50395
50465
|
kind: "mutation",
|
|
50396
50466
|
auth: "admin"
|
|
50397
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50467
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50468
|
+
agentNodeId: string(),
|
|
50469
|
+
deviceKey: string()
|
|
50470
|
+
}), object({ success: literal(true) }), {
|
|
50471
|
+
kind: "mutation",
|
|
50472
|
+
auth: "admin"
|
|
50473
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50398
50474
|
success: literal(true),
|
|
50399
50475
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50400
50476
|
effectiveModelId: string().nullable(),
|
|
@@ -54504,17 +54580,69 @@ object({
|
|
|
54504
54580
|
});
|
|
54505
54581
|
DeviceType.Sensor;
|
|
54506
54582
|
/**
|
|
54507
|
-
* Generic device-consumables capability —
|
|
54508
|
-
*
|
|
54509
|
-
* descaling cycles,
|
|
54510
|
-
*
|
|
54511
|
-
*
|
|
54512
|
-
*
|
|
54583
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
54584
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
54585
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
54586
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
54587
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
54588
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
54589
|
+
* its device tracks consumables registers it; the provider names each item
|
|
54590
|
+
* verbatim and says which `kind` it is.
|
|
54591
|
+
*
|
|
54592
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
54593
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
54594
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
54513
54595
|
*
|
|
54514
54596
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
54515
54597
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
54516
54598
|
* "No consumables reported" placeholder when `items` is empty.
|
|
54517
54599
|
*/
|
|
54600
|
+
/**
|
|
54601
|
+
* What an item IS, which decides which direction is bad:
|
|
54602
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
54603
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
54604
|
+
* salt, rinse aid); low or empty is bad.
|
|
54605
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
54606
|
+
* bad.
|
|
54607
|
+
* Absent = `wear`.
|
|
54608
|
+
*/
|
|
54609
|
+
var ConsumableKindSchema = _enum([
|
|
54610
|
+
"wear",
|
|
54611
|
+
"supply",
|
|
54612
|
+
"waste"
|
|
54613
|
+
]);
|
|
54614
|
+
/**
|
|
54615
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
54616
|
+
* of `kind`, which decides which direction is bad:
|
|
54617
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
54618
|
+
* remaining time and a reset.
|
|
54619
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
54620
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
54621
|
+
* a stepped level and "refill".
|
|
54622
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
54623
|
+
* that warns when full.
|
|
54624
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
54625
|
+
*/
|
|
54626
|
+
var ConsumableFormSchema = _enum([
|
|
54627
|
+
"part",
|
|
54628
|
+
"tank",
|
|
54629
|
+
"product",
|
|
54630
|
+
"bin"
|
|
54631
|
+
]);
|
|
54632
|
+
/** The provider's own discrete verdict on an item. */
|
|
54633
|
+
var ConsumableStatusSchema = _enum([
|
|
54634
|
+
"ok",
|
|
54635
|
+
"low",
|
|
54636
|
+
"empty",
|
|
54637
|
+
"full",
|
|
54638
|
+
"replace"
|
|
54639
|
+
]);
|
|
54640
|
+
_enum([
|
|
54641
|
+
"ok",
|
|
54642
|
+
"low",
|
|
54643
|
+
"empty",
|
|
54644
|
+
"full"
|
|
54645
|
+
]);
|
|
54518
54646
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
54519
54647
|
* each. */
|
|
54520
54648
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -54534,10 +54662,14 @@ var ConsumablesStatusSchema = object({
|
|
|
54534
54662
|
key: string().min(1),
|
|
54535
54663
|
/** Display name. */
|
|
54536
54664
|
label: string().min(1),
|
|
54537
|
-
/** Remaining life % when known (0..100). */
|
|
54665
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
54538
54666
|
level: number().min(0).max(100).nullable(),
|
|
54539
|
-
/**
|
|
54540
|
-
status:
|
|
54667
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
54668
|
+
status: ConsumableStatusSchema.nullable(),
|
|
54669
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
54670
|
+
kind: ConsumableKindSchema.optional(),
|
|
54671
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
54672
|
+
form: ConsumableFormSchema.optional(),
|
|
54541
54673
|
/** Ms epoch of the last replace, when known. */
|
|
54542
54674
|
lastResetAt: number().nullable(),
|
|
54543
54675
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -54772,8 +54904,9 @@ object({
|
|
|
54772
54904
|
status: DeviceStatusSchema
|
|
54773
54905
|
});
|
|
54774
54906
|
/**
|
|
54775
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
54776
|
-
*
|
|
54907
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
54908
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
54909
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
54777
54910
|
*
|
|
54778
54911
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
54779
54912
|
* by any integration that exposes the same program / option surface.
|
|
@@ -54821,11 +54954,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
54821
54954
|
"offline",
|
|
54822
54955
|
"description-missing"
|
|
54823
54956
|
]);
|
|
54824
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
54825
|
-
"ok",
|
|
54826
|
-
"low",
|
|
54827
|
-
"empty"
|
|
54828
|
-
]);
|
|
54829
54957
|
object({
|
|
54830
54958
|
availability: DishwasherAvailabilitySchema,
|
|
54831
54959
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -54858,8 +54986,6 @@ object({
|
|
|
54858
54986
|
powerOn: boolean().nullable(),
|
|
54859
54987
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
54860
54988
|
powerState: string().nullable(),
|
|
54861
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
54862
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
54863
54989
|
/**
|
|
54864
54990
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
54865
54991
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -56899,7 +57025,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
56899
57025
|
enabled: boolean()
|
|
56900
57026
|
}), _void(), {
|
|
56901
57027
|
kind: "mutation",
|
|
56902
|
-
auth: "
|
|
57028
|
+
auth: "protected"
|
|
56903
57029
|
}), object({
|
|
56904
57030
|
deviceId: number(),
|
|
56905
57031
|
enabled: boolean(),
|
|
@@ -57389,6 +57515,13 @@ var TopologyNodeSchema = object({
|
|
|
57389
57515
|
cpuModel: string().nullable(),
|
|
57390
57516
|
cpuCores: number(),
|
|
57391
57517
|
memoryMB: number(),
|
|
57518
|
+
/**
|
|
57519
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
57520
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
57521
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
57522
|
+
* after the stick leaves, D919); the live device set is
|
|
57523
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
57524
|
+
*/
|
|
57392
57525
|
engines: array(string()).readonly(),
|
|
57393
57526
|
isHub: boolean(),
|
|
57394
57527
|
isOnline: boolean(),
|
|
@@ -58353,7 +58486,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
58353
58486
|
format: ModelFormatSchema,
|
|
58354
58487
|
reason: string()
|
|
58355
58488
|
});
|
|
58356
|
-
|
|
58489
|
+
/**
|
|
58490
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
58491
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
58492
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
58493
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
58494
|
+
*/
|
|
58495
|
+
var AcceleratorRescanSchema = object({
|
|
58496
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
58497
|
+
appeared: array(string()).readonly(),
|
|
58498
|
+
disappeared: array(string()).readonly(),
|
|
58499
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
58500
|
+
decidedBy: _enum([
|
|
58501
|
+
"usb-ids",
|
|
58502
|
+
"pci",
|
|
58503
|
+
"delegate-fallback",
|
|
58504
|
+
"none"
|
|
58505
|
+
])
|
|
58506
|
+
});
|
|
58507
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
58508
|
+
kind: "mutation",
|
|
58509
|
+
auth: "admin"
|
|
58510
|
+
});
|
|
58357
58511
|
object({
|
|
58358
58512
|
/** Instantaneous power draw in watts. */
|
|
58359
58513
|
watts: number().optional(),
|
|
@@ -61642,60 +61796,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61642
61796
|
auth: "admin",
|
|
61643
61797
|
access: "delete"
|
|
61644
61798
|
});
|
|
61645
|
-
/**
|
|
61646
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
61647
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
61648
|
-
* optional fan-speed selector.
|
|
61649
|
-
*
|
|
61650
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
61651
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
61652
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
61653
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
61654
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
61655
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
61656
|
-
*
|
|
61657
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
61658
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
61659
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
61660
|
-
*
|
|
61661
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
61662
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
61663
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
61664
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
61665
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
61666
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
61667
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
61668
|
-
* so the HA provider leaves all four `null`.
|
|
61669
|
-
*/
|
|
61670
|
-
var VacuumStateSchema = _enum([
|
|
61671
|
-
"idle",
|
|
61672
|
-
"cleaning",
|
|
61673
|
-
"paused",
|
|
61674
|
-
"returning",
|
|
61675
|
-
"docked",
|
|
61676
|
-
"drying",
|
|
61677
|
-
"error"
|
|
61678
|
-
]);
|
|
61679
|
-
/**
|
|
61680
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
61681
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
61682
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
61683
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
61684
|
-
* hardware has no such tank at all.
|
|
61685
|
-
*/
|
|
61686
|
-
var TankStatusSchema = object({
|
|
61687
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
61688
|
-
level: number().min(0).max(100).nullable(),
|
|
61689
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
61690
|
-
status: _enum([
|
|
61691
|
-
"ok",
|
|
61692
|
-
"low",
|
|
61693
|
-
"full"
|
|
61694
|
-
]).nullable()
|
|
61695
|
-
});
|
|
61696
61799
|
object({
|
|
61697
61800
|
/** Lifecycle state of the vacuum. */
|
|
61698
|
-
state:
|
|
61801
|
+
state: _enum([
|
|
61802
|
+
"idle",
|
|
61803
|
+
"cleaning",
|
|
61804
|
+
"paused",
|
|
61805
|
+
"returning",
|
|
61806
|
+
"docked",
|
|
61807
|
+
"drying",
|
|
61808
|
+
"error"
|
|
61809
|
+
]),
|
|
61699
61810
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
61700
61811
|
* reading. */
|
|
61701
61812
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -61704,14 +61815,6 @@ object({
|
|
|
61704
61815
|
fanSpeed: string().nullable(),
|
|
61705
61816
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
61706
61817
|
availableFanSpeeds: array(string()),
|
|
61707
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
61708
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
61709
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
61710
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
61711
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
61712
|
-
detergent: TankStatusSchema.nullable(),
|
|
61713
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
61714
|
-
dustBin: TankStatusSchema.nullable(),
|
|
61715
61818
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
61716
61819
|
progressPercent: number().min(0).max(100).nullable(),
|
|
61717
61820
|
/** Current error code (0 / null = no error). */
|
|
@@ -64352,6 +64455,12 @@ Object.freeze({
|
|
|
64352
64455
|
addonId: null,
|
|
64353
64456
|
access: "create"
|
|
64354
64457
|
},
|
|
64458
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
64459
|
+
capName: "device-history",
|
|
64460
|
+
capScope: "system",
|
|
64461
|
+
addonId: null,
|
|
64462
|
+
access: "delete"
|
|
64463
|
+
},
|
|
64355
64464
|
"deviceHistory.getDeviceEnabled": {
|
|
64356
64465
|
capName: "device-history",
|
|
64357
64466
|
capScope: "system",
|
|
@@ -64370,6 +64479,12 @@ Object.freeze({
|
|
|
64370
64479
|
addonId: null,
|
|
64371
64480
|
access: "view"
|
|
64372
64481
|
},
|
|
64482
|
+
"deviceHistory.listOrphanSeries": {
|
|
64483
|
+
capName: "device-history",
|
|
64484
|
+
capScope: "system",
|
|
64485
|
+
addonId: null,
|
|
64486
|
+
access: "view"
|
|
64487
|
+
},
|
|
64373
64488
|
"deviceHistory.listSeries": {
|
|
64374
64489
|
capName: "device-history",
|
|
64375
64490
|
capScope: "system",
|
|
@@ -67994,6 +68109,12 @@ Object.freeze({
|
|
|
67994
68109
|
addonId: null,
|
|
67995
68110
|
access: "delete"
|
|
67996
68111
|
},
|
|
68112
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
68113
|
+
capName: "pipeline-orchestrator",
|
|
68114
|
+
capScope: "system",
|
|
68115
|
+
addonId: null,
|
|
68116
|
+
access: "delete"
|
|
68117
|
+
},
|
|
67997
68118
|
"pipelineOrchestrator.getAgentLoad": {
|
|
67998
68119
|
capName: "pipeline-orchestrator",
|
|
67999
68120
|
capScope: "system",
|
|
@@ -68570,6 +68691,12 @@ Object.freeze({
|
|
|
68570
68691
|
addonId: null,
|
|
68571
68692
|
access: "view"
|
|
68572
68693
|
},
|
|
68694
|
+
"platformProbe.rescanAccelerators": {
|
|
68695
|
+
capName: "platform-probe",
|
|
68696
|
+
capScope: "system",
|
|
68697
|
+
addonId: null,
|
|
68698
|
+
access: "create"
|
|
68699
|
+
},
|
|
68573
68700
|
"platformProbe.resolveHwAccel": {
|
|
68574
68701
|
capName: "platform-probe",
|
|
68575
68702
|
capScope: "system",
|
|
@@ -74375,7 +74502,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
74375
74502
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
74376
74503
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
74377
74504
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
74378
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
74505
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
74379
74506
|
([...RULE_TEXT], [...TANK]),
|
|
74380
74507
|
[...RULE_TEXT],
|
|
74381
74508
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|