@camstack/addon-provider-homeassistant 1.2.617 → 1.2.619
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 +1 -9
- package/dist/addon.mjs +1 -9
- package/dist/{dist-CfZUXrNa.js → dist-DwxJnRNc.js} +237 -123
- package/dist/{dist-D6huwmAr.mjs → dist-fqJMr4fu.mjs} +208 -124
- package/dist/ha-export/ha-export.addon.js +417 -27
- package/dist/ha-export/ha-export.addon.mjs +410 -27
- package/package.json +1 -1
|
@@ -5563,7 +5563,7 @@ var ZodIssueCode = {
|
|
|
5563
5563
|
var ZodFirstPartyTypeKind;
|
|
5564
5564
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5565
5565
|
//#endregion
|
|
5566
|
-
//#region ../types/dist/sleep-
|
|
5566
|
+
//#region ../types/dist/sleep-CUp20JkO.mjs
|
|
5567
5567
|
/**
|
|
5568
5568
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5569
5569
|
* window to float samples (D455).
|
|
@@ -8702,7 +8702,11 @@ var ContributionSectionSchema = object({
|
|
|
8702
8702
|
literal(4)
|
|
8703
8703
|
]).optional(),
|
|
8704
8704
|
tab: string().optional(),
|
|
8705
|
-
location: _enum([
|
|
8705
|
+
location: _enum([
|
|
8706
|
+
"settings",
|
|
8707
|
+
"top-tab",
|
|
8708
|
+
"hero"
|
|
8709
|
+
]).optional(),
|
|
8706
8710
|
order: number().optional(),
|
|
8707
8711
|
fields: array(any())
|
|
8708
8712
|
});
|
|
@@ -13798,7 +13802,11 @@ var ConfigSectionWithValuesSchema = object({
|
|
|
13798
13802
|
literal(4)
|
|
13799
13803
|
]).optional(),
|
|
13800
13804
|
tab: string().optional(),
|
|
13801
|
-
location: _enum([
|
|
13805
|
+
location: _enum([
|
|
13806
|
+
"settings",
|
|
13807
|
+
"top-tab",
|
|
13808
|
+
"hero"
|
|
13809
|
+
]).optional(),
|
|
13802
13810
|
order: number().optional(),
|
|
13803
13811
|
fields: array(any())
|
|
13804
13812
|
});
|
|
@@ -17727,6 +17735,52 @@ var TierStatusSchema = object({
|
|
|
17727
17735
|
countedAt: number().nullable()
|
|
17728
17736
|
});
|
|
17729
17737
|
/** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
|
|
17738
|
+
/**
|
|
17739
|
+
* Why a series is orphan. `device-gone`: its device is absent from the
|
|
17740
|
+
* successful device listings (the departure clock). `undeclared`: its `cap:`
|
|
17741
|
+
* key is declared by no capability any more (a field a cap removed).
|
|
17742
|
+
*/
|
|
17743
|
+
var DeviceHistoryOrphanReasonSchema = _enum(["device-gone", "undeclared"]);
|
|
17744
|
+
/** Rows held per stored tier. */
|
|
17745
|
+
var TierRowsSchema = object({
|
|
17746
|
+
raw: number().int(),
|
|
17747
|
+
"5m": number().int(),
|
|
17748
|
+
"1h": number().int(),
|
|
17749
|
+
"1d": number().int()
|
|
17750
|
+
});
|
|
17751
|
+
var OrphanSeriesSchema = object({
|
|
17752
|
+
seriesId: number().int(),
|
|
17753
|
+
deviceId: number().int(),
|
|
17754
|
+
key: string(),
|
|
17755
|
+
scope: string(),
|
|
17756
|
+
/** The metric's display name; `null` when its metric row is gone too. */
|
|
17757
|
+
displayName: string().nullable(),
|
|
17758
|
+
reason: DeviceHistoryOrphanReasonSchema,
|
|
17759
|
+
/** `device-gone`: since when the device has been absent; `null` otherwise. */
|
|
17760
|
+
missingSince: number().nullable(),
|
|
17761
|
+
firstTs: number(),
|
|
17762
|
+
lastTs: number(),
|
|
17763
|
+
rows: TierRowsSchema
|
|
17764
|
+
});
|
|
17765
|
+
var DeviceHistoryOrphanDeleteRefusalSchema = _enum([
|
|
17766
|
+
"not-found",
|
|
17767
|
+
"not-orphan",
|
|
17768
|
+
"failed"
|
|
17769
|
+
]);
|
|
17770
|
+
var OrphanDeleteEntrySchema = discriminatedUnion("ok", [object({
|
|
17771
|
+
seriesId: number().int(),
|
|
17772
|
+
ok: literal(true),
|
|
17773
|
+
deleted: TierRowsSchema
|
|
17774
|
+
}), object({
|
|
17775
|
+
seriesId: number().int(),
|
|
17776
|
+
ok: literal(false),
|
|
17777
|
+
reason: DeviceHistoryOrphanDeleteRefusalSchema
|
|
17778
|
+
})]);
|
|
17779
|
+
var OrphanListSchema = object({
|
|
17780
|
+
series: array(OrphanSeriesSchema).readonly(),
|
|
17781
|
+
/** More orphans exist than {@link DEVICE_HISTORY_ORPHAN_LIST_MAX}. */
|
|
17782
|
+
truncated: boolean()
|
|
17783
|
+
});
|
|
17730
17784
|
var DeviceHistoryStatusSchema = object({
|
|
17731
17785
|
startedAt: number(),
|
|
17732
17786
|
/** The store is declared, series loaded and the first reconcile has answered. */
|
|
@@ -17824,7 +17878,10 @@ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly())
|
|
|
17824
17878
|
}), object({ enabled: boolean() }), {
|
|
17825
17879
|
kind: "mutation",
|
|
17826
17880
|
auth: "admin"
|
|
17827
|
-
}), method(object({}), DeviceHistoryStatusSchema, { auth: "admin" })
|
|
17881
|
+
}), 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() }), {
|
|
17882
|
+
kind: "mutation",
|
|
17883
|
+
auth: "admin"
|
|
17884
|
+
});
|
|
17828
17885
|
var DeviceCaStatusSchema = discriminatedUnion("state", [
|
|
17829
17886
|
object({ state: literal("absent") }),
|
|
17830
17887
|
object({
|
|
@@ -48807,7 +48864,6 @@ var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
|
48807
48864
|
modelId: string()
|
|
48808
48865
|
}),
|
|
48809
48866
|
object({ kind: literal("cpu-device") }),
|
|
48810
|
-
object({ kind: literal("coral-untouched") }),
|
|
48811
48867
|
object({ kind: literal("device-disabled") }),
|
|
48812
48868
|
object({ kind: literal("device-unavailable") }),
|
|
48813
48869
|
object({ kind: literal("node-offline") }),
|
|
@@ -48905,11 +48961,6 @@ var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
|
48905
48961
|
kind: literal("detector-store-unreadable"),
|
|
48906
48962
|
error: string()
|
|
48907
48963
|
}),
|
|
48908
|
-
object({
|
|
48909
|
-
kind: literal("coral-enabled"),
|
|
48910
|
-
nodeId: string(),
|
|
48911
|
-
deviceKey: string()
|
|
48912
|
-
}),
|
|
48913
48964
|
object({
|
|
48914
48965
|
kind: literal("custom-pin-kept"),
|
|
48915
48966
|
nodeId: string(),
|
|
@@ -56044,17 +56095,83 @@ var connectivityCapability = {
|
|
|
56044
56095
|
volatileStateFields: ["lastChangedAt"]
|
|
56045
56096
|
};
|
|
56046
56097
|
/**
|
|
56047
|
-
* Generic device-consumables capability —
|
|
56048
|
-
*
|
|
56049
|
-
* descaling cycles,
|
|
56050
|
-
*
|
|
56051
|
-
*
|
|
56052
|
-
*
|
|
56098
|
+
* Generic device-consumables capability — the ONE place a device reports what
|
|
56099
|
+
* it uses up or fills: wear parts (vacuum filters/brushes, cartridges,
|
|
56100
|
+
* descaling cycles), supplies it draws from (a vacuum's clean-water tank and
|
|
56101
|
+
* detergent, a dishwasher's salt and rinse aid) and waste it collects (a dirty
|
|
56102
|
+
* water tank, a dust bin). Each item carries its remaining life or fill and an
|
|
56103
|
+
* optional "Replaced" reset action. Device-agnostic: any provider that knows
|
|
56104
|
+
* its device tracks consumables registers it; the provider names each item
|
|
56105
|
+
* verbatim and says which `kind` it is.
|
|
56106
|
+
*
|
|
56107
|
+
* The admin UI renders it as ONE collapsible section directly under the
|
|
56108
|
+
* device page's hero card (`placement: 'hero'`), for every device bound to
|
|
56109
|
+
* this cap — never drawn by a device type's hero card itself (D915).
|
|
56053
56110
|
*
|
|
56054
56111
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
56055
56112
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
56056
56113
|
* "No consumables reported" placeholder when `items` is empty.
|
|
56057
56114
|
*/
|
|
56115
|
+
/**
|
|
56116
|
+
* What an item IS, which decides which direction is bad:
|
|
56117
|
+
* - `wear` — a part that wears out (a brush, a filter); low life is bad.
|
|
56118
|
+
* - `supply` — something the device draws from (clean water, detergent,
|
|
56119
|
+
* salt, rinse aid); low or empty is bad.
|
|
56120
|
+
* - `waste` — something the device fills (dirty water, a dust bin); full is
|
|
56121
|
+
* bad.
|
|
56122
|
+
* Absent = `wear`.
|
|
56123
|
+
*/
|
|
56124
|
+
var ConsumableKindSchema = _enum([
|
|
56125
|
+
"wear",
|
|
56126
|
+
"supply",
|
|
56127
|
+
"waste"
|
|
56128
|
+
]);
|
|
56129
|
+
/**
|
|
56130
|
+
* What an item LOOKS like, which decides how a client draws it — independent
|
|
56131
|
+
* of `kind`, which decides which direction is bad:
|
|
56132
|
+
* - `part` — a part that wears (a brush, a filter, a mop pad): a wear bar,
|
|
56133
|
+
* remaining time and a reset.
|
|
56134
|
+
* - `tank` — a container of liquid (clean water, dirty water): a fill gauge.
|
|
56135
|
+
* - `product` — something bought and refilled (detergent, salt, rinse aid):
|
|
56136
|
+
* a stepped level and "refill".
|
|
56137
|
+
* - `bin` — a container that collects waste (a dust bin): a fill gauge
|
|
56138
|
+
* that warns when full.
|
|
56139
|
+
* Absent = derived from the kind ({@link consumableFormOf}).
|
|
56140
|
+
*/
|
|
56141
|
+
var ConsumableFormSchema = _enum([
|
|
56142
|
+
"part",
|
|
56143
|
+
"tank",
|
|
56144
|
+
"product",
|
|
56145
|
+
"bin"
|
|
56146
|
+
]);
|
|
56147
|
+
/** The provider's own discrete verdict on an item. */
|
|
56148
|
+
var ConsumableStatusSchema = _enum([
|
|
56149
|
+
"ok",
|
|
56150
|
+
"low",
|
|
56151
|
+
"empty",
|
|
56152
|
+
"full",
|
|
56153
|
+
"replace"
|
|
56154
|
+
]);
|
|
56155
|
+
_enum([
|
|
56156
|
+
"ok",
|
|
56157
|
+
"low",
|
|
56158
|
+
"empty",
|
|
56159
|
+
"full"
|
|
56160
|
+
]);
|
|
56161
|
+
/** The kind of an item, with the documented default for an absent one. */
|
|
56162
|
+
function consumableKindOf(item) {
|
|
56163
|
+
return item.kind ?? "wear";
|
|
56164
|
+
}
|
|
56165
|
+
/** The kind's default form: wear → part, waste → bin, supply → product. */
|
|
56166
|
+
var FORM_OF_KIND = {
|
|
56167
|
+
wear: "part",
|
|
56168
|
+
waste: "bin",
|
|
56169
|
+
supply: "product"
|
|
56170
|
+
};
|
|
56171
|
+
/** The form of an item: its own when the provider names one, else its kind's default. */
|
|
56172
|
+
function consumableFormOf(item) {
|
|
56173
|
+
return item.form ?? FORM_OF_KIND[consumableKindOf(item)];
|
|
56174
|
+
}
|
|
56058
56175
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
56059
56176
|
* each. */
|
|
56060
56177
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -56069,18 +56186,23 @@ var ConsumableRemainingSchema = object({
|
|
|
56069
56186
|
unit: ConsumableRemainingUnitSchema
|
|
56070
56187
|
});
|
|
56071
56188
|
/** A single consumable item. Either a continuous `level` (remaining
|
|
56072
|
-
* life
|
|
56073
|
-
*
|
|
56074
|
-
* mutually exclusive; a provider may
|
|
56189
|
+
* life %, or fill % for a `supply` / `waste` item) or a discrete `status`
|
|
56190
|
+
* may be known — both may be null when a provider only knows the item
|
|
56191
|
+
* exists. `level` and `status` are not mutually exclusive; a provider may
|
|
56192
|
+
* report both. */
|
|
56075
56193
|
var ConsumableItemSchema = object({
|
|
56076
56194
|
/** Stable id, e.g. 'main-brush'. */
|
|
56077
56195
|
key: string().min(1),
|
|
56078
56196
|
/** Display name. */
|
|
56079
56197
|
label: string().min(1),
|
|
56080
|
-
/** Remaining life % when known (0..100). */
|
|
56198
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
56081
56199
|
level: number().min(0).max(100).nullable(),
|
|
56082
|
-
/**
|
|
56083
|
-
status:
|
|
56200
|
+
/** The provider's discrete verdict when known (binary mode). */
|
|
56201
|
+
status: ConsumableStatusSchema.nullable(),
|
|
56202
|
+
/** What the item is — decides whether low or full is bad. Absent = `wear`. */
|
|
56203
|
+
kind: ConsumableKindSchema.optional(),
|
|
56204
|
+
/** How the item is drawn (part, tank, product, bin). Absent = derived from `kind`. */
|
|
56205
|
+
form: ConsumableFormSchema.optional(),
|
|
56084
56206
|
/** Ms epoch of the last replace, when known. */
|
|
56085
56207
|
lastResetAt: number().nullable(),
|
|
56086
56208
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -56103,7 +56225,7 @@ var consumablesCapability = {
|
|
|
56103
56225
|
kind: "widget",
|
|
56104
56226
|
widgetId: "host/consumables-panel",
|
|
56105
56227
|
tab: "consumables",
|
|
56106
|
-
|
|
56228
|
+
placement: "hero",
|
|
56107
56229
|
label: "Consumables",
|
|
56108
56230
|
order: 5
|
|
56109
56231
|
} },
|
|
@@ -56164,9 +56286,37 @@ reset: method(object({
|
|
|
56164
56286
|
*/
|
|
56165
56287
|
durability: "restored",
|
|
56166
56288
|
/**
|
|
56167
|
-
* History (D850):
|
|
56289
|
+
* History (D850, D917): one series per (item field, item `key`) — the item key
|
|
56290
|
+
* is the series scope, the item `label` names it. A vacuum tank's fill, a
|
|
56291
|
+
* brush's remaining life and a dishwasher's salt are each recorded the moment
|
|
56292
|
+
* their provider reports them; an item that appears later gets its series.
|
|
56168
56293
|
*/
|
|
56169
|
-
history:
|
|
56294
|
+
history: {
|
|
56295
|
+
fields: {},
|
|
56296
|
+
items: {
|
|
56297
|
+
path: "items",
|
|
56298
|
+
key: "key",
|
|
56299
|
+
label: "label",
|
|
56300
|
+
fields: {
|
|
56301
|
+
level: {
|
|
56302
|
+
kind: "gauge",
|
|
56303
|
+
unit: "%",
|
|
56304
|
+
deadband: 2,
|
|
56305
|
+
displayName: "Level"
|
|
56306
|
+
},
|
|
56307
|
+
status: {
|
|
56308
|
+
kind: "enum",
|
|
56309
|
+
displayName: "Status"
|
|
56310
|
+
},
|
|
56311
|
+
"remaining.value": {
|
|
56312
|
+
kind: "gauge",
|
|
56313
|
+
unitFrom: "remaining.unit",
|
|
56314
|
+
deadband: 1,
|
|
56315
|
+
displayName: "Remaining"
|
|
56316
|
+
}
|
|
56317
|
+
}
|
|
56318
|
+
}
|
|
56319
|
+
},
|
|
56170
56320
|
/** Clocks, not content: a re-read that changed no item costs no commit. */
|
|
56171
56321
|
volatileStateFields: ["lastChangedAt", "lastFetchedAt"]
|
|
56172
56322
|
};
|
|
@@ -56581,8 +56731,9 @@ onStatusChanged: { data: object({
|
|
|
56581
56731
|
volatileStateFields: ["lastChangedAt"]
|
|
56582
56732
|
};
|
|
56583
56733
|
/**
|
|
56584
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
56585
|
-
*
|
|
56734
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
56735
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
56736
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
56586
56737
|
*
|
|
56587
56738
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
56588
56739
|
* by any integration that exposes the same program / option surface.
|
|
@@ -56630,11 +56781,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
56630
56781
|
"offline",
|
|
56631
56782
|
"description-missing"
|
|
56632
56783
|
]);
|
|
56633
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
56634
|
-
"ok",
|
|
56635
|
-
"low",
|
|
56636
|
-
"empty"
|
|
56637
|
-
]);
|
|
56638
56784
|
var DishwasherStatusSchema = object({
|
|
56639
56785
|
availability: DishwasherAvailabilitySchema,
|
|
56640
56786
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -56667,8 +56813,6 @@ var DishwasherStatusSchema = object({
|
|
|
56667
56813
|
powerOn: boolean().nullable(),
|
|
56668
56814
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
56669
56815
|
powerState: string().nullable(),
|
|
56670
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56671
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56672
56816
|
/**
|
|
56673
56817
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
56674
56818
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -65484,60 +65628,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
65484
65628
|
auth: "admin",
|
|
65485
65629
|
access: "delete"
|
|
65486
65630
|
});
|
|
65487
|
-
/**
|
|
65488
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
65489
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
65490
|
-
* optional fan-speed selector.
|
|
65491
|
-
*
|
|
65492
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
65493
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
65494
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
65495
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
65496
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
65497
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
65498
|
-
*
|
|
65499
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
65500
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
65501
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
65502
|
-
*
|
|
65503
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
65504
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
65505
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
65506
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
65507
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
65508
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
65509
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
65510
|
-
* so the HA provider leaves all four `null`.
|
|
65511
|
-
*/
|
|
65512
|
-
var VacuumStateSchema = _enum([
|
|
65513
|
-
"idle",
|
|
65514
|
-
"cleaning",
|
|
65515
|
-
"paused",
|
|
65516
|
-
"returning",
|
|
65517
|
-
"docked",
|
|
65518
|
-
"drying",
|
|
65519
|
-
"error"
|
|
65520
|
-
]);
|
|
65521
|
-
/**
|
|
65522
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
65523
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
65524
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
65525
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
65526
|
-
* hardware has no such tank at all.
|
|
65527
|
-
*/
|
|
65528
|
-
var TankStatusSchema = object({
|
|
65529
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
65530
|
-
level: number().min(0).max(100).nullable(),
|
|
65531
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
65532
|
-
status: _enum([
|
|
65533
|
-
"ok",
|
|
65534
|
-
"low",
|
|
65535
|
-
"full"
|
|
65536
|
-
]).nullable()
|
|
65537
|
-
});
|
|
65538
65631
|
var VacuumControlStatusSchema = object({
|
|
65539
65632
|
/** Lifecycle state of the vacuum. */
|
|
65540
|
-
state:
|
|
65633
|
+
state: _enum([
|
|
65634
|
+
"idle",
|
|
65635
|
+
"cleaning",
|
|
65636
|
+
"paused",
|
|
65637
|
+
"returning",
|
|
65638
|
+
"docked",
|
|
65639
|
+
"drying",
|
|
65640
|
+
"error"
|
|
65641
|
+
]),
|
|
65541
65642
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
65542
65643
|
* reading. */
|
|
65543
65644
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -65546,14 +65647,6 @@ var VacuumControlStatusSchema = object({
|
|
|
65546
65647
|
fanSpeed: string().nullable(),
|
|
65547
65648
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
65548
65649
|
availableFanSpeeds: array(string()),
|
|
65549
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
65550
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
65551
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
65552
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
65553
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
65554
|
-
detergent: TankStatusSchema.nullable(),
|
|
65555
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
65556
|
-
dustBin: TankStatusSchema.nullable(),
|
|
65557
65650
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
65558
65651
|
progressPercent: number().min(0).max(100).nullable(),
|
|
65559
65652
|
/** Current error code (0 / null = no error). */
|
|
@@ -65615,35 +65708,14 @@ var vacuumControlCapability = {
|
|
|
65615
65708
|
*/
|
|
65616
65709
|
durability: "session",
|
|
65617
65710
|
/**
|
|
65618
|
-
* History (D850): recorded series.
|
|
65711
|
+
* History (D850): recorded series. The tanks moved to `consumables` (D915), whose
|
|
65712
|
+
* items are keyed by runtime ids and record no history.
|
|
65619
65713
|
*/
|
|
65620
|
-
history: { fields: {
|
|
65621
|
-
|
|
65622
|
-
|
|
65623
|
-
|
|
65624
|
-
|
|
65625
|
-
},
|
|
65626
|
-
"cleanWater.level": {
|
|
65627
|
-
kind: "gauge",
|
|
65628
|
-
unit: "%",
|
|
65629
|
-
deadband: 2
|
|
65630
|
-
},
|
|
65631
|
-
"dirtyWater.level": {
|
|
65632
|
-
kind: "gauge",
|
|
65633
|
-
unit: "%",
|
|
65634
|
-
deadband: 2
|
|
65635
|
-
},
|
|
65636
|
-
"detergent.level": {
|
|
65637
|
-
kind: "gauge",
|
|
65638
|
-
unit: "%",
|
|
65639
|
-
deadband: 2
|
|
65640
|
-
},
|
|
65641
|
-
"dustBin.level": {
|
|
65642
|
-
kind: "gauge",
|
|
65643
|
-
unit: "%",
|
|
65644
|
-
deadband: 2
|
|
65645
|
-
}
|
|
65646
|
-
} }
|
|
65714
|
+
history: { fields: { batteryLevel: {
|
|
65715
|
+
kind: "gauge",
|
|
65716
|
+
unit: "%",
|
|
65717
|
+
deadband: 2
|
|
65718
|
+
} } }
|
|
65647
65719
|
};
|
|
65648
65720
|
var ValveStatusSchema = object({
|
|
65649
65721
|
/** Lifecycle state of the valve. */
|
|
@@ -70037,6 +70109,12 @@ Object.freeze({
|
|
|
70037
70109
|
addonId: null,
|
|
70038
70110
|
access: "create"
|
|
70039
70111
|
},
|
|
70112
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
70113
|
+
capName: "device-history",
|
|
70114
|
+
capScope: "system",
|
|
70115
|
+
addonId: null,
|
|
70116
|
+
access: "delete"
|
|
70117
|
+
},
|
|
70040
70118
|
"deviceHistory.getDeviceEnabled": {
|
|
70041
70119
|
capName: "device-history",
|
|
70042
70120
|
capScope: "system",
|
|
@@ -70055,6 +70133,12 @@ Object.freeze({
|
|
|
70055
70133
|
addonId: null,
|
|
70056
70134
|
access: "view"
|
|
70057
70135
|
},
|
|
70136
|
+
"deviceHistory.listOrphanSeries": {
|
|
70137
|
+
capName: "device-history",
|
|
70138
|
+
capScope: "system",
|
|
70139
|
+
addonId: null,
|
|
70140
|
+
access: "view"
|
|
70141
|
+
},
|
|
70058
70142
|
"deviceHistory.listSeries": {
|
|
70059
70143
|
capName: "device-history",
|
|
70060
70144
|
capScope: "system",
|
|
@@ -80267,7 +80351,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
80267
80351
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
80268
80352
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
80269
80353
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
80270
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
80354
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
80271
80355
|
([...RULE_TEXT], [...TANK]),
|
|
80272
80356
|
[...RULE_TEXT],
|
|
80273
80357
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
@@ -81017,4 +81101,4 @@ function bestLocationMatch(externalName, existing, threshold = .8) {
|
|
|
81017
81101
|
var MB = 1024 * 1024;
|
|
81018
81102
|
1024 * MB, 3072 * MB;
|
|
81019
81103
|
//#endregion
|
|
81020
|
-
export {
|
|
81104
|
+
export { motionCapability as $, carbonMonoxideCapability as A, entryBody as At, deviceAdoptionCapability as B, string as Bt, binaryCapability as C, DeviceType as Ct, buildDeviceAdminUrl as D, createEvent as Dt, buildAddonRouteProvider as E, RecordSecretUnavailableError as Et, consumableKindOf as F, discriminatedUnion as Ft, floodCapability as G, enumSensorCapability as H, unknown as Ht, contactCapability as I, literal as It, humiditySensorCapability as J, gasCapability as K, controlCapability as L, number as Lt, colorCapability as M, _enum as Mt, connectivityCapability as N, array as Nt, buttonCapability as O, defineEntryKind as Ot, consumableFormOf as P, boolean as Pt, mediaPlayerCapability as Q, coverCapability as R, object as Rt, bestLocationMatch as S, DeviceRole as St, brokerCapability as T, BaseAddon as Tt, eventEmitterCapability as U, url as Ut, deviceExportCapability as V, union as Vt, fanControlCapability as W, EventCategory as Wt, lawnMowerControlCapability as X, imageCapability as Y, lockControlCapability as Z, airQualitySensorCapability as _, valveCapability as _t, COCO_TO_MACRO as a, parseAdminBase as at, automationControlCapability as b, weatherCapability as bt, ConsumableItemSchema as c, presenceCapability as ct, FanDirectionSchema as d, smokeCapability as dt, normalizeUnit as et, HvacModeSchema as f, switchCapability as ft, addonRoutesCapability as g, vacuumControlCapability as gt, accessoriesCapability as h, updateCapability as ht, CAMERA_SWITCH_ORDER as i, oauthIntegrationCapability as it, climateControlCapability as j, nodePin as jt, calendarSourceCapability as k, defineRecordKinds as kt, ConsumableStatusSchema as l, pressureSensorCapability as lt, TargetSchema as m, temperatureSensorCapability as mt, BaseDevice as n, notifierCapability as nt, CameraSwitchIdSchema as o, powerMeterCapability as ot, MediaPlayerRepeatSchema as p, tamperCapability as pt, humidifierCapability as q, BaseDeviceProvider as r, numericSensorCapability as rt, ConsumableFormSchema as s, prepareNotification as st, AlarmArmModeSchema as t, notificationOutputCapability as tt, EnumSensorDateTimeFormatSchema as u, scriptRunnerCapability as ut, alarmPanelCapability as v, vibrationCapability as vt, brightnessCapability as w, errMsg as wt, batteryCapability as x, DeviceFeature as xt, ambientLightSensorCapability as y, waterHeaterCapability as yt, deviceAdminLinkCapability as z, record as zt };
|