@camstack/addon-osd-manager 0.1.262 → 0.1.264
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-DmQHlRD8.mjs → MotionZonesSettings-BhpBJqGq.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-Bwduz_L2.mjs → PrivacyMaskSettings-DQj0o7MH.mjs} +4 -4
- package/dist/{SceneMonitorEditor-BxIDOWEP.mjs → SceneMonitorEditor-BGWObfJ0.mjs} +3 -3
- package/dist/_stub.js +3985 -4245
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-CQ9S3_n1.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-DtPCou85.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Ccb-hwk2.mjs +26 -0
- package/dist/addon-osd-manager.css +1 -1
- package/dist/{hostInit-Dw_GUFsb.mjs → hostInit-NC-yU57d.mjs} +3 -3
- package/dist/index.js +213 -156
- package/dist/index.mjs +213 -156
- package/dist/{player-overlays-Bm48oYAV.mjs → player-overlays-BUhJWL7S.mjs} +19 -12
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-BEF2g9pl.mjs → responsive-mW5v5lh0.mjs} +1 -1
- package/dist/{scene-monitor-copy-dsiWag_w.mjs → scene-monitor-copy-WlYQ_JMq.mjs} +1 -1
- package/dist/{square-BpWGsia4.mjs → square-eEc0ucDD.mjs} +1 -1
- package/dist/{trash-2-CtCWv0GO.mjs → trash-2-D5ozp5ZB.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-DaIEFI9b.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-UFfBppnZ.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-67r1vkIW.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,
|
package/dist/index.js
CHANGED
|
@@ -5434,7 +5434,7 @@ var ZodIssueCode = {
|
|
|
5434
5434
|
var ZodFirstPartyTypeKind;
|
|
5435
5435
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5436
5436
|
//#endregion
|
|
5437
|
-
//#region ../types/dist/sleep-
|
|
5437
|
+
//#region ../types/dist/sleep-CUp20JkO.mjs
|
|
5438
5438
|
/**
|
|
5439
5439
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5440
5440
|
* window to float samples (D455).
|
|
@@ -8259,7 +8259,11 @@ var ContributionSectionSchema = object({
|
|
|
8259
8259
|
literal(4)
|
|
8260
8260
|
]).optional(),
|
|
8261
8261
|
tab: string().optional(),
|
|
8262
|
-
location: _enum([
|
|
8262
|
+
location: _enum([
|
|
8263
|
+
"settings",
|
|
8264
|
+
"top-tab",
|
|
8265
|
+
"hero"
|
|
8266
|
+
]).optional(),
|
|
8263
8267
|
order: number().optional(),
|
|
8264
8268
|
fields: array(any())
|
|
8265
8269
|
});
|
|
@@ -13195,7 +13199,11 @@ var ConfigSectionWithValuesSchema = object({
|
|
|
13195
13199
|
literal(4)
|
|
13196
13200
|
]).optional(),
|
|
13197
13201
|
tab: string().optional(),
|
|
13198
|
-
location: _enum([
|
|
13202
|
+
location: _enum([
|
|
13203
|
+
"settings",
|
|
13204
|
+
"top-tab",
|
|
13205
|
+
"hero"
|
|
13206
|
+
]).optional(),
|
|
13199
13207
|
order: number().optional(),
|
|
13200
13208
|
fields: array(any())
|
|
13201
13209
|
});
|
|
@@ -16969,6 +16977,52 @@ var TierStatusSchema = object({
|
|
|
16969
16977
|
countedAt: number().nullable()
|
|
16970
16978
|
});
|
|
16971
16979
|
/** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
|
|
16980
|
+
/**
|
|
16981
|
+
* Why a series is orphan. `device-gone`: its device is absent from the
|
|
16982
|
+
* successful device listings (the departure clock). `undeclared`: its `cap:`
|
|
16983
|
+
* key is declared by no capability any more (a field a cap removed).
|
|
16984
|
+
*/
|
|
16985
|
+
var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
|
|
16986
|
+
/** Rows held per stored tier. */
|
|
16987
|
+
var TierRowsSchema = object({
|
|
16988
|
+
raw: number().int(),
|
|
16989
|
+
"5m": number().int(),
|
|
16990
|
+
"1h": number().int(),
|
|
16991
|
+
"1d": number().int()
|
|
16992
|
+
});
|
|
16993
|
+
var OrphanSeriesSchema = object({
|
|
16994
|
+
seriesId: number().int(),
|
|
16995
|
+
deviceId: number().int(),
|
|
16996
|
+
key: string(),
|
|
16997
|
+
scope: string(),
|
|
16998
|
+
/** The metric's display name; `null` when its metric row is gone too. */
|
|
16999
|
+
displayName: string().nullable(),
|
|
17000
|
+
reason: DeviceHistoryOrphanReasonSchema,
|
|
17001
|
+
/** `device-gone`: since when the device has been absent; `null` otherwise. */
|
|
17002
|
+
missingSince: number().nullable(),
|
|
17003
|
+
firstTs: number(),
|
|
17004
|
+
lastTs: number(),
|
|
17005
|
+
rows: TierRowsSchema
|
|
17006
|
+
});
|
|
17007
|
+
var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
|
|
17008
|
+
"not-found",
|
|
17009
|
+
"not-orphan",
|
|
17010
|
+
"failed"
|
|
17011
|
+
]);
|
|
17012
|
+
var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
|
|
17013
|
+
seriesId: number().int(),
|
|
17014
|
+
ok: literal(true),
|
|
17015
|
+
deleted: TierRowsSchema
|
|
17016
|
+
}), object({
|
|
17017
|
+
seriesId: number().int(),
|
|
17018
|
+
ok: literal(false),
|
|
17019
|
+
reason: DeviceHistoryOrphanDeleteRefusalSchema
|
|
17020
|
+
})]);
|
|
17021
|
+
var OrphanListSchema = object({
|
|
17022
|
+
series: array(OrphanSeriesSchema).readonly(),
|
|
17023
|
+
/** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
|
|
17024
|
+
truncated: boolean()
|
|
17025
|
+
});
|
|
16972
17026
|
var DeviceHistoryStatusSchema = object({
|
|
16973
17027
|
startedAt: number(),
|
|
16974
17028
|
/** The store is declared, series loaded and the first reconcile has answered. */
|
|
@@ -17066,7 +17120,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
|
|
|
17066
17120
|
}), object({ enabled: boolean() }), {
|
|
17067
17121
|
kind: "mutation",
|
|
17068
17122
|
auth: "admin"
|
|
17069
|
-
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" })
|
|
17123
|
+
}), 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() }), {
|
|
17124
|
+
kind: "mutation",
|
|
17125
|
+
auth: "admin"
|
|
17126
|
+
});
|
|
17070
17127
|
var DeviceCaStatusSchema = discriminatedUnion("state", [
|
|
17071
17128
|
object({ state: literal("absent") }),
|
|
17072
17129
|
object({
|
|
@@ -50389,6 +50446,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50389
50446
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50390
50447
|
available: boolean(),
|
|
50391
50448
|
/**
|
|
50449
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50450
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50451
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50452
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50453
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50454
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50455
|
+
*/
|
|
50456
|
+
presence: _enum([
|
|
50457
|
+
"present",
|
|
50458
|
+
"absent",
|
|
50459
|
+
"unknown"
|
|
50460
|
+
]).optional(),
|
|
50461
|
+
/**
|
|
50392
50462
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50393
50463
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50394
50464
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50614,7 +50684,13 @@ method(object({
|
|
|
50614
50684
|
}), object({ success: literal(true) }), {
|
|
50615
50685
|
kind: "mutation",
|
|
50616
50686
|
auth: "admin"
|
|
50617
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50687
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50688
|
+
agentNodeId: string(),
|
|
50689
|
+
deviceKey: string()
|
|
50690
|
+
}), object({ success: literal(true) }), {
|
|
50691
|
+
kind: "mutation",
|
|
50692
|
+
auth: "admin"
|
|
50693
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50618
50694
|
success: literal(true),
|
|
50619
50695
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50620
50696
|
effectiveModelId: string().nullable(),
|
|
@@ -54724,17 +54800,69 @@ object({
|
|
|
54724
54800
|
});
|
|
54725
54801
|
DeviceType.Sensor;
|
|
54726
54802
|
/**
|
|
54727
|
-
* Generic device-consumables capability —
|
|
54728
|
-
*
|
|
54729
|
-
* descaling cycles,
|
|
54730
|
-
*
|
|
54731
|
-
*
|
|
54732
|
-
*
|
|
54803
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
54804
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
54805
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
54806
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
54807
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
54808
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
54809
|
+
* its device tracks consumables registers it; the provider names each item
|
|
54810
|
+
* verbatim and says which `kind` it is.
|
|
54811
|
+
*
|
|
54812
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
54813
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
54814
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
54733
54815
|
*
|
|
54734
54816
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
54735
54817
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
54736
54818
|
* "No consumables reported" placeholder when `items` is empty.
|
|
54737
54819
|
*/
|
|
54820
|
+
/**
|
|
54821
|
+
* What an item IS, which decides which direction is bad:
|
|
54822
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
54823
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
54824
|
+
* salt, rinse aid); low or empty is bad.
|
|
54825
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
54826
|
+
* bad.
|
|
54827
|
+
* Absent = `wear`.
|
|
54828
|
+
*/
|
|
54829
|
+
var ConsumableKindSchema = _enum([
|
|
54830
|
+
"wear",
|
|
54831
|
+
"supply",
|
|
54832
|
+
"waste"
|
|
54833
|
+
]);
|
|
54834
|
+
/**
|
|
54835
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
54836
|
+
* of `kind`, which decides which direction is bad:
|
|
54837
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
54838
|
+
* remaining time and a reset.
|
|
54839
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
54840
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
54841
|
+
* a stepped level and "refill".
|
|
54842
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
54843
|
+
* that warns when full.
|
|
54844
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
54845
|
+
*/
|
|
54846
|
+
var ConsumableFormSchema = _enum([
|
|
54847
|
+
"part",
|
|
54848
|
+
"tank",
|
|
54849
|
+
"product",
|
|
54850
|
+
"bin"
|
|
54851
|
+
]);
|
|
54852
|
+
/** The provider's own discrete verdict on an item. */
|
|
54853
|
+
var ConsumableStatusSchema = _enum([
|
|
54854
|
+
"ok",
|
|
54855
|
+
"low",
|
|
54856
|
+
"empty",
|
|
54857
|
+
"full",
|
|
54858
|
+
"replace"
|
|
54859
|
+
]);
|
|
54860
|
+
_enum([
|
|
54861
|
+
"ok",
|
|
54862
|
+
"low",
|
|
54863
|
+
"empty",
|
|
54864
|
+
"full"
|
|
54865
|
+
]);
|
|
54738
54866
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
54739
54867
|
* each. */
|
|
54740
54868
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -54754,10 +54882,14 @@ var ConsumablesStatusSchema = object({
|
|
|
54754
54882
|
key: string().min(1),
|
|
54755
54883
|
/** Display name. */
|
|
54756
54884
|
label: string().min(1),
|
|
54757
|
-
/** Remaining life % when known (0..100). */
|
|
54885
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
54758
54886
|
level: number().min(0).max(100).nullable(),
|
|
54759
|
-
/**
|
|
54760
|
-
status:
|
|
54887
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
54888
|
+
status: ConsumableStatusSchema.nullable(),
|
|
54889
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
54890
|
+
kind: ConsumableKindSchema.optional(),
|
|
54891
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
54892
|
+
form: ConsumableFormSchema.optional(),
|
|
54761
54893
|
/** Ms epoch of the last replace, when known. */
|
|
54762
54894
|
lastResetAt: number().nullable(),
|
|
54763
54895
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -54992,8 +55124,9 @@ object({
|
|
|
54992
55124
|
status: DeviceStatusSchema
|
|
54993
55125
|
});
|
|
54994
55126
|
/**
|
|
54995
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
54996
|
-
*
|
|
55127
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
55128
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
55129
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
54997
55130
|
*
|
|
54998
55131
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
54999
55132
|
* by any integration that exposes the same program / option surface.
|
|
@@ -55041,11 +55174,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
55041
55174
|
"offline",
|
|
55042
55175
|
"description-missing"
|
|
55043
55176
|
]);
|
|
55044
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
55045
|
-
"ok",
|
|
55046
|
-
"low",
|
|
55047
|
-
"empty"
|
|
55048
|
-
]);
|
|
55049
55177
|
object({
|
|
55050
55178
|
availability: DishwasherAvailabilitySchema,
|
|
55051
55179
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -55078,8 +55206,6 @@ object({
|
|
|
55078
55206
|
powerOn: boolean().nullable(),
|
|
55079
55207
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
55080
55208
|
powerState: string().nullable(),
|
|
55081
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55082
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55083
55209
|
/**
|
|
55084
55210
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
55085
55211
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -57119,7 +57245,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
57119
57245
|
enabled: boolean()
|
|
57120
57246
|
}), _void(), {
|
|
57121
57247
|
kind: "mutation",
|
|
57122
|
-
auth: "
|
|
57248
|
+
auth: "protected"
|
|
57123
57249
|
}), object({
|
|
57124
57250
|
deviceId: number(),
|
|
57125
57251
|
enabled: boolean(),
|
|
@@ -57609,6 +57735,13 @@ var TopologyNodeSchema = object({
|
|
|
57609
57735
|
cpuModel: string().nullable(),
|
|
57610
57736
|
cpuCores: number(),
|
|
57611
57737
|
memoryMB: number(),
|
|
57738
|
+
/**
|
|
57739
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
57740
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
57741
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
57742
|
+
* after the stick leaves, D919); the live device set is
|
|
57743
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
57744
|
+
*/
|
|
57612
57745
|
engines: array(string()).readonly(),
|
|
57613
57746
|
isHub: boolean(),
|
|
57614
57747
|
isOnline: boolean(),
|
|
@@ -58635,7 +58768,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
58635
58768
|
format: ModelFormatSchema,
|
|
58636
58769
|
reason: string()
|
|
58637
58770
|
});
|
|
58638
|
-
|
|
58771
|
+
/**
|
|
58772
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
58773
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
58774
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
58775
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
58776
|
+
*/
|
|
58777
|
+
var AcceleratorRescanSchema = object({
|
|
58778
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
58779
|
+
appeared: array(string()).readonly(),
|
|
58780
|
+
disappeared: array(string()).readonly(),
|
|
58781
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
58782
|
+
decidedBy: _enum([
|
|
58783
|
+
"usb-ids",
|
|
58784
|
+
"pci",
|
|
58785
|
+
"delegate-fallback",
|
|
58786
|
+
"none"
|
|
58787
|
+
])
|
|
58788
|
+
});
|
|
58789
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
58790
|
+
kind: "mutation",
|
|
58791
|
+
auth: "admin"
|
|
58792
|
+
});
|
|
58639
58793
|
object({
|
|
58640
58794
|
/** Instantaneous power draw in watts. */
|
|
58641
58795
|
watts: number().optional(),
|
|
@@ -61924,60 +62078,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61924
62078
|
auth: "admin",
|
|
61925
62079
|
access: "delete"
|
|
61926
62080
|
});
|
|
61927
|
-
/**
|
|
61928
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
61929
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
61930
|
-
* optional fan-speed selector.
|
|
61931
|
-
*
|
|
61932
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
61933
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
61934
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
61935
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
61936
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
61937
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
61938
|
-
*
|
|
61939
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
61940
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
61941
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
61942
|
-
*
|
|
61943
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
61944
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
61945
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
61946
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
61947
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
61948
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
61949
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
61950
|
-
* so the HA provider leaves all four `null`.
|
|
61951
|
-
*/
|
|
61952
|
-
var VacuumStateSchema = _enum([
|
|
61953
|
-
"idle",
|
|
61954
|
-
"cleaning",
|
|
61955
|
-
"paused",
|
|
61956
|
-
"returning",
|
|
61957
|
-
"docked",
|
|
61958
|
-
"drying",
|
|
61959
|
-
"error"
|
|
61960
|
-
]);
|
|
61961
|
-
/**
|
|
61962
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
61963
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
61964
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
61965
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
61966
|
-
* hardware has no such tank at all.
|
|
61967
|
-
*/
|
|
61968
|
-
var TankStatusSchema = object({
|
|
61969
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
61970
|
-
level: number().min(0).max(100).nullable(),
|
|
61971
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
61972
|
-
status: _enum([
|
|
61973
|
-
"ok",
|
|
61974
|
-
"low",
|
|
61975
|
-
"full"
|
|
61976
|
-
]).nullable()
|
|
61977
|
-
});
|
|
61978
62081
|
object({
|
|
61979
62082
|
/** Lifecycle state of the vacuum. */
|
|
61980
|
-
state:
|
|
62083
|
+
state: _enum([
|
|
62084
|
+
"idle",
|
|
62085
|
+
"cleaning",
|
|
62086
|
+
"paused",
|
|
62087
|
+
"returning",
|
|
62088
|
+
"docked",
|
|
62089
|
+
"drying",
|
|
62090
|
+
"error"
|
|
62091
|
+
]),
|
|
61981
62092
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
61982
62093
|
* reading. */
|
|
61983
62094
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -61986,14 +62097,6 @@ object({
|
|
|
61986
62097
|
fanSpeed: string().nullable(),
|
|
61987
62098
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
61988
62099
|
availableFanSpeeds: array(string()),
|
|
61989
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
61990
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
61991
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
61992
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
61993
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
61994
|
-
detergent: TankStatusSchema.nullable(),
|
|
61995
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
61996
|
-
dustBin: TankStatusSchema.nullable(),
|
|
61997
62100
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
61998
62101
|
progressPercent: number().min(0).max(100).nullable(),
|
|
61999
62102
|
/** Current error code (0 / null = no error). */
|
|
@@ -64850,6 +64953,12 @@ Object.freeze({
|
|
|
64850
64953
|
addonId: null,
|
|
64851
64954
|
access: "create"
|
|
64852
64955
|
},
|
|
64956
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
64957
|
+
capName: "device-history",
|
|
64958
|
+
capScope: "system",
|
|
64959
|
+
addonId: null,
|
|
64960
|
+
access: "delete"
|
|
64961
|
+
},
|
|
64853
64962
|
"deviceHistory.getDeviceEnabled": {
|
|
64854
64963
|
capName: "device-history",
|
|
64855
64964
|
capScope: "system",
|
|
@@ -64868,6 +64977,12 @@ Object.freeze({
|
|
|
64868
64977
|
addonId: null,
|
|
64869
64978
|
access: "view"
|
|
64870
64979
|
},
|
|
64980
|
+
"deviceHistory.listOrphanSeries": {
|
|
64981
|
+
capName: "device-history",
|
|
64982
|
+
capScope: "system",
|
|
64983
|
+
addonId: null,
|
|
64984
|
+
access: "view"
|
|
64985
|
+
},
|
|
64871
64986
|
"deviceHistory.listSeries": {
|
|
64872
64987
|
capName: "device-history",
|
|
64873
64988
|
capScope: "system",
|
|
@@ -68492,6 +68607,12 @@ Object.freeze({
|
|
|
68492
68607
|
addonId: null,
|
|
68493
68608
|
access: "delete"
|
|
68494
68609
|
},
|
|
68610
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
68611
|
+
capName: "pipeline-orchestrator",
|
|
68612
|
+
capScope: "system",
|
|
68613
|
+
addonId: null,
|
|
68614
|
+
access: "delete"
|
|
68615
|
+
},
|
|
68495
68616
|
"pipelineOrchestrator.getAgentLoad": {
|
|
68496
68617
|
capName: "pipeline-orchestrator",
|
|
68497
68618
|
capScope: "system",
|
|
@@ -69068,6 +69189,12 @@ Object.freeze({
|
|
|
69068
69189
|
addonId: null,
|
|
69069
69190
|
access: "view"
|
|
69070
69191
|
},
|
|
69192
|
+
"platformProbe.rescanAccelerators": {
|
|
69193
|
+
capName: "platform-probe",
|
|
69194
|
+
capScope: "system",
|
|
69195
|
+
addonId: null,
|
|
69196
|
+
access: "create"
|
|
69197
|
+
},
|
|
69071
69198
|
"platformProbe.resolveHwAccel": {
|
|
69072
69199
|
capName: "platform-probe",
|
|
69073
69200
|
capScope: "system",
|
|
@@ -74953,7 +75080,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
74953
75080
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
74954
75081
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
74955
75082
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
74956
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
75083
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
74957
75084
|
([...RULE_TEXT], [...TANK]),
|
|
74958
75085
|
[...RULE_TEXT],
|
|
74959
75086
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
@@ -77278,24 +77405,6 @@ var CAP_STATE_LEAVES = Object.freeze({
|
|
|
77278
77405
|
"path": "powerState",
|
|
77279
77406
|
"valueType": "string"
|
|
77280
77407
|
},
|
|
77281
|
-
{
|
|
77282
|
-
"path": "saltLevel",
|
|
77283
|
-
"valueType": "enum",
|
|
77284
|
-
"enumValues": [
|
|
77285
|
-
"ok",
|
|
77286
|
-
"low",
|
|
77287
|
-
"empty"
|
|
77288
|
-
]
|
|
77289
|
-
},
|
|
77290
|
-
{
|
|
77291
|
-
"path": "rinseAidLevel",
|
|
77292
|
-
"valueType": "enum",
|
|
77293
|
-
"enumValues": [
|
|
77294
|
-
"ok",
|
|
77295
|
-
"low",
|
|
77296
|
-
"empty"
|
|
77297
|
-
]
|
|
77298
|
-
},
|
|
77299
77408
|
{
|
|
77300
77409
|
"path": "filterCleaningDue",
|
|
77301
77410
|
"valueType": "boolean"
|
|
@@ -78321,58 +78430,6 @@ var CAP_STATE_LEAVES = Object.freeze({
|
|
|
78321
78430
|
"path": "fanSpeed",
|
|
78322
78431
|
"valueType": "string"
|
|
78323
78432
|
},
|
|
78324
|
-
{
|
|
78325
|
-
"path": "cleanWater.level",
|
|
78326
|
-
"valueType": "number"
|
|
78327
|
-
},
|
|
78328
|
-
{
|
|
78329
|
-
"path": "cleanWater.status",
|
|
78330
|
-
"valueType": "enum",
|
|
78331
|
-
"enumValues": [
|
|
78332
|
-
"ok",
|
|
78333
|
-
"low",
|
|
78334
|
-
"full"
|
|
78335
|
-
]
|
|
78336
|
-
},
|
|
78337
|
-
{
|
|
78338
|
-
"path": "dirtyWater.level",
|
|
78339
|
-
"valueType": "number"
|
|
78340
|
-
},
|
|
78341
|
-
{
|
|
78342
|
-
"path": "dirtyWater.status",
|
|
78343
|
-
"valueType": "enum",
|
|
78344
|
-
"enumValues": [
|
|
78345
|
-
"ok",
|
|
78346
|
-
"low",
|
|
78347
|
-
"full"
|
|
78348
|
-
]
|
|
78349
|
-
},
|
|
78350
|
-
{
|
|
78351
|
-
"path": "detergent.level",
|
|
78352
|
-
"valueType": "number"
|
|
78353
|
-
},
|
|
78354
|
-
{
|
|
78355
|
-
"path": "detergent.status",
|
|
78356
|
-
"valueType": "enum",
|
|
78357
|
-
"enumValues": [
|
|
78358
|
-
"ok",
|
|
78359
|
-
"low",
|
|
78360
|
-
"full"
|
|
78361
|
-
]
|
|
78362
|
-
},
|
|
78363
|
-
{
|
|
78364
|
-
"path": "dustBin.level",
|
|
78365
|
-
"valueType": "number"
|
|
78366
|
-
},
|
|
78367
|
-
{
|
|
78368
|
-
"path": "dustBin.status",
|
|
78369
|
-
"valueType": "enum",
|
|
78370
|
-
"enumValues": [
|
|
78371
|
-
"ok",
|
|
78372
|
-
"low",
|
|
78373
|
-
"full"
|
|
78374
|
-
]
|
|
78375
|
-
},
|
|
78376
78433
|
{
|
|
78377
78434
|
"path": "progressPercent",
|
|
78378
78435
|
"valueType": "number"
|