@camstack/addon-model-studio 1.1.286 → 1.1.288
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-Bh-KUgfj.mjs → MotionZonesSettings-D0BtqOwj.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-BbLJKLoV.mjs → PrivacyMaskSettings-BYJj-5D1.mjs} +4 -4
- package/dist/{SceneMonitorEditor-qruDlUP9.mjs → SceneMonitorEditor-D1kveRgB.mjs} +3 -3
- package/dist/_stub.js +3567 -3759
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-CdxolZWr.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-Bw7NedzE.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-MeghOR6t.mjs +26 -0
- package/dist/addon-model-studio.css +1 -1
- package/dist/{hostInit-C7HoBhCX.mjs → hostInit-B4Fk4H74.mjs} +3 -3
- package/dist/model-studio.addon.js +213 -86
- package/dist/model-studio.addon.mjs +213 -86
- package/dist/{player-overlays-BFVZeg7l.mjs → player-overlays-D92X0xJg.mjs} +19 -12
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-DCC2zJt3.mjs → responsive-D-jqRXmN.mjs} +1 -1
- package/dist/{scene-monitor-copy-gZOBiDdj.mjs → scene-monitor-copy-DMdZvxkb.mjs} +1 -1
- package/dist/{square-_l-jB_AO.mjs → square-epfZBUKr.mjs} +1 -1
- package/dist/{trash-2-DOwb-qnd.mjs → trash-2-Bc8klFfu.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BLWi3oEJ.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-Da_taAOa.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BliJpcti.mjs +0 -26
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.2.
|
|
39
|
+
version: "1.2.402",
|
|
40
40
|
scope: "default",
|
|
41
41
|
shareConfig: {
|
|
42
42
|
singleton: !0,
|
|
@@ -45,7 +45,7 @@ async function r() {
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"@camstack/sdk": {
|
|
48
|
-
version: "1.2.
|
|
48
|
+
version: "1.2.151",
|
|
49
49
|
scope: "default",
|
|
50
50
|
shareConfig: {
|
|
51
51
|
singleton: !0,
|
|
@@ -81,7 +81,7 @@ async function r() {
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"@camstack/ui-library": {
|
|
84
|
-
version: "1.2.
|
|
84
|
+
version: "1.2.318",
|
|
85
85
|
scope: "default",
|
|
86
86
|
shareConfig: {
|
|
87
87
|
singleton: !0,
|
|
@@ -5826,7 +5826,7 @@ var ZodIssueCode = {
|
|
|
5826
5826
|
var ZodFirstPartyTypeKind;
|
|
5827
5827
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5828
5828
|
//#endregion
|
|
5829
|
-
//#region ../types/dist/sleep-
|
|
5829
|
+
//#region ../types/dist/sleep-CUp20JkO.mjs
|
|
5830
5830
|
/**
|
|
5831
5831
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5832
5832
|
* window to float samples (D455).
|
|
@@ -8710,7 +8710,11 @@ var ContributionSectionSchema = object({
|
|
|
8710
8710
|
literal(4)
|
|
8711
8711
|
]).optional(),
|
|
8712
8712
|
tab: string().optional(),
|
|
8713
|
-
location: _enum([
|
|
8713
|
+
location: _enum([
|
|
8714
|
+
"settings",
|
|
8715
|
+
"top-tab",
|
|
8716
|
+
"hero"
|
|
8717
|
+
]).optional(),
|
|
8714
8718
|
order: number().optional(),
|
|
8715
8719
|
fields: array(any())
|
|
8716
8720
|
});
|
|
@@ -13807,7 +13811,11 @@ var ConfigSectionWithValuesSchema = object({
|
|
|
13807
13811
|
literal(4)
|
|
13808
13812
|
]).optional(),
|
|
13809
13813
|
tab: string().optional(),
|
|
13810
|
-
location: _enum([
|
|
13814
|
+
location: _enum([
|
|
13815
|
+
"settings",
|
|
13816
|
+
"top-tab",
|
|
13817
|
+
"hero"
|
|
13818
|
+
]).optional(),
|
|
13811
13819
|
order: number().optional(),
|
|
13812
13820
|
fields: array(any())
|
|
13813
13821
|
});
|
|
@@ -17609,6 +17617,52 @@ var TierStatusSchema = object({
|
|
|
17609
17617
|
countedAt: number().nullable()
|
|
17610
17618
|
});
|
|
17611
17619
|
/** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
|
|
17620
|
+
/**
|
|
17621
|
+
* Why a series is orphan. `device-gone`: its device is absent from the
|
|
17622
|
+
* successful device listings (the departure clock). `undeclared`: its `cap:`
|
|
17623
|
+
* key is declared by no capability any more (a field a cap removed).
|
|
17624
|
+
*/
|
|
17625
|
+
var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
|
|
17626
|
+
/** Rows held per stored tier. */
|
|
17627
|
+
var TierRowsSchema = object({
|
|
17628
|
+
raw: number().int(),
|
|
17629
|
+
"5m": number().int(),
|
|
17630
|
+
"1h": number().int(),
|
|
17631
|
+
"1d": number().int()
|
|
17632
|
+
});
|
|
17633
|
+
var OrphanSeriesSchema = object({
|
|
17634
|
+
seriesId: number().int(),
|
|
17635
|
+
deviceId: number().int(),
|
|
17636
|
+
key: string(),
|
|
17637
|
+
scope: string(),
|
|
17638
|
+
/** The metric's display name; `null` when its metric row is gone too. */
|
|
17639
|
+
displayName: string().nullable(),
|
|
17640
|
+
reason: DeviceHistoryOrphanReasonSchema,
|
|
17641
|
+
/** `device-gone`: since when the device has been absent; `null` otherwise. */
|
|
17642
|
+
missingSince: number().nullable(),
|
|
17643
|
+
firstTs: number(),
|
|
17644
|
+
lastTs: number(),
|
|
17645
|
+
rows: TierRowsSchema
|
|
17646
|
+
});
|
|
17647
|
+
var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
|
|
17648
|
+
"not-found",
|
|
17649
|
+
"not-orphan",
|
|
17650
|
+
"failed"
|
|
17651
|
+
]);
|
|
17652
|
+
var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
|
|
17653
|
+
seriesId: number().int(),
|
|
17654
|
+
ok: literal(true),
|
|
17655
|
+
deleted: TierRowsSchema
|
|
17656
|
+
}), object({
|
|
17657
|
+
seriesId: number().int(),
|
|
17658
|
+
ok: literal(false),
|
|
17659
|
+
reason: DeviceHistoryOrphanDeleteRefusalSchema
|
|
17660
|
+
})]);
|
|
17661
|
+
var OrphanListSchema = object({
|
|
17662
|
+
series: array(OrphanSeriesSchema).readonly(),
|
|
17663
|
+
/** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
|
|
17664
|
+
truncated: boolean()
|
|
17665
|
+
});
|
|
17612
17666
|
var DeviceHistoryStatusSchema = object({
|
|
17613
17667
|
startedAt: number(),
|
|
17614
17668
|
/** The store is declared, series loaded and the first reconcile has answered. */
|
|
@@ -17706,7 +17760,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
|
|
|
17706
17760
|
}), object({ enabled: boolean() }), {
|
|
17707
17761
|
kind: "mutation",
|
|
17708
17762
|
auth: "admin"
|
|
17709
|
-
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" })
|
|
17763
|
+
}), 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() }), {
|
|
17764
|
+
kind: "mutation",
|
|
17765
|
+
auth: "admin"
|
|
17766
|
+
});
|
|
17710
17767
|
var DeviceCaStatusSchema = discriminatedUnion("state", [
|
|
17711
17768
|
object({ state: literal("absent") }),
|
|
17712
17769
|
object({
|
|
@@ -50386,6 +50443,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50386
50443
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50387
50444
|
available: boolean(),
|
|
50388
50445
|
/**
|
|
50446
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50447
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50448
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50449
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50450
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50451
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50452
|
+
*/
|
|
50453
|
+
presence: _enum([
|
|
50454
|
+
"present",
|
|
50455
|
+
"absent",
|
|
50456
|
+
"unknown"
|
|
50457
|
+
]).optional(),
|
|
50458
|
+
/**
|
|
50389
50459
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50390
50460
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50391
50461
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50611,7 +50681,13 @@ method(object({
|
|
|
50611
50681
|
}), object({ success: literal(true) }), {
|
|
50612
50682
|
kind: "mutation",
|
|
50613
50683
|
auth: "admin"
|
|
50614
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50684
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50685
|
+
agentNodeId: string(),
|
|
50686
|
+
deviceKey: string()
|
|
50687
|
+
}), object({ success: literal(true) }), {
|
|
50688
|
+
kind: "mutation",
|
|
50689
|
+
auth: "admin"
|
|
50690
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50615
50691
|
success: literal(true),
|
|
50616
50692
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50617
50693
|
effectiveModelId: string().nullable(),
|
|
@@ -54721,17 +54797,69 @@ object({
|
|
|
54721
54797
|
});
|
|
54722
54798
|
DeviceType.Sensor;
|
|
54723
54799
|
/**
|
|
54724
|
-
* Generic device-consumables capability —
|
|
54725
|
-
*
|
|
54726
|
-
* descaling cycles,
|
|
54727
|
-
*
|
|
54728
|
-
*
|
|
54729
|
-
*
|
|
54800
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
54801
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
54802
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
54803
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
54804
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
54805
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
54806
|
+
* its device tracks consumables registers it; the provider names each item
|
|
54807
|
+
* verbatim and says which `kind` it is.
|
|
54808
|
+
*
|
|
54809
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
54810
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
54811
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
54730
54812
|
*
|
|
54731
54813
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
54732
54814
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
54733
54815
|
* "No consumables reported" placeholder when `items` is empty.
|
|
54734
54816
|
*/
|
|
54817
|
+
/**
|
|
54818
|
+
* What an item IS, which decides which direction is bad:
|
|
54819
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
54820
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
54821
|
+
* salt, rinse aid); low or empty is bad.
|
|
54822
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
54823
|
+
* bad.
|
|
54824
|
+
* Absent = `wear`.
|
|
54825
|
+
*/
|
|
54826
|
+
var ConsumableKindSchema = _enum([
|
|
54827
|
+
"wear",
|
|
54828
|
+
"supply",
|
|
54829
|
+
"waste"
|
|
54830
|
+
]);
|
|
54831
|
+
/**
|
|
54832
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
54833
|
+
* of `kind`, which decides which direction is bad:
|
|
54834
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
54835
|
+
* remaining time and a reset.
|
|
54836
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
54837
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
54838
|
+
* a stepped level and "refill".
|
|
54839
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
54840
|
+
* that warns when full.
|
|
54841
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
54842
|
+
*/
|
|
54843
|
+
var ConsumableFormSchema = _enum([
|
|
54844
|
+
"part",
|
|
54845
|
+
"tank",
|
|
54846
|
+
"product",
|
|
54847
|
+
"bin"
|
|
54848
|
+
]);
|
|
54849
|
+
/** The provider's own discrete verdict on an item. */
|
|
54850
|
+
var ConsumableStatusSchema = _enum([
|
|
54851
|
+
"ok",
|
|
54852
|
+
"low",
|
|
54853
|
+
"empty",
|
|
54854
|
+
"full",
|
|
54855
|
+
"replace"
|
|
54856
|
+
]);
|
|
54857
|
+
_enum([
|
|
54858
|
+
"ok",
|
|
54859
|
+
"low",
|
|
54860
|
+
"empty",
|
|
54861
|
+
"full"
|
|
54862
|
+
]);
|
|
54735
54863
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
54736
54864
|
* each. */
|
|
54737
54865
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -54751,10 +54879,14 @@ var ConsumablesStatusSchema = object({
|
|
|
54751
54879
|
key: string().min(1),
|
|
54752
54880
|
/** Display name. */
|
|
54753
54881
|
label: string().min(1),
|
|
54754
|
-
/** Remaining life % when known (0..100). */
|
|
54882
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
54755
54883
|
level: number().min(0).max(100).nullable(),
|
|
54756
|
-
/**
|
|
54757
|
-
status:
|
|
54884
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
54885
|
+
status: ConsumableStatusSchema.nullable(),
|
|
54886
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
54887
|
+
kind: ConsumableKindSchema.optional(),
|
|
54888
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
54889
|
+
form: ConsumableFormSchema.optional(),
|
|
54758
54890
|
/** Ms epoch of the last replace, when known. */
|
|
54759
54891
|
lastResetAt: number().nullable(),
|
|
54760
54892
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -54989,8 +55121,9 @@ object({
|
|
|
54989
55121
|
status: DeviceStatusSchema
|
|
54990
55122
|
});
|
|
54991
55123
|
/**
|
|
54992
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
54993
|
-
*
|
|
55124
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
55125
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
55126
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
54994
55127
|
*
|
|
54995
55128
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
54996
55129
|
* by any integration that exposes the same program / option surface.
|
|
@@ -55038,11 +55171,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
55038
55171
|
"offline",
|
|
55039
55172
|
"description-missing"
|
|
55040
55173
|
]);
|
|
55041
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
55042
|
-
"ok",
|
|
55043
|
-
"low",
|
|
55044
|
-
"empty"
|
|
55045
|
-
]);
|
|
55046
55174
|
object({
|
|
55047
55175
|
availability: DishwasherAvailabilitySchema,
|
|
55048
55176
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -55075,8 +55203,6 @@ object({
|
|
|
55075
55203
|
powerOn: boolean().nullable(),
|
|
55076
55204
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
55077
55205
|
powerState: string().nullable(),
|
|
55078
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55079
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55080
55206
|
/**
|
|
55081
55207
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
55082
55208
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -57116,7 +57242,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
57116
57242
|
enabled: boolean()
|
|
57117
57243
|
}), _void(), {
|
|
57118
57244
|
kind: "mutation",
|
|
57119
|
-
auth: "
|
|
57245
|
+
auth: "protected"
|
|
57120
57246
|
}), object({
|
|
57121
57247
|
deviceId: number(),
|
|
57122
57248
|
enabled: boolean(),
|
|
@@ -57606,6 +57732,13 @@ var TopologyNodeSchema = object({
|
|
|
57606
57732
|
cpuModel: string().nullable(),
|
|
57607
57733
|
cpuCores: number(),
|
|
57608
57734
|
memoryMB: number(),
|
|
57735
|
+
/**
|
|
57736
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
57737
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
57738
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
57739
|
+
* after the stick leaves, D919); the live device set is
|
|
57740
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
57741
|
+
*/
|
|
57609
57742
|
engines: array(string()).readonly(),
|
|
57610
57743
|
isHub: boolean(),
|
|
57611
57744
|
isOnline: boolean(),
|
|
@@ -58570,7 +58703,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
58570
58703
|
format: ModelFormatSchema,
|
|
58571
58704
|
reason: string()
|
|
58572
58705
|
});
|
|
58573
|
-
|
|
58706
|
+
/**
|
|
58707
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
58708
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
58709
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
58710
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
58711
|
+
*/
|
|
58712
|
+
var AcceleratorRescanSchema = object({
|
|
58713
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
58714
|
+
appeared: array(string()).readonly(),
|
|
58715
|
+
disappeared: array(string()).readonly(),
|
|
58716
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
58717
|
+
decidedBy: _enum([
|
|
58718
|
+
"usb-ids",
|
|
58719
|
+
"pci",
|
|
58720
|
+
"delegate-fallback",
|
|
58721
|
+
"none"
|
|
58722
|
+
])
|
|
58723
|
+
});
|
|
58724
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
58725
|
+
kind: "mutation",
|
|
58726
|
+
auth: "admin"
|
|
58727
|
+
});
|
|
58574
58728
|
object({
|
|
58575
58729
|
/** Instantaneous power draw in watts. */
|
|
58576
58730
|
watts: number().optional(),
|
|
@@ -61859,60 +62013,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61859
62013
|
auth: "admin",
|
|
61860
62014
|
access: "delete"
|
|
61861
62015
|
});
|
|
61862
|
-
/**
|
|
61863
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
61864
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
61865
|
-
* optional fan-speed selector.
|
|
61866
|
-
*
|
|
61867
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
61868
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
61869
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
61870
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
61871
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
61872
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
61873
|
-
*
|
|
61874
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
61875
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
61876
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
61877
|
-
*
|
|
61878
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
61879
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
61880
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
61881
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
61882
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
61883
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
61884
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
61885
|
-
* so the HA provider leaves all four `null`.
|
|
61886
|
-
*/
|
|
61887
|
-
var VacuumStateSchema = _enum([
|
|
61888
|
-
"idle",
|
|
61889
|
-
"cleaning",
|
|
61890
|
-
"paused",
|
|
61891
|
-
"returning",
|
|
61892
|
-
"docked",
|
|
61893
|
-
"drying",
|
|
61894
|
-
"error"
|
|
61895
|
-
]);
|
|
61896
|
-
/**
|
|
61897
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
61898
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
61899
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
61900
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
61901
|
-
* hardware has no such tank at all.
|
|
61902
|
-
*/
|
|
61903
|
-
var TankStatusSchema = object({
|
|
61904
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
61905
|
-
level: number().min(0).max(100).nullable(),
|
|
61906
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
61907
|
-
status: _enum([
|
|
61908
|
-
"ok",
|
|
61909
|
-
"low",
|
|
61910
|
-
"full"
|
|
61911
|
-
]).nullable()
|
|
61912
|
-
});
|
|
61913
62016
|
object({
|
|
61914
62017
|
/** Lifecycle state of the vacuum. */
|
|
61915
|
-
state:
|
|
62018
|
+
state: _enum([
|
|
62019
|
+
"idle",
|
|
62020
|
+
"cleaning",
|
|
62021
|
+
"paused",
|
|
62022
|
+
"returning",
|
|
62023
|
+
"docked",
|
|
62024
|
+
"drying",
|
|
62025
|
+
"error"
|
|
62026
|
+
]),
|
|
61916
62027
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
61917
62028
|
* reading. */
|
|
61918
62029
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -61921,14 +62032,6 @@ object({
|
|
|
61921
62032
|
fanSpeed: string().nullable(),
|
|
61922
62033
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
61923
62034
|
availableFanSpeeds: array(string()),
|
|
61924
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
61925
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
61926
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
61927
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
61928
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
61929
|
-
detergent: TankStatusSchema.nullable(),
|
|
61930
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
61931
|
-
dustBin: TankStatusSchema.nullable(),
|
|
61932
62035
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
61933
62036
|
progressPercent: number().min(0).max(100).nullable(),
|
|
61934
62037
|
/** Current error code (0 / null = no error). */
|
|
@@ -64567,6 +64670,12 @@ Object.freeze({
|
|
|
64567
64670
|
addonId: null,
|
|
64568
64671
|
access: "create"
|
|
64569
64672
|
},
|
|
64673
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
64674
|
+
capName: "device-history",
|
|
64675
|
+
capScope: "system",
|
|
64676
|
+
addonId: null,
|
|
64677
|
+
access: "delete"
|
|
64678
|
+
},
|
|
64570
64679
|
"deviceHistory.getDeviceEnabled": {
|
|
64571
64680
|
capName: "device-history",
|
|
64572
64681
|
capScope: "system",
|
|
@@ -64585,6 +64694,12 @@ Object.freeze({
|
|
|
64585
64694
|
addonId: null,
|
|
64586
64695
|
access: "view"
|
|
64587
64696
|
},
|
|
64697
|
+
"deviceHistory.listOrphanSeries": {
|
|
64698
|
+
capName: "device-history",
|
|
64699
|
+
capScope: "system",
|
|
64700
|
+
addonId: null,
|
|
64701
|
+
access: "view"
|
|
64702
|
+
},
|
|
64588
64703
|
"deviceHistory.listSeries": {
|
|
64589
64704
|
capName: "device-history",
|
|
64590
64705
|
capScope: "system",
|
|
@@ -68209,6 +68324,12 @@ Object.freeze({
|
|
|
68209
68324
|
addonId: null,
|
|
68210
68325
|
access: "delete"
|
|
68211
68326
|
},
|
|
68327
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
68328
|
+
capName: "pipeline-orchestrator",
|
|
68329
|
+
capScope: "system",
|
|
68330
|
+
addonId: null,
|
|
68331
|
+
access: "delete"
|
|
68332
|
+
},
|
|
68212
68333
|
"pipelineOrchestrator.getAgentLoad": {
|
|
68213
68334
|
capName: "pipeline-orchestrator",
|
|
68214
68335
|
capScope: "system",
|
|
@@ -68785,6 +68906,12 @@ Object.freeze({
|
|
|
68785
68906
|
addonId: null,
|
|
68786
68907
|
access: "view"
|
|
68787
68908
|
},
|
|
68909
|
+
"platformProbe.rescanAccelerators": {
|
|
68910
|
+
capName: "platform-probe",
|
|
68911
|
+
capScope: "system",
|
|
68912
|
+
addonId: null,
|
|
68913
|
+
access: "create"
|
|
68914
|
+
},
|
|
68788
68915
|
"platformProbe.resolveHwAccel": {
|
|
68789
68916
|
capName: "platform-probe",
|
|
68790
68917
|
capScope: "system",
|
|
@@ -74590,7 +74717,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
74590
74717
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
74591
74718
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
74592
74719
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
74593
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
74720
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
74594
74721
|
([...RULE_TEXT], [...TANK]),
|
|
74595
74722
|
[...RULE_TEXT],
|
|
74596
74723
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|