@camstack/addon-import-alexa 0.2.144 → 0.2.146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +255 -120
- package/dist/addon.mjs +255 -120
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5603,7 +5603,7 @@ var ZodIssueCode = {
|
|
|
5603
5603
|
var ZodFirstPartyTypeKind;
|
|
5604
5604
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5605
5605
|
//#endregion
|
|
5606
|
-
//#region ../types/dist/sleep-
|
|
5606
|
+
//#region ../types/dist/sleep-CUp20JkO.mjs
|
|
5607
5607
|
/**
|
|
5608
5608
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5609
5609
|
* window to float samples (D455).
|
|
@@ -8683,7 +8683,11 @@ var ContributionSectionSchema = object({
|
|
|
8683
8683
|
literal(4)
|
|
8684
8684
|
]).optional(),
|
|
8685
8685
|
tab: string().optional(),
|
|
8686
|
-
location: _enum([
|
|
8686
|
+
location: _enum([
|
|
8687
|
+
"settings",
|
|
8688
|
+
"top-tab",
|
|
8689
|
+
"hero"
|
|
8690
|
+
]).optional(),
|
|
8687
8691
|
order: number().optional(),
|
|
8688
8692
|
fields: array(any())
|
|
8689
8693
|
});
|
|
@@ -13752,7 +13756,11 @@ var ConfigSectionWithValuesSchema = object({
|
|
|
13752
13756
|
literal(4)
|
|
13753
13757
|
]).optional(),
|
|
13754
13758
|
tab: string().optional(),
|
|
13755
|
-
location: _enum([
|
|
13759
|
+
location: _enum([
|
|
13760
|
+
"settings",
|
|
13761
|
+
"top-tab",
|
|
13762
|
+
"hero"
|
|
13763
|
+
]).optional(),
|
|
13756
13764
|
order: number().optional(),
|
|
13757
13765
|
fields: array(any())
|
|
13758
13766
|
});
|
|
@@ -17681,6 +17689,52 @@ var TierStatusSchema = object({
|
|
|
17681
17689
|
countedAt: number().nullable()
|
|
17682
17690
|
});
|
|
17683
17691
|
/** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
|
|
17692
|
+
/**
|
|
17693
|
+
* Why a series is orphan. `device-gone`: its device is absent from the
|
|
17694
|
+
* successful device listings (the departure clock). `undeclared`: its `cap:`
|
|
17695
|
+
* key is declared by no capability any more (a field a cap removed).
|
|
17696
|
+
*/
|
|
17697
|
+
var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
|
|
17698
|
+
/** Rows held per stored tier. */
|
|
17699
|
+
var TierRowsSchema = object({
|
|
17700
|
+
raw: number().int(),
|
|
17701
|
+
"5m": number().int(),
|
|
17702
|
+
"1h": number().int(),
|
|
17703
|
+
"1d": number().int()
|
|
17704
|
+
});
|
|
17705
|
+
var OrphanSeriesSchema = object({
|
|
17706
|
+
seriesId: number().int(),
|
|
17707
|
+
deviceId: number().int(),
|
|
17708
|
+
key: string(),
|
|
17709
|
+
scope: string(),
|
|
17710
|
+
/** The metric's display name; `null` when its metric row is gone too. */
|
|
17711
|
+
displayName: string().nullable(),
|
|
17712
|
+
reason: DeviceHistoryOrphanReasonSchema,
|
|
17713
|
+
/** `device-gone`: since when the device has been absent; `null` otherwise. */
|
|
17714
|
+
missingSince: number().nullable(),
|
|
17715
|
+
firstTs: number(),
|
|
17716
|
+
lastTs: number(),
|
|
17717
|
+
rows: TierRowsSchema
|
|
17718
|
+
});
|
|
17719
|
+
var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
|
|
17720
|
+
"not-found",
|
|
17721
|
+
"not-orphan",
|
|
17722
|
+
"failed"
|
|
17723
|
+
]);
|
|
17724
|
+
var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
|
|
17725
|
+
seriesId: number().int(),
|
|
17726
|
+
ok: literal(true),
|
|
17727
|
+
deleted: TierRowsSchema
|
|
17728
|
+
}), object({
|
|
17729
|
+
seriesId: number().int(),
|
|
17730
|
+
ok: literal(false),
|
|
17731
|
+
reason: DeviceHistoryOrphanDeleteRefusalSchema
|
|
17732
|
+
})]);
|
|
17733
|
+
var OrphanListSchema = object({
|
|
17734
|
+
series: array(OrphanSeriesSchema).readonly(),
|
|
17735
|
+
/** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
|
|
17736
|
+
truncated: boolean()
|
|
17737
|
+
});
|
|
17684
17738
|
var DeviceHistoryStatusSchema = object({
|
|
17685
17739
|
startedAt: number(),
|
|
17686
17740
|
/** The store is declared, series loaded and the first reconcile has answered. */
|
|
@@ -17778,7 +17832,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
|
|
|
17778
17832
|
}), object({ enabled: boolean() }), {
|
|
17779
17833
|
kind: "mutation",
|
|
17780
17834
|
auth: "admin"
|
|
17781
|
-
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" })
|
|
17835
|
+
}), 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() }), {
|
|
17836
|
+
kind: "mutation",
|
|
17837
|
+
auth: "admin"
|
|
17838
|
+
});
|
|
17782
17839
|
var DeviceCaStatusSchema = discriminatedUnion("state", [
|
|
17783
17840
|
object({ state: literal("absent") }),
|
|
17784
17841
|
object({
|
|
@@ -50749,6 +50806,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50749
50806
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50750
50807
|
available: boolean(),
|
|
50751
50808
|
/**
|
|
50809
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50810
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50811
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50812
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50813
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50814
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50815
|
+
*/
|
|
50816
|
+
presence: _enum([
|
|
50817
|
+
"present",
|
|
50818
|
+
"absent",
|
|
50819
|
+
"unknown"
|
|
50820
|
+
]).optional(),
|
|
50821
|
+
/**
|
|
50752
50822
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50753
50823
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50754
50824
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50974,7 +51044,13 @@ method(object({
|
|
|
50974
51044
|
}), object({ success: literal(true) }), {
|
|
50975
51045
|
kind: "mutation",
|
|
50976
51046
|
auth: "admin"
|
|
50977
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
51047
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
51048
|
+
agentNodeId: string(),
|
|
51049
|
+
deviceKey: string()
|
|
51050
|
+
}), object({ success: literal(true) }), {
|
|
51051
|
+
kind: "mutation",
|
|
51052
|
+
auth: "admin"
|
|
51053
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50978
51054
|
success: literal(true),
|
|
50979
51055
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50980
51056
|
effectiveModelId: string().nullable(),
|
|
@@ -55655,17 +55731,69 @@ var connectivityCapability = {
|
|
|
55655
55731
|
volatileStateFields: ["lastChangedAt"]
|
|
55656
55732
|
};
|
|
55657
55733
|
/**
|
|
55658
|
-
* Generic device-consumables capability —
|
|
55659
|
-
*
|
|
55660
|
-
* descaling cycles,
|
|
55661
|
-
*
|
|
55662
|
-
*
|
|
55663
|
-
*
|
|
55734
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
55735
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
55736
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
55737
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
55738
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
55739
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
55740
|
+
* its device tracks consumables registers it; the provider names each item
|
|
55741
|
+
* verbatim and says which `kind` it is.
|
|
55742
|
+
*
|
|
55743
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
55744
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
55745
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
55664
55746
|
*
|
|
55665
55747
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
55666
55748
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
55667
55749
|
* "No consumables reported" placeholder when `items` is empty.
|
|
55668
55750
|
*/
|
|
55751
|
+
/**
|
|
55752
|
+
* What an item IS, which decides which direction is bad:
|
|
55753
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
55754
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
55755
|
+
* salt, rinse aid); low or empty is bad.
|
|
55756
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
55757
|
+
* bad.
|
|
55758
|
+
* Absent = `wear`.
|
|
55759
|
+
*/
|
|
55760
|
+
var ConsumableKindSchema = _enum([
|
|
55761
|
+
"wear",
|
|
55762
|
+
"supply",
|
|
55763
|
+
"waste"
|
|
55764
|
+
]);
|
|
55765
|
+
/**
|
|
55766
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
55767
|
+
* of `kind`, which decides which direction is bad:
|
|
55768
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
55769
|
+
* remaining time and a reset.
|
|
55770
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
55771
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
55772
|
+
* a stepped level and "refill".
|
|
55773
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
55774
|
+
* that warns when full.
|
|
55775
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
55776
|
+
*/
|
|
55777
|
+
var ConsumableFormSchema = _enum([
|
|
55778
|
+
"part",
|
|
55779
|
+
"tank",
|
|
55780
|
+
"product",
|
|
55781
|
+
"bin"
|
|
55782
|
+
]);
|
|
55783
|
+
/** The provider's own discrete verdict on an item. */
|
|
55784
|
+
var ConsumableStatusSchema = _enum([
|
|
55785
|
+
"ok",
|
|
55786
|
+
"low",
|
|
55787
|
+
"empty",
|
|
55788
|
+
"full",
|
|
55789
|
+
"replace"
|
|
55790
|
+
]);
|
|
55791
|
+
_enum([
|
|
55792
|
+
"ok",
|
|
55793
|
+
"low",
|
|
55794
|
+
"empty",
|
|
55795
|
+
"full"
|
|
55796
|
+
]);
|
|
55669
55797
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
55670
55798
|
* each. */
|
|
55671
55799
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -55680,18 +55808,23 @@ var ConsumableRemainingSchema = object({
|
|
|
55680
55808
|
unit: ConsumableRemainingUnitSchema
|
|
55681
55809
|
});
|
|
55682
55810
|
/** A single consumable item. Either a continuous `level` (remaining
|
|
55683
|
-
* life
|
|
55684
|
-
*
|
|
55685
|
-
* mutually exclusive; a provider may
|
|
55811
|
+
* life %, or fill % for a `supply` / `waste` item) or a discrete `status`
|
|
55812
|
+
* may be known — both may be null when a provider only knows the item
|
|
55813
|
+
* exists. `level` and `status` are not mutually exclusive; a provider may
|
|
55814
|
+
* report both. */
|
|
55686
55815
|
var ConsumableItemSchema = object({
|
|
55687
55816
|
/** Stable id, e.g. 'main-brush'. */
|
|
55688
55817
|
key: string().min(1),
|
|
55689
55818
|
/** Display name. */
|
|
55690
55819
|
label: string().min(1),
|
|
55691
|
-
/** Remaining life % when known (0..100). */
|
|
55820
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
55692
55821
|
level: number().min(0).max(100).nullable(),
|
|
55693
|
-
/**
|
|
55694
|
-
status:
|
|
55822
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
55823
|
+
status: ConsumableStatusSchema.nullable(),
|
|
55824
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
55825
|
+
kind: ConsumableKindSchema.optional(),
|
|
55826
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
55827
|
+
form: ConsumableFormSchema.optional(),
|
|
55695
55828
|
/** Ms epoch of the last replace, when known. */
|
|
55696
55829
|
lastResetAt: number().nullable(),
|
|
55697
55830
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -55714,7 +55847,7 @@ var consumablesCapability = {
|
|
|
55714
55847
|
kind: "widget",
|
|
55715
55848
|
widgetId: "host/consumables-panel",
|
|
55716
55849
|
tab: "consumables",
|
|
55717
|
-
|
|
55850
|
+
placement: "hero",
|
|
55718
55851
|
label: "Consumables",
|
|
55719
55852
|
order: 5
|
|
55720
55853
|
} },
|
|
@@ -55775,9 +55908,37 @@ reset: method(object({
|
|
|
55775
55908
|
*/
|
|
55776
55909
|
durability: "restored",
|
|
55777
55910
|
/**
|
|
55778
|
-
* History (D850):
|
|
55911
|
+
* History (D850, D917): one series per (item field, item `key`) — the item key
|
|
55912
|
+
* is the series scope, the item `label` names it. A vacuum tank's fill, a
|
|
55913
|
+
* brush's remaining life and a dishwasher's salt are each recorded the moment
|
|
55914
|
+
* their provider reports them; an item that appears later gets its series.
|
|
55779
55915
|
*/
|
|
55780
|
-
history:
|
|
55916
|
+
history: {
|
|
55917
|
+
fields: {},
|
|
55918
|
+
items: {
|
|
55919
|
+
path: "items",
|
|
55920
|
+
key: "key",
|
|
55921
|
+
label: "label",
|
|
55922
|
+
fields: {
|
|
55923
|
+
level: {
|
|
55924
|
+
kind: "gauge",
|
|
55925
|
+
unit: "%",
|
|
55926
|
+
deadband: 2,
|
|
55927
|
+
displayName: "Level"
|
|
55928
|
+
},
|
|
55929
|
+
status: {
|
|
55930
|
+
kind: "enum",
|
|
55931
|
+
displayName: "Status"
|
|
55932
|
+
},
|
|
55933
|
+
"remaining.value": {
|
|
55934
|
+
kind: "gauge",
|
|
55935
|
+
unitFrom: "remaining.unit",
|
|
55936
|
+
deadband: 1,
|
|
55937
|
+
displayName: "Remaining"
|
|
55938
|
+
}
|
|
55939
|
+
}
|
|
55940
|
+
}
|
|
55941
|
+
},
|
|
55781
55942
|
/** Clocks, not content: a re-read that changed no item costs no commit. */
|
|
55782
55943
|
volatileStateFields: ["lastChangedAt", "lastFetchedAt"]
|
|
55783
55944
|
};
|
|
@@ -56192,8 +56353,9 @@ onStatusChanged: { data: object({
|
|
|
56192
56353
|
volatileStateFields: ["lastChangedAt"]
|
|
56193
56354
|
};
|
|
56194
56355
|
/**
|
|
56195
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
56196
|
-
*
|
|
56356
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
56357
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
56358
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
56197
56359
|
*
|
|
56198
56360
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
56199
56361
|
* by any integration that exposes the same program / option surface.
|
|
@@ -56241,11 +56403,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
56241
56403
|
"offline",
|
|
56242
56404
|
"description-missing"
|
|
56243
56405
|
]);
|
|
56244
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
56245
|
-
"ok",
|
|
56246
|
-
"low",
|
|
56247
|
-
"empty"
|
|
56248
|
-
]);
|
|
56249
56406
|
var DishwasherStatusSchema = object({
|
|
56250
56407
|
availability: DishwasherAvailabilitySchema,
|
|
56251
56408
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -56278,8 +56435,6 @@ var DishwasherStatusSchema = object({
|
|
|
56278
56435
|
powerOn: boolean().nullable(),
|
|
56279
56436
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
56280
56437
|
powerState: string().nullable(),
|
|
56281
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56282
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56283
56438
|
/**
|
|
56284
56439
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
56285
56440
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -59155,7 +59310,7 @@ var motionTriggerCapability = {
|
|
|
59155
59310
|
enabled: boolean()
|
|
59156
59311
|
}), _void(), {
|
|
59157
59312
|
kind: "mutation",
|
|
59158
|
-
auth: "
|
|
59313
|
+
auth: "protected"
|
|
59159
59314
|
}) },
|
|
59160
59315
|
events: { onMotionTriggerChanged: { data: object({
|
|
59161
59316
|
deviceId: number(),
|
|
@@ -59885,6 +60040,13 @@ var TopologyNodeSchema = object({
|
|
|
59885
60040
|
cpuModel: string().nullable(),
|
|
59886
60041
|
cpuCores: number(),
|
|
59887
60042
|
memoryMB: number(),
|
|
60043
|
+
/**
|
|
60044
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
60045
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
60046
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
60047
|
+
* after the stick leaves, D919); the live device set is
|
|
60048
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
60049
|
+
*/
|
|
59888
60050
|
engines: array(string()).readonly(),
|
|
59889
60051
|
isHub: boolean(),
|
|
59890
60052
|
isOnline: boolean(),
|
|
@@ -61002,7 +61164,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
61002
61164
|
format: ModelFormatSchema,
|
|
61003
61165
|
reason: string()
|
|
61004
61166
|
});
|
|
61005
|
-
|
|
61167
|
+
/**
|
|
61168
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
61169
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
61170
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
61171
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
61172
|
+
*/
|
|
61173
|
+
var AcceleratorRescanSchema = object({
|
|
61174
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
61175
|
+
appeared: array(string()).readonly(),
|
|
61176
|
+
disappeared: array(string()).readonly(),
|
|
61177
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
61178
|
+
decidedBy: _enum([
|
|
61179
|
+
"usb-ids",
|
|
61180
|
+
"pci",
|
|
61181
|
+
"delegate-fallback",
|
|
61182
|
+
"none"
|
|
61183
|
+
])
|
|
61184
|
+
});
|
|
61185
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
61186
|
+
kind: "mutation",
|
|
61187
|
+
auth: "admin"
|
|
61188
|
+
});
|
|
61006
61189
|
/**
|
|
61007
61190
|
* Multi-metric electrical meter. One slice can carry any combination
|
|
61008
61191
|
* of instantaneous power (W), cumulative energy (kWh), voltage (V),
|
|
@@ -65095,60 +65278,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
65095
65278
|
auth: "admin",
|
|
65096
65279
|
access: "delete"
|
|
65097
65280
|
});
|
|
65098
|
-
/**
|
|
65099
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
65100
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
65101
|
-
* optional fan-speed selector.
|
|
65102
|
-
*
|
|
65103
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
65104
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
65105
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
65106
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
65107
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
65108
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
65109
|
-
*
|
|
65110
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
65111
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
65112
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
65113
|
-
*
|
|
65114
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
65115
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
65116
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
65117
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
65118
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
65119
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
65120
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
65121
|
-
* so the HA provider leaves all four `null`.
|
|
65122
|
-
*/
|
|
65123
|
-
var VacuumStateSchema = _enum([
|
|
65124
|
-
"idle",
|
|
65125
|
-
"cleaning",
|
|
65126
|
-
"paused",
|
|
65127
|
-
"returning",
|
|
65128
|
-
"docked",
|
|
65129
|
-
"drying",
|
|
65130
|
-
"error"
|
|
65131
|
-
]);
|
|
65132
|
-
/**
|
|
65133
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
65134
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
65135
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
65136
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
65137
|
-
* hardware has no such tank at all.
|
|
65138
|
-
*/
|
|
65139
|
-
var TankStatusSchema = object({
|
|
65140
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
65141
|
-
level: number().min(0).max(100).nullable(),
|
|
65142
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
65143
|
-
status: _enum([
|
|
65144
|
-
"ok",
|
|
65145
|
-
"low",
|
|
65146
|
-
"full"
|
|
65147
|
-
]).nullable()
|
|
65148
|
-
});
|
|
65149
65281
|
var VacuumControlStatusSchema = object({
|
|
65150
65282
|
/** Lifecycle state of the vacuum. */
|
|
65151
|
-
state:
|
|
65283
|
+
state: _enum([
|
|
65284
|
+
"idle",
|
|
65285
|
+
"cleaning",
|
|
65286
|
+
"paused",
|
|
65287
|
+
"returning",
|
|
65288
|
+
"docked",
|
|
65289
|
+
"drying",
|
|
65290
|
+
"error"
|
|
65291
|
+
]),
|
|
65152
65292
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
65153
65293
|
* reading. */
|
|
65154
65294
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -65157,14 +65297,6 @@ var VacuumControlStatusSchema = object({
|
|
|
65157
65297
|
fanSpeed: string().nullable(),
|
|
65158
65298
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
65159
65299
|
availableFanSpeeds: array(string()),
|
|
65160
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
65161
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
65162
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
65163
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
65164
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
65165
|
-
detergent: TankStatusSchema.nullable(),
|
|
65166
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
65167
|
-
dustBin: TankStatusSchema.nullable(),
|
|
65168
65300
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
65169
65301
|
progressPercent: number().min(0).max(100).nullable(),
|
|
65170
65302
|
/** Current error code (0 / null = no error). */
|
|
@@ -65226,35 +65358,14 @@ var vacuumControlCapability = {
|
|
|
65226
65358
|
*/
|
|
65227
65359
|
durability: "session",
|
|
65228
65360
|
/**
|
|
65229
|
-
* History (D850): recorded series.
|
|
65361
|
+
* History (D850): recorded series. The tanks moved to `consumables` (D915), whose
|
|
65362
|
+
* items are keyed by runtime ids and record no history.
|
|
65230
65363
|
*/
|
|
65231
|
-
history: { fields: {
|
|
65232
|
-
|
|
65233
|
-
|
|
65234
|
-
|
|
65235
|
-
|
|
65236
|
-
},
|
|
65237
|
-
"cleanWater.level": {
|
|
65238
|
-
kind: "gauge",
|
|
65239
|
-
unit: "%",
|
|
65240
|
-
deadband: 2
|
|
65241
|
-
},
|
|
65242
|
-
"dirtyWater.level": {
|
|
65243
|
-
kind: "gauge",
|
|
65244
|
-
unit: "%",
|
|
65245
|
-
deadband: 2
|
|
65246
|
-
},
|
|
65247
|
-
"detergent.level": {
|
|
65248
|
-
kind: "gauge",
|
|
65249
|
-
unit: "%",
|
|
65250
|
-
deadband: 2
|
|
65251
|
-
},
|
|
65252
|
-
"dustBin.level": {
|
|
65253
|
-
kind: "gauge",
|
|
65254
|
-
unit: "%",
|
|
65255
|
-
deadband: 2
|
|
65256
|
-
}
|
|
65257
|
-
} }
|
|
65364
|
+
history: { fields: { batteryLevel: {
|
|
65365
|
+
kind: "gauge",
|
|
65366
|
+
unit: "%",
|
|
65367
|
+
deadband: 2
|
|
65368
|
+
} } }
|
|
65258
65369
|
};
|
|
65259
65370
|
var ValveStatusSchema = object({
|
|
65260
65371
|
/** Lifecycle state of the valve. */
|
|
@@ -69648,6 +69759,12 @@ Object.freeze({
|
|
|
69648
69759
|
addonId: null,
|
|
69649
69760
|
access: "create"
|
|
69650
69761
|
},
|
|
69762
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
69763
|
+
capName: "device-history",
|
|
69764
|
+
capScope: "system",
|
|
69765
|
+
addonId: null,
|
|
69766
|
+
access: "delete"
|
|
69767
|
+
},
|
|
69651
69768
|
"deviceHistory.getDeviceEnabled": {
|
|
69652
69769
|
capName: "device-history",
|
|
69653
69770
|
capScope: "system",
|
|
@@ -69666,6 +69783,12 @@ Object.freeze({
|
|
|
69666
69783
|
addonId: null,
|
|
69667
69784
|
access: "view"
|
|
69668
69785
|
},
|
|
69786
|
+
"deviceHistory.listOrphanSeries": {
|
|
69787
|
+
capName: "device-history",
|
|
69788
|
+
capScope: "system",
|
|
69789
|
+
addonId: null,
|
|
69790
|
+
access: "view"
|
|
69791
|
+
},
|
|
69669
69792
|
"deviceHistory.listSeries": {
|
|
69670
69793
|
capName: "device-history",
|
|
69671
69794
|
capScope: "system",
|
|
@@ -73290,6 +73413,12 @@ Object.freeze({
|
|
|
73290
73413
|
addonId: null,
|
|
73291
73414
|
access: "delete"
|
|
73292
73415
|
},
|
|
73416
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
73417
|
+
capName: "pipeline-orchestrator",
|
|
73418
|
+
capScope: "system",
|
|
73419
|
+
addonId: null,
|
|
73420
|
+
access: "delete"
|
|
73421
|
+
},
|
|
73293
73422
|
"pipelineOrchestrator.getAgentLoad": {
|
|
73294
73423
|
capName: "pipeline-orchestrator",
|
|
73295
73424
|
capScope: "system",
|
|
@@ -73866,6 +73995,12 @@ Object.freeze({
|
|
|
73866
73995
|
addonId: null,
|
|
73867
73996
|
access: "view"
|
|
73868
73997
|
},
|
|
73998
|
+
"platformProbe.rescanAccelerators": {
|
|
73999
|
+
capName: "platform-probe",
|
|
74000
|
+
capScope: "system",
|
|
74001
|
+
addonId: null,
|
|
74002
|
+
access: "create"
|
|
74003
|
+
},
|
|
73869
74004
|
"platformProbe.resolveHwAccel": {
|
|
73870
74005
|
capName: "platform-probe",
|
|
73871
74006
|
capScope: "system",
|
|
@@ -79671,7 +79806,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
79671
79806
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
79672
79807
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
79673
79808
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
79674
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
79809
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
79675
79810
|
([...RULE_TEXT], [...TANK]),
|
|
79676
79811
|
[...RULE_TEXT],
|
|
79677
79812
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
package/dist/addon.mjs
CHANGED
|
@@ -5603,7 +5603,7 @@ var ZodIssueCode = {
|
|
|
5603
5603
|
var ZodFirstPartyTypeKind;
|
|
5604
5604
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5605
5605
|
//#endregion
|
|
5606
|
-
//#region ../types/dist/sleep-
|
|
5606
|
+
//#region ../types/dist/sleep-CUp20JkO.mjs
|
|
5607
5607
|
/**
|
|
5608
5608
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5609
5609
|
* window to float samples (D455).
|
|
@@ -8683,7 +8683,11 @@ var ContributionSectionSchema = object({
|
|
|
8683
8683
|
literal(4)
|
|
8684
8684
|
]).optional(),
|
|
8685
8685
|
tab: string().optional(),
|
|
8686
|
-
location: _enum([
|
|
8686
|
+
location: _enum([
|
|
8687
|
+
"settings",
|
|
8688
|
+
"top-tab",
|
|
8689
|
+
"hero"
|
|
8690
|
+
]).optional(),
|
|
8687
8691
|
order: number().optional(),
|
|
8688
8692
|
fields: array(any())
|
|
8689
8693
|
});
|
|
@@ -13752,7 +13756,11 @@ var ConfigSectionWithValuesSchema = object({
|
|
|
13752
13756
|
literal(4)
|
|
13753
13757
|
]).optional(),
|
|
13754
13758
|
tab: string().optional(),
|
|
13755
|
-
location: _enum([
|
|
13759
|
+
location: _enum([
|
|
13760
|
+
"settings",
|
|
13761
|
+
"top-tab",
|
|
13762
|
+
"hero"
|
|
13763
|
+
]).optional(),
|
|
13756
13764
|
order: number().optional(),
|
|
13757
13765
|
fields: array(any())
|
|
13758
13766
|
});
|
|
@@ -17681,6 +17689,52 @@ var TierStatusSchema = object({
|
|
|
17681
17689
|
countedAt: number().nullable()
|
|
17682
17690
|
});
|
|
17683
17691
|
/** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
|
|
17692
|
+
/**
|
|
17693
|
+
* Why a series is orphan. `device-gone`: its device is absent from the
|
|
17694
|
+
* successful device listings (the departure clock). `undeclared`: its `cap:`
|
|
17695
|
+
* key is declared by no capability any more (a field a cap removed).
|
|
17696
|
+
*/
|
|
17697
|
+
var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
|
|
17698
|
+
/** Rows held per stored tier. */
|
|
17699
|
+
var TierRowsSchema = object({
|
|
17700
|
+
raw: number().int(),
|
|
17701
|
+
"5m": number().int(),
|
|
17702
|
+
"1h": number().int(),
|
|
17703
|
+
"1d": number().int()
|
|
17704
|
+
});
|
|
17705
|
+
var OrphanSeriesSchema = object({
|
|
17706
|
+
seriesId: number().int(),
|
|
17707
|
+
deviceId: number().int(),
|
|
17708
|
+
key: string(),
|
|
17709
|
+
scope: string(),
|
|
17710
|
+
/** The metric's display name; `null` when its metric row is gone too. */
|
|
17711
|
+
displayName: string().nullable(),
|
|
17712
|
+
reason: DeviceHistoryOrphanReasonSchema,
|
|
17713
|
+
/** `device-gone`: since when the device has been absent; `null` otherwise. */
|
|
17714
|
+
missingSince: number().nullable(),
|
|
17715
|
+
firstTs: number(),
|
|
17716
|
+
lastTs: number(),
|
|
17717
|
+
rows: TierRowsSchema
|
|
17718
|
+
});
|
|
17719
|
+
var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
|
|
17720
|
+
"not-found",
|
|
17721
|
+
"not-orphan",
|
|
17722
|
+
"failed"
|
|
17723
|
+
]);
|
|
17724
|
+
var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
|
|
17725
|
+
seriesId: number().int(),
|
|
17726
|
+
ok: literal(true),
|
|
17727
|
+
deleted: TierRowsSchema
|
|
17728
|
+
}), object({
|
|
17729
|
+
seriesId: number().int(),
|
|
17730
|
+
ok: literal(false),
|
|
17731
|
+
reason: DeviceHistoryOrphanDeleteRefusalSchema
|
|
17732
|
+
})]);
|
|
17733
|
+
var OrphanListSchema = object({
|
|
17734
|
+
series: array(OrphanSeriesSchema).readonly(),
|
|
17735
|
+
/** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
|
|
17736
|
+
truncated: boolean()
|
|
17737
|
+
});
|
|
17684
17738
|
var DeviceHistoryStatusSchema = object({
|
|
17685
17739
|
startedAt: number(),
|
|
17686
17740
|
/** The store is declared, series loaded and the first reconcile has answered. */
|
|
@@ -17778,7 +17832,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
|
|
|
17778
17832
|
}), object({ enabled: boolean() }), {
|
|
17779
17833
|
kind: "mutation",
|
|
17780
17834
|
auth: "admin"
|
|
17781
|
-
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" })
|
|
17835
|
+
}), 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() }), {
|
|
17836
|
+
kind: "mutation",
|
|
17837
|
+
auth: "admin"
|
|
17838
|
+
});
|
|
17782
17839
|
var DeviceCaStatusSchema = discriminatedUnion("state", [
|
|
17783
17840
|
object({ state: literal("absent") }),
|
|
17784
17841
|
object({
|
|
@@ -50749,6 +50806,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50749
50806
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50750
50807
|
available: boolean(),
|
|
50751
50808
|
/**
|
|
50809
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50810
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50811
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50812
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50813
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50814
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50815
|
+
*/
|
|
50816
|
+
presence: _enum([
|
|
50817
|
+
"present",
|
|
50818
|
+
"absent",
|
|
50819
|
+
"unknown"
|
|
50820
|
+
]).optional(),
|
|
50821
|
+
/**
|
|
50752
50822
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50753
50823
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50754
50824
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50974,7 +51044,13 @@ method(object({
|
|
|
50974
51044
|
}), object({ success: literal(true) }), {
|
|
50975
51045
|
kind: "mutation",
|
|
50976
51046
|
auth: "admin"
|
|
50977
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
51047
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
51048
|
+
agentNodeId: string(),
|
|
51049
|
+
deviceKey: string()
|
|
51050
|
+
}), object({ success: literal(true) }), {
|
|
51051
|
+
kind: "mutation",
|
|
51052
|
+
auth: "admin"
|
|
51053
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50978
51054
|
success: literal(true),
|
|
50979
51055
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50980
51056
|
effectiveModelId: string().nullable(),
|
|
@@ -55655,17 +55731,69 @@ var connectivityCapability = {
|
|
|
55655
55731
|
volatileStateFields: ["lastChangedAt"]
|
|
55656
55732
|
};
|
|
55657
55733
|
/**
|
|
55658
|
-
* Generic device-consumables capability —
|
|
55659
|
-
*
|
|
55660
|
-
* descaling cycles,
|
|
55661
|
-
*
|
|
55662
|
-
*
|
|
55663
|
-
*
|
|
55734
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
55735
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
55736
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
55737
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
55738
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
55739
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
55740
|
+
* its device tracks consumables registers it; the provider names each item
|
|
55741
|
+
* verbatim and says which `kind` it is.
|
|
55742
|
+
*
|
|
55743
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
55744
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
55745
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
55664
55746
|
*
|
|
55665
55747
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
55666
55748
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
55667
55749
|
* "No consumables reported" placeholder when `items` is empty.
|
|
55668
55750
|
*/
|
|
55751
|
+
/**
|
|
55752
|
+
* What an item IS, which decides which direction is bad:
|
|
55753
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
55754
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
55755
|
+
* salt, rinse aid); low or empty is bad.
|
|
55756
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
55757
|
+
* bad.
|
|
55758
|
+
* Absent = `wear`.
|
|
55759
|
+
*/
|
|
55760
|
+
var ConsumableKindSchema = _enum([
|
|
55761
|
+
"wear",
|
|
55762
|
+
"supply",
|
|
55763
|
+
"waste"
|
|
55764
|
+
]);
|
|
55765
|
+
/**
|
|
55766
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
55767
|
+
* of `kind`, which decides which direction is bad:
|
|
55768
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
55769
|
+
* remaining time and a reset.
|
|
55770
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
55771
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
55772
|
+
* a stepped level and "refill".
|
|
55773
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
55774
|
+
* that warns when full.
|
|
55775
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
55776
|
+
*/
|
|
55777
|
+
var ConsumableFormSchema = _enum([
|
|
55778
|
+
"part",
|
|
55779
|
+
"tank",
|
|
55780
|
+
"product",
|
|
55781
|
+
"bin"
|
|
55782
|
+
]);
|
|
55783
|
+
/** The provider's own discrete verdict on an item. */
|
|
55784
|
+
var ConsumableStatusSchema = _enum([
|
|
55785
|
+
"ok",
|
|
55786
|
+
"low",
|
|
55787
|
+
"empty",
|
|
55788
|
+
"full",
|
|
55789
|
+
"replace"
|
|
55790
|
+
]);
|
|
55791
|
+
_enum([
|
|
55792
|
+
"ok",
|
|
55793
|
+
"low",
|
|
55794
|
+
"empty",
|
|
55795
|
+
"full"
|
|
55796
|
+
]);
|
|
55669
55797
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
55670
55798
|
* each. */
|
|
55671
55799
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -55680,18 +55808,23 @@ var ConsumableRemainingSchema = object({
|
|
|
55680
55808
|
unit: ConsumableRemainingUnitSchema
|
|
55681
55809
|
});
|
|
55682
55810
|
/** A single consumable item. Either a continuous `level` (remaining
|
|
55683
|
-
* life
|
|
55684
|
-
*
|
|
55685
|
-
* mutually exclusive; a provider may
|
|
55811
|
+
* life %, or fill % for a `supply` / `waste` item) or a discrete `status`
|
|
55812
|
+
* may be known — both may be null when a provider only knows the item
|
|
55813
|
+
* exists. `level` and `status` are not mutually exclusive; a provider may
|
|
55814
|
+
* report both. */
|
|
55686
55815
|
var ConsumableItemSchema = object({
|
|
55687
55816
|
/** Stable id, e.g. 'main-brush'. */
|
|
55688
55817
|
key: string().min(1),
|
|
55689
55818
|
/** Display name. */
|
|
55690
55819
|
label: string().min(1),
|
|
55691
|
-
/** Remaining life % when known (0..100). */
|
|
55820
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
55692
55821
|
level: number().min(0).max(100).nullable(),
|
|
55693
|
-
/**
|
|
55694
|
-
status:
|
|
55822
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
55823
|
+
status: ConsumableStatusSchema.nullable(),
|
|
55824
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
55825
|
+
kind: ConsumableKindSchema.optional(),
|
|
55826
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
55827
|
+
form: ConsumableFormSchema.optional(),
|
|
55695
55828
|
/** Ms epoch of the last replace, when known. */
|
|
55696
55829
|
lastResetAt: number().nullable(),
|
|
55697
55830
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -55714,7 +55847,7 @@ var consumablesCapability = {
|
|
|
55714
55847
|
kind: "widget",
|
|
55715
55848
|
widgetId: "host/consumables-panel",
|
|
55716
55849
|
tab: "consumables",
|
|
55717
|
-
|
|
55850
|
+
placement: "hero",
|
|
55718
55851
|
label: "Consumables",
|
|
55719
55852
|
order: 5
|
|
55720
55853
|
} },
|
|
@@ -55775,9 +55908,37 @@ reset: method(object({
|
|
|
55775
55908
|
*/
|
|
55776
55909
|
durability: "restored",
|
|
55777
55910
|
/**
|
|
55778
|
-
* History (D850):
|
|
55911
|
+
* History (D850, D917): one series per (item field, item `key`) — the item key
|
|
55912
|
+
* is the series scope, the item `label` names it. A vacuum tank's fill, a
|
|
55913
|
+
* brush's remaining life and a dishwasher's salt are each recorded the moment
|
|
55914
|
+
* their provider reports them; an item that appears later gets its series.
|
|
55779
55915
|
*/
|
|
55780
|
-
history:
|
|
55916
|
+
history: {
|
|
55917
|
+
fields: {},
|
|
55918
|
+
items: {
|
|
55919
|
+
path: "items",
|
|
55920
|
+
key: "key",
|
|
55921
|
+
label: "label",
|
|
55922
|
+
fields: {
|
|
55923
|
+
level: {
|
|
55924
|
+
kind: "gauge",
|
|
55925
|
+
unit: "%",
|
|
55926
|
+
deadband: 2,
|
|
55927
|
+
displayName: "Level"
|
|
55928
|
+
},
|
|
55929
|
+
status: {
|
|
55930
|
+
kind: "enum",
|
|
55931
|
+
displayName: "Status"
|
|
55932
|
+
},
|
|
55933
|
+
"remaining.value": {
|
|
55934
|
+
kind: "gauge",
|
|
55935
|
+
unitFrom: "remaining.unit",
|
|
55936
|
+
deadband: 1,
|
|
55937
|
+
displayName: "Remaining"
|
|
55938
|
+
}
|
|
55939
|
+
}
|
|
55940
|
+
}
|
|
55941
|
+
},
|
|
55781
55942
|
/** Clocks, not content: a re-read that changed no item costs no commit. */
|
|
55782
55943
|
volatileStateFields: ["lastChangedAt", "lastFetchedAt"]
|
|
55783
55944
|
};
|
|
@@ -56192,8 +56353,9 @@ onStatusChanged: { data: object({
|
|
|
56192
56353
|
volatileStateFields: ["lastChangedAt"]
|
|
56193
56354
|
};
|
|
56194
56355
|
/**
|
|
56195
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
56196
|
-
*
|
|
56356
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
56357
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
56358
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
56197
56359
|
*
|
|
56198
56360
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
56199
56361
|
* by any integration that exposes the same program / option surface.
|
|
@@ -56241,11 +56403,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
56241
56403
|
"offline",
|
|
56242
56404
|
"description-missing"
|
|
56243
56405
|
]);
|
|
56244
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
56245
|
-
"ok",
|
|
56246
|
-
"low",
|
|
56247
|
-
"empty"
|
|
56248
|
-
]);
|
|
56249
56406
|
var DishwasherStatusSchema = object({
|
|
56250
56407
|
availability: DishwasherAvailabilitySchema,
|
|
56251
56408
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -56278,8 +56435,6 @@ var DishwasherStatusSchema = object({
|
|
|
56278
56435
|
powerOn: boolean().nullable(),
|
|
56279
56436
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
56280
56437
|
powerState: string().nullable(),
|
|
56281
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56282
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56283
56438
|
/**
|
|
56284
56439
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
56285
56440
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -59155,7 +59310,7 @@ var motionTriggerCapability = {
|
|
|
59155
59310
|
enabled: boolean()
|
|
59156
59311
|
}), _void(), {
|
|
59157
59312
|
kind: "mutation",
|
|
59158
|
-
auth: "
|
|
59313
|
+
auth: "protected"
|
|
59159
59314
|
}) },
|
|
59160
59315
|
events: { onMotionTriggerChanged: { data: object({
|
|
59161
59316
|
deviceId: number(),
|
|
@@ -59885,6 +60040,13 @@ var TopologyNodeSchema = object({
|
|
|
59885
60040
|
cpuModel: string().nullable(),
|
|
59886
60041
|
cpuCores: number(),
|
|
59887
60042
|
memoryMB: number(),
|
|
60043
|
+
/**
|
|
60044
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
60045
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
60046
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
60047
|
+
* after the stick leaves, D919); the live device set is
|
|
60048
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
60049
|
+
*/
|
|
59888
60050
|
engines: array(string()).readonly(),
|
|
59889
60051
|
isHub: boolean(),
|
|
59890
60052
|
isOnline: boolean(),
|
|
@@ -61002,7 +61164,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
61002
61164
|
format: ModelFormatSchema,
|
|
61003
61165
|
reason: string()
|
|
61004
61166
|
});
|
|
61005
|
-
|
|
61167
|
+
/**
|
|
61168
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
61169
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
61170
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
61171
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
61172
|
+
*/
|
|
61173
|
+
var AcceleratorRescanSchema = object({
|
|
61174
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
61175
|
+
appeared: array(string()).readonly(),
|
|
61176
|
+
disappeared: array(string()).readonly(),
|
|
61177
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
61178
|
+
decidedBy: _enum([
|
|
61179
|
+
"usb-ids",
|
|
61180
|
+
"pci",
|
|
61181
|
+
"delegate-fallback",
|
|
61182
|
+
"none"
|
|
61183
|
+
])
|
|
61184
|
+
});
|
|
61185
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
61186
|
+
kind: "mutation",
|
|
61187
|
+
auth: "admin"
|
|
61188
|
+
});
|
|
61006
61189
|
/**
|
|
61007
61190
|
* Multi-metric electrical meter. One slice can carry any combination
|
|
61008
61191
|
* of instantaneous power (W), cumulative energy (kWh), voltage (V),
|
|
@@ -65095,60 +65278,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
65095
65278
|
auth: "admin",
|
|
65096
65279
|
access: "delete"
|
|
65097
65280
|
});
|
|
65098
|
-
/**
|
|
65099
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
65100
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
65101
|
-
* optional fan-speed selector.
|
|
65102
|
-
*
|
|
65103
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
65104
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
65105
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
65106
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
65107
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
65108
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
65109
|
-
*
|
|
65110
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
65111
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
65112
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
65113
|
-
*
|
|
65114
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
65115
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
65116
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
65117
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
65118
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
65119
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
65120
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
65121
|
-
* so the HA provider leaves all four `null`.
|
|
65122
|
-
*/
|
|
65123
|
-
var VacuumStateSchema = _enum([
|
|
65124
|
-
"idle",
|
|
65125
|
-
"cleaning",
|
|
65126
|
-
"paused",
|
|
65127
|
-
"returning",
|
|
65128
|
-
"docked",
|
|
65129
|
-
"drying",
|
|
65130
|
-
"error"
|
|
65131
|
-
]);
|
|
65132
|
-
/**
|
|
65133
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
65134
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
65135
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
65136
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
65137
|
-
* hardware has no such tank at all.
|
|
65138
|
-
*/
|
|
65139
|
-
var TankStatusSchema = object({
|
|
65140
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
65141
|
-
level: number().min(0).max(100).nullable(),
|
|
65142
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
65143
|
-
status: _enum([
|
|
65144
|
-
"ok",
|
|
65145
|
-
"low",
|
|
65146
|
-
"full"
|
|
65147
|
-
]).nullable()
|
|
65148
|
-
});
|
|
65149
65281
|
var VacuumControlStatusSchema = object({
|
|
65150
65282
|
/** Lifecycle state of the vacuum. */
|
|
65151
|
-
state:
|
|
65283
|
+
state: _enum([
|
|
65284
|
+
"idle",
|
|
65285
|
+
"cleaning",
|
|
65286
|
+
"paused",
|
|
65287
|
+
"returning",
|
|
65288
|
+
"docked",
|
|
65289
|
+
"drying",
|
|
65290
|
+
"error"
|
|
65291
|
+
]),
|
|
65152
65292
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
65153
65293
|
* reading. */
|
|
65154
65294
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -65157,14 +65297,6 @@ var VacuumControlStatusSchema = object({
|
|
|
65157
65297
|
fanSpeed: string().nullable(),
|
|
65158
65298
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
65159
65299
|
availableFanSpeeds: array(string()),
|
|
65160
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
65161
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
65162
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
65163
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
65164
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
65165
|
-
detergent: TankStatusSchema.nullable(),
|
|
65166
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
65167
|
-
dustBin: TankStatusSchema.nullable(),
|
|
65168
65300
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
65169
65301
|
progressPercent: number().min(0).max(100).nullable(),
|
|
65170
65302
|
/** Current error code (0 / null = no error). */
|
|
@@ -65226,35 +65358,14 @@ var vacuumControlCapability = {
|
|
|
65226
65358
|
*/
|
|
65227
65359
|
durability: "session",
|
|
65228
65360
|
/**
|
|
65229
|
-
* History (D850): recorded series.
|
|
65361
|
+
* History (D850): recorded series. The tanks moved to `consumables` (D915), whose
|
|
65362
|
+
* items are keyed by runtime ids and record no history.
|
|
65230
65363
|
*/
|
|
65231
|
-
history: { fields: {
|
|
65232
|
-
|
|
65233
|
-
|
|
65234
|
-
|
|
65235
|
-
|
|
65236
|
-
},
|
|
65237
|
-
"cleanWater.level": {
|
|
65238
|
-
kind: "gauge",
|
|
65239
|
-
unit: "%",
|
|
65240
|
-
deadband: 2
|
|
65241
|
-
},
|
|
65242
|
-
"dirtyWater.level": {
|
|
65243
|
-
kind: "gauge",
|
|
65244
|
-
unit: "%",
|
|
65245
|
-
deadband: 2
|
|
65246
|
-
},
|
|
65247
|
-
"detergent.level": {
|
|
65248
|
-
kind: "gauge",
|
|
65249
|
-
unit: "%",
|
|
65250
|
-
deadband: 2
|
|
65251
|
-
},
|
|
65252
|
-
"dustBin.level": {
|
|
65253
|
-
kind: "gauge",
|
|
65254
|
-
unit: "%",
|
|
65255
|
-
deadband: 2
|
|
65256
|
-
}
|
|
65257
|
-
} }
|
|
65364
|
+
history: { fields: { batteryLevel: {
|
|
65365
|
+
kind: "gauge",
|
|
65366
|
+
unit: "%",
|
|
65367
|
+
deadband: 2
|
|
65368
|
+
} } }
|
|
65258
65369
|
};
|
|
65259
65370
|
var ValveStatusSchema = object({
|
|
65260
65371
|
/** Lifecycle state of the valve. */
|
|
@@ -69648,6 +69759,12 @@ Object.freeze({
|
|
|
69648
69759
|
addonId: null,
|
|
69649
69760
|
access: "create"
|
|
69650
69761
|
},
|
|
69762
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
69763
|
+
capName: "device-history",
|
|
69764
|
+
capScope: "system",
|
|
69765
|
+
addonId: null,
|
|
69766
|
+
access: "delete"
|
|
69767
|
+
},
|
|
69651
69768
|
"deviceHistory.getDeviceEnabled": {
|
|
69652
69769
|
capName: "device-history",
|
|
69653
69770
|
capScope: "system",
|
|
@@ -69666,6 +69783,12 @@ Object.freeze({
|
|
|
69666
69783
|
addonId: null,
|
|
69667
69784
|
access: "view"
|
|
69668
69785
|
},
|
|
69786
|
+
"deviceHistory.listOrphanSeries": {
|
|
69787
|
+
capName: "device-history",
|
|
69788
|
+
capScope: "system",
|
|
69789
|
+
addonId: null,
|
|
69790
|
+
access: "view"
|
|
69791
|
+
},
|
|
69669
69792
|
"deviceHistory.listSeries": {
|
|
69670
69793
|
capName: "device-history",
|
|
69671
69794
|
capScope: "system",
|
|
@@ -73290,6 +73413,12 @@ Object.freeze({
|
|
|
73290
73413
|
addonId: null,
|
|
73291
73414
|
access: "delete"
|
|
73292
73415
|
},
|
|
73416
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
73417
|
+
capName: "pipeline-orchestrator",
|
|
73418
|
+
capScope: "system",
|
|
73419
|
+
addonId: null,
|
|
73420
|
+
access: "delete"
|
|
73421
|
+
},
|
|
73293
73422
|
"pipelineOrchestrator.getAgentLoad": {
|
|
73294
73423
|
capName: "pipeline-orchestrator",
|
|
73295
73424
|
capScope: "system",
|
|
@@ -73866,6 +73995,12 @@ Object.freeze({
|
|
|
73866
73995
|
addonId: null,
|
|
73867
73996
|
access: "view"
|
|
73868
73997
|
},
|
|
73998
|
+
"platformProbe.rescanAccelerators": {
|
|
73999
|
+
capName: "platform-probe",
|
|
74000
|
+
capScope: "system",
|
|
74001
|
+
addonId: null,
|
|
74002
|
+
access: "create"
|
|
74003
|
+
},
|
|
73869
74004
|
"platformProbe.resolveHwAccel": {
|
|
73870
74005
|
capName: "platform-probe",
|
|
73871
74006
|
capScope: "system",
|
|
@@ -79671,7 +79806,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
79671
79806
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
79672
79807
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
79673
79808
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
79674
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
79809
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
79675
79810
|
([...RULE_TEXT], [...TANK]),
|
|
79676
79811
|
[...RULE_TEXT],
|
|
79677
79812
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-import-alexa",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.146",
|
|
4
4
|
"description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|