@camstack/addon-provider-homeassistant 1.2.618 → 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-BNSbY2dZ.js → dist-DwxJnRNc.js} +237 -117
- package/dist/{dist-BRSVYxR3.mjs → dist-fqJMr4fu.mjs} +208 -118
- 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({
|
|
@@ -56038,17 +56095,83 @@ var connectivityCapability = {
|
|
|
56038
56095
|
volatileStateFields: ["lastChangedAt"]
|
|
56039
56096
|
};
|
|
56040
56097
|
/**
|
|
56041
|
-
* Generic device-consumables capability —
|
|
56042
|
-
*
|
|
56043
|
-
* descaling cycles,
|
|
56044
|
-
*
|
|
56045
|
-
*
|
|
56046
|
-
*
|
|
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).
|
|
56047
56110
|
*
|
|
56048
56111
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
56049
56112
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
56050
56113
|
* "No consumables reported" placeholder when `items` is empty.
|
|
56051
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
|
+
}
|
|
56052
56175
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
56053
56176
|
* each. */
|
|
56054
56177
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -56063,18 +56186,23 @@ var ConsumableRemainingSchema = object({
|
|
|
56063
56186
|
unit: ConsumableRemainingUnitSchema
|
|
56064
56187
|
});
|
|
56065
56188
|
/** A single consumable item. Either a continuous `level` (remaining
|
|
56066
|
-
* life
|
|
56067
|
-
*
|
|
56068
|
-
* 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. */
|
|
56069
56193
|
var ConsumableItemSchema = object({
|
|
56070
56194
|
/** Stable id, e.g. 'main-brush'. */
|
|
56071
56195
|
key: string().min(1),
|
|
56072
56196
|
/** Display name. */
|
|
56073
56197
|
label: string().min(1),
|
|
56074
|
-
/** Remaining life % when known (0..100). */
|
|
56198
|
+
/** Remaining life % (`wear`) or fill % (`supply`, `waste`) when known (0..100). */
|
|
56075
56199
|
level: number().min(0).max(100).nullable(),
|
|
56076
|
-
/**
|
|
56077
|
-
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(),
|
|
56078
56206
|
/** Ms epoch of the last replace, when known. */
|
|
56079
56207
|
lastResetAt: number().nullable(),
|
|
56080
56208
|
/** Whether `reset()` is meaningful for this item. */
|
|
@@ -56097,7 +56225,7 @@ var consumablesCapability = {
|
|
|
56097
56225
|
kind: "widget",
|
|
56098
56226
|
widgetId: "host/consumables-panel",
|
|
56099
56227
|
tab: "consumables",
|
|
56100
|
-
|
|
56228
|
+
placement: "hero",
|
|
56101
56229
|
label: "Consumables",
|
|
56102
56230
|
order: 5
|
|
56103
56231
|
} },
|
|
@@ -56158,9 +56286,37 @@ reset: method(object({
|
|
|
56158
56286
|
*/
|
|
56159
56287
|
durability: "restored",
|
|
56160
56288
|
/**
|
|
56161
|
-
* 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.
|
|
56162
56293
|
*/
|
|
56163
|
-
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
|
+
},
|
|
56164
56320
|
/** Clocks, not content: a re-read that changed no item costs no commit. */
|
|
56165
56321
|
volatileStateFields: ["lastChangedAt", "lastFetchedAt"]
|
|
56166
56322
|
};
|
|
@@ -56575,8 +56731,9 @@ onStatusChanged: { data: object({
|
|
|
56575
56731
|
volatileStateFields: ["lastChangedAt"]
|
|
56576
56732
|
};
|
|
56577
56733
|
/**
|
|
56578
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
56579
|
-
*
|
|
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).
|
|
56580
56737
|
*
|
|
56581
56738
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
56582
56739
|
* by any integration that exposes the same program / option surface.
|
|
@@ -56624,11 +56781,6 @@ var DishwasherAvailabilitySchema = _enum([
|
|
|
56624
56781
|
"offline",
|
|
56625
56782
|
"description-missing"
|
|
56626
56783
|
]);
|
|
56627
|
-
var DishwasherConsumableLevelSchema = _enum([
|
|
56628
|
-
"ok",
|
|
56629
|
-
"low",
|
|
56630
|
-
"empty"
|
|
56631
|
-
]);
|
|
56632
56784
|
var DishwasherStatusSchema = object({
|
|
56633
56785
|
availability: DishwasherAvailabilitySchema,
|
|
56634
56786
|
/** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
|
|
@@ -56661,8 +56813,6 @@ var DishwasherStatusSchema = object({
|
|
|
56661
56813
|
powerOn: boolean().nullable(),
|
|
56662
56814
|
/** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
|
|
56663
56815
|
powerState: string().nullable(),
|
|
56664
|
-
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56665
|
-
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56666
56816
|
/**
|
|
56667
56817
|
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
56668
56818
|
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
@@ -65478,60 +65628,17 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
65478
65628
|
auth: "admin",
|
|
65479
65629
|
access: "delete"
|
|
65480
65630
|
});
|
|
65481
|
-
/**
|
|
65482
|
-
* Robot-vacuum cap. Models HA `vacuum.*` entities — anything with a
|
|
65483
|
-
* cleaning lifecycle plus a return-to-base / locate surface and an
|
|
65484
|
-
* optional fan-speed selector.
|
|
65485
|
-
*
|
|
65486
|
-
* State follows HA's canonical vacuum lifecycle: `idle` / `cleaning` /
|
|
65487
|
-
* `paused` / `returning` / `docked` / `error`. `batteryLevel`
|
|
65488
|
-
* (0..100) is nullable — some vacuums don't report a battery
|
|
65489
|
-
* percentage. `fanSpeed` is the current speed token (provider-verbatim,
|
|
65490
|
-
* e.g. `'standard'` / `'turbo'`) and `availableFanSpeeds` lists the
|
|
65491
|
-
* tokens the hardware accepts so the UI renders only supported choices.
|
|
65492
|
-
*
|
|
65493
|
-
* The `setFanSpeed` method takes the bare `speed` token — the provider
|
|
65494
|
-
* validates it against the vacuum's own list. `locate` triggers the
|
|
65495
|
-
* find-me chirp; `returnToBase` sends it home.
|
|
65496
|
-
*
|
|
65497
|
-
* Consumable / waste tanks: `cleanWater` / `dirtyWater` / `detergent` /
|
|
65498
|
-
* `dustBin` each carry a nullable `{ level (0..100 %), status ('ok' |
|
|
65499
|
-
* 'low' | 'full') }` reading. Native providers (e.g. Dreame, Roborock)
|
|
65500
|
-
* SHOULD populate whichever tanks the hardware has — leave a field `null`
|
|
65501
|
-
* only when the device has no such tank at all, and use a `TankStatus`
|
|
65502
|
-
* with both inner fields `null` when the tank exists but its level is
|
|
65503
|
-
* currently unknown. HA `vacuum.*` entities expose no per-tank telemetry,
|
|
65504
|
-
* so the HA provider leaves all four `null`.
|
|
65505
|
-
*/
|
|
65506
|
-
var VacuumStateSchema = _enum([
|
|
65507
|
-
"idle",
|
|
65508
|
-
"cleaning",
|
|
65509
|
-
"paused",
|
|
65510
|
-
"returning",
|
|
65511
|
-
"docked",
|
|
65512
|
-
"drying",
|
|
65513
|
-
"error"
|
|
65514
|
-
]);
|
|
65515
|
-
/**
|
|
65516
|
-
* One consumable / waste tank on a robot vacuum (clean-water, dirty-water,
|
|
65517
|
-
* detergent or dust-bin). A tank can report a numeric fill `level` (0..100),
|
|
65518
|
-
* a discrete `status` (binary-style hardware), or both. Both `null` means the
|
|
65519
|
-
* level is currently unknown; the OWNING field being `null` means the
|
|
65520
|
-
* hardware has no such tank at all.
|
|
65521
|
-
*/
|
|
65522
|
-
var TankStatusSchema = object({
|
|
65523
|
-
/** Numeric fill 0..100 when the hardware reports a percentage; null otherwise. */
|
|
65524
|
-
level: number().min(0).max(100).nullable(),
|
|
65525
|
-
/** Discrete state when the hardware is binary-mode; null otherwise. */
|
|
65526
|
-
status: _enum([
|
|
65527
|
-
"ok",
|
|
65528
|
-
"low",
|
|
65529
|
-
"full"
|
|
65530
|
-
]).nullable()
|
|
65531
|
-
});
|
|
65532
65631
|
var VacuumControlStatusSchema = object({
|
|
65533
65632
|
/** Lifecycle state of the vacuum. */
|
|
65534
|
-
state:
|
|
65633
|
+
state: _enum([
|
|
65634
|
+
"idle",
|
|
65635
|
+
"cleaning",
|
|
65636
|
+
"paused",
|
|
65637
|
+
"returning",
|
|
65638
|
+
"docked",
|
|
65639
|
+
"drying",
|
|
65640
|
+
"error"
|
|
65641
|
+
]),
|
|
65535
65642
|
/** 0..100 battery percentage. Null when the device has no battery
|
|
65536
65643
|
* reading. */
|
|
65537
65644
|
batteryLevel: number().min(0).max(100).nullable(),
|
|
@@ -65540,14 +65647,6 @@ var VacuumControlStatusSchema = object({
|
|
|
65540
65647
|
fanSpeed: string().nullable(),
|
|
65541
65648
|
/** Speed tokens the hardware accepts — drives the UI selector. */
|
|
65542
65649
|
availableFanSpeeds: array(string()),
|
|
65543
|
-
/** Clean-water (mop) tank. Null when the hardware has no clean-water tank. */
|
|
65544
|
-
cleanWater: TankStatusSchema.nullable(),
|
|
65545
|
-
/** Dirty-water (recovery) tank. Null when the hardware has no dirty-water tank. */
|
|
65546
|
-
dirtyWater: TankStatusSchema.nullable(),
|
|
65547
|
-
/** Detergent tank. Null when the hardware has no detergent tank. */
|
|
65548
|
-
detergent: TankStatusSchema.nullable(),
|
|
65549
|
-
/** Dust bin. Null when the hardware has no dust bin. */
|
|
65550
|
-
dustBin: TankStatusSchema.nullable(),
|
|
65551
65650
|
/** 0..100 cleaning-completion percentage of the current task, or null. */
|
|
65552
65651
|
progressPercent: number().min(0).max(100).nullable(),
|
|
65553
65652
|
/** Current error code (0 / null = no error). */
|
|
@@ -65609,35 +65708,14 @@ var vacuumControlCapability = {
|
|
|
65609
65708
|
*/
|
|
65610
65709
|
durability: "session",
|
|
65611
65710
|
/**
|
|
65612
|
-
* 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.
|
|
65613
65713
|
*/
|
|
65614
|
-
history: { fields: {
|
|
65615
|
-
|
|
65616
|
-
|
|
65617
|
-
|
|
65618
|
-
|
|
65619
|
-
},
|
|
65620
|
-
"cleanWater.level": {
|
|
65621
|
-
kind: "gauge",
|
|
65622
|
-
unit: "%",
|
|
65623
|
-
deadband: 2
|
|
65624
|
-
},
|
|
65625
|
-
"dirtyWater.level": {
|
|
65626
|
-
kind: "gauge",
|
|
65627
|
-
unit: "%",
|
|
65628
|
-
deadband: 2
|
|
65629
|
-
},
|
|
65630
|
-
"detergent.level": {
|
|
65631
|
-
kind: "gauge",
|
|
65632
|
-
unit: "%",
|
|
65633
|
-
deadband: 2
|
|
65634
|
-
},
|
|
65635
|
-
"dustBin.level": {
|
|
65636
|
-
kind: "gauge",
|
|
65637
|
-
unit: "%",
|
|
65638
|
-
deadband: 2
|
|
65639
|
-
}
|
|
65640
|
-
} }
|
|
65714
|
+
history: { fields: { batteryLevel: {
|
|
65715
|
+
kind: "gauge",
|
|
65716
|
+
unit: "%",
|
|
65717
|
+
deadband: 2
|
|
65718
|
+
} } }
|
|
65641
65719
|
};
|
|
65642
65720
|
var ValveStatusSchema = object({
|
|
65643
65721
|
/** Lifecycle state of the valve. */
|
|
@@ -70031,6 +70109,12 @@ Object.freeze({
|
|
|
70031
70109
|
addonId: null,
|
|
70032
70110
|
access: "create"
|
|
70033
70111
|
},
|
|
70112
|
+
"deviceHistory.deleteOrphanSeries": {
|
|
70113
|
+
capName: "device-history",
|
|
70114
|
+
capScope: "system",
|
|
70115
|
+
addonId: null,
|
|
70116
|
+
access: "delete"
|
|
70117
|
+
},
|
|
70034
70118
|
"deviceHistory.getDeviceEnabled": {
|
|
70035
70119
|
capName: "device-history",
|
|
70036
70120
|
capScope: "system",
|
|
@@ -70049,6 +70133,12 @@ Object.freeze({
|
|
|
70049
70133
|
addonId: null,
|
|
70050
70134
|
access: "view"
|
|
70051
70135
|
},
|
|
70136
|
+
"deviceHistory.listOrphanSeries": {
|
|
70137
|
+
capName: "device-history",
|
|
70138
|
+
capScope: "system",
|
|
70139
|
+
addonId: null,
|
|
70140
|
+
access: "view"
|
|
70141
|
+
},
|
|
70052
70142
|
"deviceHistory.listSeries": {
|
|
70053
70143
|
capName: "device-history",
|
|
70054
70144
|
capScope: "system",
|
|
@@ -80261,7 +80351,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
80261
80351
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
80262
80352
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
80263
80353
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
80264
|
-
([...RULE_TEXT], [...CONSUMABLE]),
|
|
80354
|
+
([...RULE_TEXT], [...CONSUMABLE, ...TANK]),
|
|
80265
80355
|
([...RULE_TEXT], [...TANK]),
|
|
80266
80356
|
[...RULE_TEXT],
|
|
80267
80357
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
@@ -81011,4 +81101,4 @@ function bestLocationMatch(externalName, existing, threshold = .8) {
|
|
|
81011
81101
|
var MB = 1024 * 1024;
|
|
81012
81102
|
1024 * MB, 3072 * MB;
|
|
81013
81103
|
//#endregion
|
|
81014
|
-
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 };
|