@camstack/addon-export-hap 1.2.159 → 1.2.161

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.
@@ -39,7 +39,7 @@ var __copyProps = (to, from, except, desc) => {
39
39
  var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
40
40
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
41
41
  //#endregion
42
- //#region ../types/dist/event-category-BvOFi6PY.mjs
42
+ //#region ../types/dist/event-category-DOl51-Ij.mjs
43
43
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
44
44
  EventCategory["SystemBoot"] = "system.boot";
45
45
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -118,9 +118,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
118
118
  /**
119
119
  * The node's one-shot runner boot check (D877): planned runners against the
120
120
  * process service, `degraded` when any is failed, refused or missing. The
121
- * alert centre turns it into one alert and a direct critical push.
121
+ * alert centre turns it into one critical alert.
122
122
  */
123
123
  EventCategory["SystemRunnerCheck"] = "system.runner-check";
124
+ /**
125
+ * An alert EPISODE opened or closed, emitted by the alert centre for alerts
126
+ * of severity `critical` or `error` (`AlertEpisodePayload`). The alert
127
+ * centre sends no notification of its own: Notification Center turns this
128
+ * into the `alert-critical` / `alert-error` / `alert-critical-resolved`
129
+ * system-event kinds, and reconciles from the alerts store because a bus
130
+ * event may be dropped (D8, D11).
131
+ */
132
+ EventCategory["AlertEpisode"] = "alert.episode";
124
133
  EventCategory["AddonError"] = "addon.error";
125
134
  EventCategory["AddonPageReady"] = "addon.page-ready";
126
135
  EventCategory["AddonWidgetReady"] = "addon.widget-ready";
@@ -5445,7 +5454,7 @@ var ZodIssueCode = {
5445
5454
  var ZodFirstPartyTypeKind;
5446
5455
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5447
5456
  //#endregion
5448
- //#region ../types/dist/sleep-bZIhUvjd.mjs
5457
+ //#region ../types/dist/sleep-BxjU_fJM.mjs
5449
5458
  /**
5450
5459
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5451
5460
  * window to float samples (D455).
@@ -8452,7 +8461,7 @@ object({
8452
8461
  params: record(string(), union([string(), number()])).optional()
8453
8462
  });
8454
8463
  //#endregion
8455
- //#region ../types/dist/err-msg--2RrYiLO.mjs
8464
+ //#region ../types/dist/err-msg-BXKzRBwg.mjs
8456
8465
  var DeviceType = /* @__PURE__ */ function(DeviceType) {
8457
8466
  DeviceType["Camera"] = "camera";
8458
8467
  DeviceType["Hub"] = "hub";
@@ -8544,6 +8553,10 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
8544
8553
  * native PetKit (`nodepetkit` `FeederDevice`), reusable by other feeder
8545
8554
  * integrations sharing the same food/desiccant/hopper surface. */
8546
8555
  DeviceType["PetFeeder"] = "pet-feeder";
8556
+ /** Built-in dishwasher — program lifecycle, door / remote-start gates,
8557
+ * salt and rinse-aid levels. Installed with the `dishwasher` cap.
8558
+ * Sources: native Bosch Home Connect, reusable by similar integrations. */
8559
+ DeviceType["Dishwasher"] = "dishwasher";
8547
8560
  return DeviceType;
8548
8561
  }({});
8549
8562
  var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
@@ -8801,7 +8814,7 @@ function errMsg$16(err) {
8801
8814
  return String(err);
8802
8815
  }
8803
8816
  //#endregion
8804
- //#region ../types/dist/composition-DOwQB_Ua.mjs
8817
+ //#region ../types/dist/composition-CB6PMT9p.mjs
8805
8818
  var AUDIO_ENCODER_BY_CODEC = {
8806
8819
  opus: "libopus",
8807
8820
  aac: "aac",
@@ -14006,8 +14019,20 @@ var AlertSeveritySchema = _enum([
14006
14019
  "info",
14007
14020
  "success",
14008
14021
  "warning",
14009
- "error"
14022
+ "error",
14023
+ "critical"
14010
14024
  ]);
14025
+ var AlertActionSchema = object({
14026
+ label: string(),
14027
+ href: string().optional(),
14028
+ /**
14029
+ * How `href` is followed. Absent / `app`: an admin-ui route (client-side).
14030
+ * `server`: a route the HUB serves (an addon HTTP route such as an OAuth
14031
+ * start) — the browser must leave the SPA with a full navigation, because
14032
+ * the SPA has no such route and would bounce to the home page.
14033
+ */
14034
+ navigation: _enum(["app", "server"]).optional()
14035
+ });
14011
14036
  var AlertStatusSchema = _enum([
14012
14037
  "active",
14013
14038
  "in-progress",
@@ -14025,6 +14050,7 @@ var AlertSchema = object({
14025
14050
  severity: AlertSeveritySchema,
14026
14051
  title: string(),
14027
14052
  message: string(),
14053
+ action: AlertActionSchema.optional(),
14028
14054
  status: AlertStatusSchema,
14029
14055
  progress: number().optional(),
14030
14056
  read: boolean(),
@@ -18225,7 +18251,11 @@ DeviceType.Hub, DeviceDiscoveryStatusSchema.extend({ lastFetchedAt: number().int
18225
18251
  });
18226
18252
  /**
18227
18253
  * `device-adoption` — generic discovery + adoption surface,
18228
- * system-scoped singleton. The de-HA-ified successor to `ha-discovery`:
18254
+ * system-scoped collection (one provider per integration addon), routed
18255
+ * by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
18256
+ * pin model as `connection-test`. The admin UI keeps using
18257
+ * `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
18258
+ * successor to `ha-discovery`:
18229
18259
  * keyed by `integrationId` (the addon resolves integrationId → broker
18230
18260
  * internally) rather than a connection-specific `brokerId`, and it
18231
18261
  * REUSES the shared `DiscoveredChildDevice` candidate type from
@@ -42458,6 +42488,9 @@ var NcSystemEventKindSchema = _enum([
42458
42488
  "server-updated",
42459
42489
  "export-completed",
42460
42490
  "backup-completed",
42491
+ "alert-critical",
42492
+ "alert-error",
42493
+ "alert-critical-resolved",
42461
42494
  "camera-online",
42462
42495
  "camera-offline",
42463
42496
  "camera-disabled",
@@ -51490,7 +51523,10 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
51490
51523
  }), method(object({ jobId: string().optional() }), StorageMigrationJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
51491
51524
  kind: "mutation",
51492
51525
  auth: "admin"
51493
- }), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
51526
+ }), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({ locationIds: array(string()).readonly() }), object({
51527
+ clear: boolean(),
51528
+ repointLocationId: string().optional()
51529
+ }), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
51494
51530
  kind: "mutation",
51495
51531
  auth: "admin"
51496
51532
  }), method(StorageCleanupInputSchema, object({ jobId: string() }), {
@@ -54237,7 +54273,7 @@ var BatteryStatusSchema = object({
54237
54273
  */
54238
54274
  binary: boolean().optional()
54239
54275
  });
54240
- DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, method(object({
54276
+ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, method(object({
54241
54277
  deviceId: number(),
54242
54278
  /** Bound on the wait. Sensible range 3000–10000ms. */
54243
54279
  timeoutMs: number().int().min(500).max(3e4).default(8e3)
@@ -55129,6 +55165,250 @@ object({
55129
55165
  deviceId: number(),
55130
55166
  status: DeviceStatusSchema
55131
55167
  });
55168
+ /**
55169
+ * Smart-dishwasher cap — program lifecycle, door / remote-start gates,
55170
+ * consumable levels (salt, rinse aid) and common program options.
55171
+ *
55172
+ * Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
55173
+ * by any integration that exposes the same program / option surface.
55174
+ *
55175
+ * `kind: 'poll'` — cloud REST APIs typically have no push channel; the
55176
+ * provider refreshes the slice on an interval and eagerly after commands.
55177
+ *
55178
+ * UNKNOWN IS NOT OFF. Every field the appliance reports separately is
55179
+ * nullable: `null` means "not known right now" (the appliance has not said,
55180
+ * the link is down, or the description does not carry it) and is never
55181
+ * rendered or exported as `false` / `0`. `availability` says why.
55182
+ */
55183
+ var DishwasherStateSchema = _enum([
55184
+ "idle",
55185
+ "running",
55186
+ "paused",
55187
+ "finished",
55188
+ "error",
55189
+ "unavailable"
55190
+ ]);
55191
+ /**
55192
+ * The appliance's own operation state, uncollapsed. `state` above is the coarse
55193
+ * view for compact surfaces; this is what the appliance said.
55194
+ */
55195
+ var DishwasherOperationStateSchema = _enum([
55196
+ "Inactive",
55197
+ "Ready",
55198
+ "DelayedStart",
55199
+ "Run",
55200
+ "Pause",
55201
+ "ActionRequired",
55202
+ "Finished",
55203
+ "Error",
55204
+ "Aborting"
55205
+ ]);
55206
+ /**
55207
+ * Why fields may be `null`:
55208
+ * - `available` — the link is up and the description is loaded;
55209
+ * - `offline` — the local link is down (values are unknown, not last-known);
55210
+ * - `description-missing` — the link is up but the appliance's description could not
55211
+ * be loaded, so its values cannot be decoded.
55212
+ */
55213
+ var DishwasherAvailabilitySchema = _enum([
55214
+ "available",
55215
+ "offline",
55216
+ "description-missing"
55217
+ ]);
55218
+ var DishwasherConsumableLevelSchema = _enum([
55219
+ "ok",
55220
+ "low",
55221
+ "empty"
55222
+ ]);
55223
+ object({
55224
+ availability: DishwasherAvailabilitySchema,
55225
+ /** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
55226
+ state: DishwasherStateSchema,
55227
+ /** The appliance's operation state as reported; null when not known. */
55228
+ operationState: DishwasherOperationStateSchema.nullable(),
55229
+ /** Feature key of the ACTIVE (running) program, or null when none runs / not known. */
55230
+ program: string().nullable(),
55231
+ /** Feature key of the SELECTED program (what Start would run), or null when none / not known. */
55232
+ selectedProgram: string().nullable(),
55233
+ /** Feature keys of the programs the appliance currently offers — drives the UI selector. */
55234
+ availablePrograms: array(string()),
55235
+ /** Seconds remaining on the active cycle, or null when not running / not known. */
55236
+ remainingSeconds: number().int().nonnegative().nullable(),
55237
+ /** Seconds the delayed start is set to (time until the cycle starts), or null. */
55238
+ delayedStartSeconds: number().int().nonnegative().nullable(),
55239
+ /** Cycle completion 0..100, or null when not applicable. */
55240
+ progressPercent: number().min(0).max(100).nullable(),
55241
+ /** True when the door is reported open; null when the door state is not known. */
55242
+ doorOpen: boolean().nullable(),
55243
+ /** True when the door is latched (locked) during a cycle; null when not reported. */
55244
+ doorLocked: boolean().nullable(),
55245
+ /** True when remote start is allowed (door closed, power on, etc.); null when not known. */
55246
+ remoteStartAllowed: boolean().nullable(),
55247
+ /** True when the appliance accepts remote control now; null when not known. */
55248
+ remoteControlActive: boolean().nullable(),
55249
+ /** True while somebody operates the appliance at its panel; null when not reported. */
55250
+ localControlActive: boolean().nullable(),
55251
+ /** Main power / switched-on state; null when not known. */
55252
+ powerOn: boolean().nullable(),
55253
+ /** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
55254
+ powerState: string().nullable(),
55255
+ saltLevel: DishwasherConsumableLevelSchema.nullable(),
55256
+ rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
55257
+ /** Option states: null when the appliance does not expose the option or has not said. */
55258
+ halfLoad: boolean().nullable(),
55259
+ hygienePlus: boolean().nullable(),
55260
+ /** Extra dry option when the appliance exposes it. */
55261
+ extraDry: boolean().nullable(),
55262
+ /** Intensive zone (lower basket) when the appliance exposes it. */
55263
+ intensiveZone: boolean().nullable(),
55264
+ /** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
55265
+ varioSpeedPlus: boolean().nullable(),
55266
+ /** Child lock (controls disabled on the appliance); null when not known. */
55267
+ childLock: boolean().nullable(),
55268
+ /** Feature keys of the events currently raised (salt low, rinse aid low, program finished, …). */
55269
+ activeEvents: array(string()),
55270
+ /** Numeric error code when the appliance reports one; null otherwise. */
55271
+ errorCode: number().nullable(),
55272
+ /** Name of the raised alert-level event while the appliance is in error; null otherwise. */
55273
+ errorLabel: string().nullable(),
55274
+ /** Ms epoch of the last value received from the appliance; 0 = never. */
55275
+ lastFetchedAt: number()
55276
+ });
55277
+ var DeviceIdSchema = number().int().nonnegative();
55278
+ /** A value a program option or setting can take. */
55279
+ var DishwasherValueSchema = union([
55280
+ boolean(),
55281
+ string(),
55282
+ number()
55283
+ ]);
55284
+ var DishwasherAccessSchema = _enum([
55285
+ "none",
55286
+ "read",
55287
+ "readWrite",
55288
+ "writeOnly",
55289
+ "readStatic"
55290
+ ]);
55291
+ /**
55292
+ * One option or setting the appliance declares, with the constraints its description
55293
+ * gives. A `readWrite` descriptor that is `available` is what `setOption` accepts.
55294
+ */
55295
+ var DishwasherOptionDescriptorSchema = object({
55296
+ /** Feature key (`Dishcare.Dishwasher.Option.ExtraDry`). */
55297
+ key: string(),
55298
+ /** Last segment of the key, for display. */
55299
+ name: string(),
55300
+ type: _enum([
55301
+ "boolean",
55302
+ "number",
55303
+ "enum",
55304
+ "string"
55305
+ ]),
55306
+ access: DishwasherAccessSchema,
55307
+ /** The appliance reports this entity as currently available. */
55308
+ available: boolean(),
55309
+ /** Unit the description declares for a number; null when it declares none. */
55310
+ unit: string().nullable(),
55311
+ min: number().nullable(),
55312
+ max: number().nullable(),
55313
+ step: number().nullable(),
55314
+ /** Allowed members of an enum; null for other types. */
55315
+ enumValues: array(string()).nullable(),
55316
+ defaultValue: DishwasherValueSchema.nullable()
55317
+ });
55318
+ var DishwasherProgramSchema = object({
55319
+ /** Feature key (`Dishcare.Dishwasher.Program.Eco50`) — what `setProgram` / `start` take. */
55320
+ key: string(),
55321
+ name: string(),
55322
+ /** The appliance currently offers this program. */
55323
+ available: boolean(),
55324
+ /** The options this program lists, with the program-level access / availability / default. */
55325
+ options: array(DishwasherOptionDescriptorSchema)
55326
+ });
55327
+ var DishwasherOptionsSchema = object({
55328
+ availability: DishwasherAvailabilitySchema,
55329
+ /** What the appliance can be told to do, from the commands its description declares. */
55330
+ supportsStart: boolean(),
55331
+ supportsPause: boolean(),
55332
+ supportsResume: boolean(),
55333
+ supportsStop: boolean(),
55334
+ supportsPower: boolean(),
55335
+ /** Every program the description lists, with its options. */
55336
+ programs: array(DishwasherProgramSchema),
55337
+ /** Every option and setting entity the description lists (programs reference these by key). */
55338
+ options: array(DishwasherOptionDescriptorSchema)
55339
+ });
55340
+ DeviceType.Dishwasher, method(object({
55341
+ deviceId: DeviceIdSchema,
55342
+ program: string().min(1).optional(),
55343
+ options: record(string(), DishwasherValueSchema).optional()
55344
+ }), _void(), {
55345
+ kind: "mutation",
55346
+ auth: "protected"
55347
+ }), method(object({ deviceId: DeviceIdSchema }), _void(), {
55348
+ kind: "mutation",
55349
+ auth: "protected"
55350
+ }), method(object({ deviceId: DeviceIdSchema }), _void(), {
55351
+ kind: "mutation",
55352
+ auth: "protected"
55353
+ }), method(object({ deviceId: DeviceIdSchema }), _void(), {
55354
+ kind: "mutation",
55355
+ auth: "protected"
55356
+ }), method(object({
55357
+ deviceId: DeviceIdSchema,
55358
+ program: string().min(1)
55359
+ }), _void(), {
55360
+ kind: "mutation",
55361
+ auth: "protected"
55362
+ }), method(object({
55363
+ deviceId: DeviceIdSchema,
55364
+ on: boolean()
55365
+ }), _void(), {
55366
+ kind: "mutation",
55367
+ auth: "protected"
55368
+ }), method(object({
55369
+ deviceId: DeviceIdSchema,
55370
+ on: boolean()
55371
+ }), _void(), {
55372
+ kind: "mutation",
55373
+ auth: "protected"
55374
+ }), method(object({
55375
+ deviceId: DeviceIdSchema,
55376
+ on: boolean()
55377
+ }), _void(), {
55378
+ kind: "mutation",
55379
+ auth: "protected"
55380
+ }), method(object({
55381
+ deviceId: DeviceIdSchema,
55382
+ on: boolean()
55383
+ }), _void(), {
55384
+ kind: "mutation",
55385
+ auth: "protected"
55386
+ }), method(object({
55387
+ deviceId: DeviceIdSchema,
55388
+ on: boolean()
55389
+ }), _void(), {
55390
+ kind: "mutation",
55391
+ auth: "protected"
55392
+ }), method(object({
55393
+ deviceId: DeviceIdSchema,
55394
+ on: boolean()
55395
+ }), _void(), {
55396
+ kind: "mutation",
55397
+ auth: "protected"
55398
+ }), method(object({
55399
+ deviceId: DeviceIdSchema,
55400
+ on: boolean()
55401
+ }), _void(), {
55402
+ kind: "mutation",
55403
+ auth: "protected"
55404
+ }), method(object({
55405
+ deviceId: DeviceIdSchema,
55406
+ key: string().min(1),
55407
+ value: DishwasherValueSchema
55408
+ }), _void(), {
55409
+ kind: "mutation",
55410
+ auth: "protected"
55411
+ }), method(object({ deviceId: DeviceIdSchema }), DishwasherOptionsSchema, { auth: "protected" });
55132
55412
  object({
55133
55413
  /** Ms epoch of the last press. null = never observed since this provider started. */
55134
55414
  lastPressedAt: number().nullable(),
@@ -55702,6 +55982,13 @@ object({
55702
55982
  lastChangedAt: number()
55703
55983
  });
55704
55984
  DeviceType.Sensor;
55985
+ object({
55986
+ /** Radiator valve opening 0 (closed) .. 100 (open). Null = not yet known. */
55987
+ position: number().min(0).max(100).nullable(),
55988
+ /** Ms epoch when the slice was last updated (push or poll). */
55989
+ lastFetchedAt: number()
55990
+ });
55991
+ DeviceType.Thermostat;
55705
55992
  object({
55706
55993
  /** Whether the humidifier is currently on. */
55707
55994
  on: boolean(),
@@ -62801,7 +63088,7 @@ var AccessoryKind = {
62801
63088
  PrivacyMask: DeviceRole.PrivacyMask
62802
63089
  };
62803
63090
  AccessoryKind.Siren, AccessoryKind.Floodlight, AccessoryKind.Spotlight, AccessoryKind.PirSensor, AccessoryKind.Chime, AccessoryKind.Autotrack, AccessoryKind.Nightvision, AccessoryKind.PrivacyMask;
62804
- DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder;
63091
+ DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher;
62805
63092
  new Set(Object.values(DeviceType));
62806
63093
  Object.freeze({
62807
63094
  "accessories.getStatus": {
@@ -65222,6 +65509,96 @@ Object.freeze({
65222
65509
  addonId: null,
65223
65510
  access: "view"
65224
65511
  },
65512
+ "dishwasher.getOptions": {
65513
+ capName: "dishwasher",
65514
+ capScope: "device",
65515
+ addonId: null,
65516
+ access: "view"
65517
+ },
65518
+ "dishwasher.getStatus": {
65519
+ capName: "dishwasher",
65520
+ capScope: "device",
65521
+ addonId: null,
65522
+ access: "view"
65523
+ },
65524
+ "dishwasher.pause": {
65525
+ capName: "dishwasher",
65526
+ capScope: "device",
65527
+ addonId: null,
65528
+ access: "create"
65529
+ },
65530
+ "dishwasher.resume": {
65531
+ capName: "dishwasher",
65532
+ capScope: "device",
65533
+ addonId: null,
65534
+ access: "create"
65535
+ },
65536
+ "dishwasher.setChildLock": {
65537
+ capName: "dishwasher",
65538
+ capScope: "device",
65539
+ addonId: null,
65540
+ access: "create"
65541
+ },
65542
+ "dishwasher.setExtraDry": {
65543
+ capName: "dishwasher",
65544
+ capScope: "device",
65545
+ addonId: null,
65546
+ access: "create"
65547
+ },
65548
+ "dishwasher.setHalfLoad": {
65549
+ capName: "dishwasher",
65550
+ capScope: "device",
65551
+ addonId: null,
65552
+ access: "create"
65553
+ },
65554
+ "dishwasher.setHygienePlus": {
65555
+ capName: "dishwasher",
65556
+ capScope: "device",
65557
+ addonId: null,
65558
+ access: "create"
65559
+ },
65560
+ "dishwasher.setIntensiveZone": {
65561
+ capName: "dishwasher",
65562
+ capScope: "device",
65563
+ addonId: null,
65564
+ access: "create"
65565
+ },
65566
+ "dishwasher.setOption": {
65567
+ capName: "dishwasher",
65568
+ capScope: "device",
65569
+ addonId: null,
65570
+ access: "create"
65571
+ },
65572
+ "dishwasher.setPower": {
65573
+ capName: "dishwasher",
65574
+ capScope: "device",
65575
+ addonId: null,
65576
+ access: "create"
65577
+ },
65578
+ "dishwasher.setProgram": {
65579
+ capName: "dishwasher",
65580
+ capScope: "device",
65581
+ addonId: null,
65582
+ access: "create"
65583
+ },
65584
+ "dishwasher.setVarioSpeedPlus": {
65585
+ capName: "dishwasher",
65586
+ capScope: "device",
65587
+ addonId: null,
65588
+ access: "create"
65589
+ },
65590
+ "dishwasher.start": {
65591
+ capName: "dishwasher",
65592
+ capScope: "device",
65593
+ addonId: null,
65594
+ access: "create"
65595
+ },
65596
+ "dishwasher.stop": {
65597
+ capName: "dishwasher",
65598
+ capScope: "device",
65599
+ addonId: null,
65600
+ access: "create"
65601
+ },
65225
65602
  "doorbell.getStatus": {
65226
65603
  capName: "doorbell",
65227
65604
  capScope: "device",
@@ -65432,6 +65809,12 @@ Object.freeze({
65432
65809
  addonId: null,
65433
65810
  access: "view"
65434
65811
  },
65812
+ "heatingValve.getStatus": {
65813
+ capName: "heating-valve",
65814
+ capScope: "device",
65815
+ addonId: null,
65816
+ access: "view"
65817
+ },
65435
65818
  "humidifier.getStatus": {
65436
65819
  capName: "humidifier",
65437
65820
  capScope: "device",
@@ -69650,6 +70033,12 @@ Object.freeze({
69650
70033
  addonId: null,
69651
70034
  access: "view"
69652
70035
  },
70036
+ "storageMigration.moverClearance": {
70037
+ capName: "storage-migration",
70038
+ capScope: "system",
70039
+ addonId: null,
70040
+ access: "view"
70041
+ },
69653
70042
  "storageMigration.movers": {
69654
70043
  capName: "storage-migration",
69655
70044
  capScope: "system",
@@ -71019,7 +71408,7 @@ Object.freeze({
71019
71408
  access: "create"
71020
71409
  }
71021
71410
  });
71022
- DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder;
71411
+ DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher;
71023
71412
  DeviceFeature.BatteryOperated;
71024
71413
  Object.freeze({
71025
71414
  "accessories.getStatus": [{
@@ -71843,6 +72232,81 @@ Object.freeze({
71843
72232
  form: "single",
71844
72233
  optional: false
71845
72234
  }],
72235
+ "dishwasher.getOptions": [{
72236
+ name: "deviceId",
72237
+ form: "single",
72238
+ optional: false
72239
+ }],
72240
+ "dishwasher.getStatus": [{
72241
+ name: "deviceId",
72242
+ form: "single",
72243
+ optional: false
72244
+ }],
72245
+ "dishwasher.pause": [{
72246
+ name: "deviceId",
72247
+ form: "single",
72248
+ optional: false
72249
+ }],
72250
+ "dishwasher.resume": [{
72251
+ name: "deviceId",
72252
+ form: "single",
72253
+ optional: false
72254
+ }],
72255
+ "dishwasher.setChildLock": [{
72256
+ name: "deviceId",
72257
+ form: "single",
72258
+ optional: false
72259
+ }],
72260
+ "dishwasher.setExtraDry": [{
72261
+ name: "deviceId",
72262
+ form: "single",
72263
+ optional: false
72264
+ }],
72265
+ "dishwasher.setHalfLoad": [{
72266
+ name: "deviceId",
72267
+ form: "single",
72268
+ optional: false
72269
+ }],
72270
+ "dishwasher.setHygienePlus": [{
72271
+ name: "deviceId",
72272
+ form: "single",
72273
+ optional: false
72274
+ }],
72275
+ "dishwasher.setIntensiveZone": [{
72276
+ name: "deviceId",
72277
+ form: "single",
72278
+ optional: false
72279
+ }],
72280
+ "dishwasher.setOption": [{
72281
+ name: "deviceId",
72282
+ form: "single",
72283
+ optional: false
72284
+ }],
72285
+ "dishwasher.setPower": [{
72286
+ name: "deviceId",
72287
+ form: "single",
72288
+ optional: false
72289
+ }],
72290
+ "dishwasher.setProgram": [{
72291
+ name: "deviceId",
72292
+ form: "single",
72293
+ optional: false
72294
+ }],
72295
+ "dishwasher.setVarioSpeedPlus": [{
72296
+ name: "deviceId",
72297
+ form: "single",
72298
+ optional: false
72299
+ }],
72300
+ "dishwasher.start": [{
72301
+ name: "deviceId",
72302
+ form: "single",
72303
+ optional: false
72304
+ }],
72305
+ "dishwasher.stop": [{
72306
+ name: "deviceId",
72307
+ form: "single",
72308
+ optional: false
72309
+ }],
71846
72310
  "doorbell.getStatus": [{
71847
72311
  name: "deviceId",
71848
72312
  form: "single",
@@ -71912,6 +72376,11 @@ Object.freeze({
71912
72376
  form: "single",
71913
72377
  optional: false
71914
72378
  }],
72379
+ "heatingValve.getStatus": [{
72380
+ name: "deviceId",
72381
+ form: "single",
72382
+ optional: false
72383
+ }],
71915
72384
  "humidifier.getStatus": [{
71916
72385
  name: "deviceId",
71917
72386
  form: "single",
@@ -73869,6 +74338,9 @@ new Map(Object.entries({
73869
74338
  "wrapper-update-available": "system",
73870
74339
  "backup-completed": "system",
73871
74340
  "export-completed": "system",
74341
+ "alert-critical": "system",
74342
+ "alert-error": "system",
74343
+ "alert-critical-resolved": "system",
73872
74344
  "storage-location-low": "system",
73873
74345
  "storage-location-critical": "system",
73874
74346
  "storage-location-ok": "system",
@@ -73993,6 +74465,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
73993
74465
  "storage-location-ok"
73994
74466
  ]
73995
74467
  },
74468
+ {
74469
+ id: "alerts",
74470
+ family: "system",
74471
+ label: "Alerts",
74472
+ kinds: [
74473
+ "alert-critical",
74474
+ "alert-error",
74475
+ "alert-critical-resolved"
74476
+ ]
74477
+ },
73996
74478
  {
73997
74479
  id: "alarm",
73998
74480
  family: "alarm",
@@ -74037,6 +74519,21 @@ var NC_SENSOR_RAISED_FIELD_BY_KIND = Object.freeze(Object.fromEntries(Object.ent
74037
74519
  return [[descriptor.kind, field]];
74038
74520
  })));
74039
74521
  Object.freeze(Object.keys(NC_SENSOR_RAISED_FIELD_BY_KIND));
74522
+ object({
74523
+ phase: _enum(["raised", "resolved"]),
74524
+ episodeId: string().min(1),
74525
+ alertId: string().min(1),
74526
+ severity: AlertSeveritySchema,
74527
+ category: string(),
74528
+ title: string(),
74529
+ message: string(),
74530
+ sourceType: string().optional(),
74531
+ sourceId: string().optional(),
74532
+ nodeId: string().optional(),
74533
+ /** The alert's own action link (where the operator acts on it), when it has one. */
74534
+ actionUrl: string().optional(),
74535
+ at: number()
74536
+ });
74040
74537
  var RULE_BODY_ONLY = ["body"];
74041
74538
  var RULE_TEXT = ["title", "body"];
74042
74539
  var BATTERY = ["device-battery-low", "device-battery-normal"];
@@ -74046,6 +74543,11 @@ var TANK = [
74046
74543
  "device-tank-full",
74047
74544
  "device-tank-normal"
74048
74545
  ];
74546
+ var ALERT_EPISODE = [
74547
+ "alert-critical",
74548
+ "alert-error",
74549
+ "alert-critical-resolved"
74550
+ ];
74049
74551
  var UPDATES = [
74050
74552
  "addon-update-available",
74051
74553
  "server-update-available",
@@ -74238,14 +74740,14 @@ var STATE_SUMMARY_VARS = [
74238
74740
  ([...RULE_TEXT], [...CONSUMABLE]),
74239
74741
  ([...RULE_TEXT], [...TANK]),
74240
74742
  [...RULE_TEXT],
74241
- ([...RULE_TEXT], [...UPDATES]),
74242
- ([...RULE_TEXT], [...UPDATES]),
74243
- [...RULE_TEXT],
74743
+ ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
74744
+ ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
74244
74745
  [...RULE_TEXT],
74245
74746
  [...RULE_TEXT],
74246
74747
  [...RULE_TEXT],
74247
74748
  [...RULE_TEXT],
74248
74749
  [...RULE_TEXT],
74750
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
74249
74751
  [...RULE_TEXT],
74250
74752
  [...RULE_TEXT],
74251
74753
  [...RULE_TEXT],
@@ -74263,7 +74765,11 @@ var STATE_SUMMARY_VARS = [
74263
74765
  [...RULE_TEXT],
74264
74766
  [...RULE_TEXT],
74265
74767
  [...RULE_TEXT],
74266
- [...RULE_TEXT],
74768
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
74769
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
74770
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
74771
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
74772
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
74267
74773
  [...RULE_TEXT],
74268
74774
  [...RULE_TEXT],
74269
74775
  [...RULE_TEXT],