@camstack/addon-export-hap 1.2.159 → 1.2.160

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.
@@ -5455,7 +5455,7 @@ var ZodIssueCode = {
5455
5455
  var ZodFirstPartyTypeKind;
5456
5456
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5457
5457
  //#endregion
5458
- //#region ../types/dist/sleep-bZIhUvjd.mjs
5458
+ //#region ../types/dist/sleep-BegKjwUu.mjs
5459
5459
  /**
5460
5460
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5461
5461
  * window to float samples (D455).
@@ -8462,7 +8462,7 @@ object({
8462
8462
  params: record(string(), union([string(), number()])).optional()
8463
8463
  });
8464
8464
  //#endregion
8465
- //#region ../types/dist/err-msg--2RrYiLO.mjs
8465
+ //#region ../types/dist/err-msg-BXKzRBwg.mjs
8466
8466
  var DeviceType = /* @__PURE__ */ function(DeviceType) {
8467
8467
  DeviceType["Camera"] = "camera";
8468
8468
  DeviceType["Hub"] = "hub";
@@ -8554,6 +8554,10 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
8554
8554
  * native PetKit (`nodepetkit` `FeederDevice`), reusable by other feeder
8555
8555
  * integrations sharing the same food/desiccant/hopper surface. */
8556
8556
  DeviceType["PetFeeder"] = "pet-feeder";
8557
+ /** Built-in dishwasher — program lifecycle, door / remote-start gates,
8558
+ * salt and rinse-aid levels. Installed with the `dishwasher` cap.
8559
+ * Sources: native Bosch Home Connect, reusable by similar integrations. */
8560
+ DeviceType["Dishwasher"] = "dishwasher";
8557
8561
  return DeviceType;
8558
8562
  }({});
8559
8563
  var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
@@ -8811,7 +8815,7 @@ function errMsg$16(err) {
8811
8815
  return String(err);
8812
8816
  }
8813
8817
  //#endregion
8814
- //#region ../types/dist/composition-DOwQB_Ua.mjs
8818
+ //#region ../types/dist/composition-CB6PMT9p.mjs
8815
8819
  var AUDIO_ENCODER_BY_CODEC = {
8816
8820
  opus: "libopus",
8817
8821
  aac: "aac",
@@ -14016,8 +14020,13 @@ var AlertSeveritySchema = _enum([
14016
14020
  "info",
14017
14021
  "success",
14018
14022
  "warning",
14019
- "error"
14023
+ "error",
14024
+ "critical"
14020
14025
  ]);
14026
+ var AlertActionSchema = object({
14027
+ label: string(),
14028
+ href: string().optional()
14029
+ });
14021
14030
  var AlertStatusSchema = _enum([
14022
14031
  "active",
14023
14032
  "in-progress",
@@ -14035,6 +14044,7 @@ var AlertSchema = object({
14035
14044
  severity: AlertSeveritySchema,
14036
14045
  title: string(),
14037
14046
  message: string(),
14047
+ action: AlertActionSchema.optional(),
14038
14048
  status: AlertStatusSchema,
14039
14049
  progress: number().optional(),
14040
14050
  read: boolean(),
@@ -18235,7 +18245,11 @@ DeviceType.Hub, DeviceDiscoveryStatusSchema.extend({ lastFetchedAt: number().int
18235
18245
  });
18236
18246
  /**
18237
18247
  * `device-adoption` — generic discovery + adoption surface,
18238
- * system-scoped singleton. The de-HA-ified successor to `ha-discovery`:
18248
+ * system-scoped collection (one provider per integration addon), routed
18249
+ * by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
18250
+ * pin model as `connection-test`. The admin UI keeps using
18251
+ * `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
18252
+ * successor to `ha-discovery`:
18239
18253
  * keyed by `integrationId` (the addon resolves integrationId → broker
18240
18254
  * internally) rather than a connection-specific `brokerId`, and it
18241
18255
  * REUSES the shared `DiscoveredChildDevice` candidate type from
@@ -54247,7 +54261,7 @@ var BatteryStatusSchema = object({
54247
54261
  */
54248
54262
  binary: boolean().optional()
54249
54263
  });
54250
- DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, method(object({
54264
+ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, method(object({
54251
54265
  deviceId: number(),
54252
54266
  /** Bound on the wait. Sensible range 3000–10000ms. */
54253
54267
  timeoutMs: number().int().min(500).max(3e4).default(8e3)
@@ -55139,6 +55153,130 @@ object({
55139
55153
  deviceId: number(),
55140
55154
  status: DeviceStatusSchema
55141
55155
  });
55156
+ /**
55157
+ * Smart-dishwasher cap — program lifecycle, door / remote-start gates,
55158
+ * consumable levels (salt, rinse aid) and common program options.
55159
+ *
55160
+ * Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
55161
+ * by any integration that exposes the same program / option surface.
55162
+ *
55163
+ * `kind: 'poll'` — cloud REST APIs typically have no push channel; the
55164
+ * provider refreshes the slice on an interval and eagerly after commands.
55165
+ */
55166
+ var DishwasherStateSchema = _enum([
55167
+ "idle",
55168
+ "running",
55169
+ "paused",
55170
+ "finished",
55171
+ "error",
55172
+ "unavailable"
55173
+ ]);
55174
+ var DishwasherConsumableLevelSchema = _enum([
55175
+ "ok",
55176
+ "low",
55177
+ "empty"
55178
+ ]);
55179
+ object({
55180
+ state: DishwasherStateSchema,
55181
+ /** Active program id/name, or null when none selected / unknown. */
55182
+ program: string().nullable(),
55183
+ /** Program tokens the hardware accepts — drives the UI selector. */
55184
+ availablePrograms: array(string()),
55185
+ /** Minutes remaining on the active cycle, or null when not running. */
55186
+ remainingMinutes: number().int().nonnegative().nullable(),
55187
+ /** Cycle completion 0..100, or null when not applicable. */
55188
+ progressPercent: number().min(0).max(100).nullable(),
55189
+ /** True when the door is reported open. */
55190
+ doorOpen: boolean(),
55191
+ /** True when remote start is allowed (door closed, power on, etc.). */
55192
+ remoteStartAllowed: boolean(),
55193
+ /** Main power / switched-on state. */
55194
+ powerOn: boolean(),
55195
+ saltLevel: DishwasherConsumableLevelSchema.nullable(),
55196
+ rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
55197
+ halfLoad: boolean(),
55198
+ hygienePlus: boolean(),
55199
+ /** Extra dry option when the appliance exposes it. */
55200
+ extraDry: boolean(),
55201
+ /** Intensive zone (lower basket) when the appliance exposes it. */
55202
+ intensiveZone: boolean(),
55203
+ /** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
55204
+ varioSpeedPlus: boolean(),
55205
+ /** Child lock (controls disabled on the appliance). */
55206
+ childLock: boolean(),
55207
+ errorCode: number().nullable(),
55208
+ errorLabel: string().nullable(),
55209
+ lastFetchedAt: number()
55210
+ });
55211
+ DeviceType.Dishwasher, method(object({ deviceId: number().int().nonnegative() }), _void(), {
55212
+ kind: "mutation",
55213
+ auth: "protected"
55214
+ }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
55215
+ kind: "mutation",
55216
+ auth: "protected"
55217
+ }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
55218
+ kind: "mutation",
55219
+ auth: "protected"
55220
+ }), method(object({
55221
+ deviceId: number().int().nonnegative(),
55222
+ program: string().min(1)
55223
+ }), _void(), {
55224
+ kind: "mutation",
55225
+ auth: "protected"
55226
+ }), method(object({
55227
+ deviceId: number().int().nonnegative(),
55228
+ on: boolean()
55229
+ }), _void(), {
55230
+ kind: "mutation",
55231
+ auth: "protected"
55232
+ }), method(object({
55233
+ deviceId: number().int().nonnegative(),
55234
+ on: boolean()
55235
+ }), _void(), {
55236
+ kind: "mutation",
55237
+ auth: "protected"
55238
+ }), method(object({
55239
+ deviceId: number().int().nonnegative(),
55240
+ on: boolean()
55241
+ }), _void(), {
55242
+ kind: "mutation",
55243
+ auth: "protected"
55244
+ }), method(object({
55245
+ deviceId: number().int().nonnegative(),
55246
+ on: boolean()
55247
+ }), _void(), {
55248
+ kind: "mutation",
55249
+ auth: "protected"
55250
+ }), method(object({
55251
+ deviceId: number().int().nonnegative(),
55252
+ on: boolean()
55253
+ }), _void(), {
55254
+ kind: "mutation",
55255
+ auth: "protected"
55256
+ }), method(object({
55257
+ deviceId: number().int().nonnegative(),
55258
+ on: boolean()
55259
+ }), _void(), {
55260
+ kind: "mutation",
55261
+ auth: "protected"
55262
+ }), method(object({
55263
+ deviceId: number().int().nonnegative(),
55264
+ on: boolean()
55265
+ }), _void(), {
55266
+ kind: "mutation",
55267
+ auth: "protected"
55268
+ }), method(object({
55269
+ deviceId: number().int().nonnegative(),
55270
+ key: string().min(1),
55271
+ value: union([
55272
+ boolean(),
55273
+ string(),
55274
+ number()
55275
+ ])
55276
+ }), _void(), {
55277
+ kind: "mutation",
55278
+ auth: "protected"
55279
+ });
55142
55280
  object({
55143
55281
  /** Ms epoch of the last press. null = never observed since this provider started. */
55144
55282
  lastPressedAt: number().nullable(),
@@ -55712,6 +55850,13 @@ object({
55712
55850
  lastChangedAt: number()
55713
55851
  });
55714
55852
  DeviceType.Sensor;
55853
+ object({
55854
+ /** Radiator valve opening 0 (closed) .. 100 (open). Null = not yet known. */
55855
+ position: number().min(0).max(100).nullable(),
55856
+ /** Ms epoch when the slice was last updated (push or poll). */
55857
+ lastFetchedAt: number()
55858
+ });
55859
+ DeviceType.Thermostat;
55715
55860
  object({
55716
55861
  /** Whether the humidifier is currently on. */
55717
55862
  on: boolean(),
@@ -62811,7 +62956,7 @@ var AccessoryKind = {
62811
62956
  PrivacyMask: DeviceRole.PrivacyMask
62812
62957
  };
62813
62958
  AccessoryKind.Siren, AccessoryKind.Floodlight, AccessoryKind.Spotlight, AccessoryKind.PirSensor, AccessoryKind.Chime, AccessoryKind.Autotrack, AccessoryKind.Nightvision, AccessoryKind.PrivacyMask;
62814
- 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;
62959
+ 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;
62815
62960
  new Set(Object.values(DeviceType));
62816
62961
  Object.freeze({
62817
62962
  "accessories.getStatus": {
@@ -65232,6 +65377,84 @@ Object.freeze({
65232
65377
  addonId: null,
65233
65378
  access: "view"
65234
65379
  },
65380
+ "dishwasher.getStatus": {
65381
+ capName: "dishwasher",
65382
+ capScope: "device",
65383
+ addonId: null,
65384
+ access: "view"
65385
+ },
65386
+ "dishwasher.pause": {
65387
+ capName: "dishwasher",
65388
+ capScope: "device",
65389
+ addonId: null,
65390
+ access: "create"
65391
+ },
65392
+ "dishwasher.setChildLock": {
65393
+ capName: "dishwasher",
65394
+ capScope: "device",
65395
+ addonId: null,
65396
+ access: "create"
65397
+ },
65398
+ "dishwasher.setExtraDry": {
65399
+ capName: "dishwasher",
65400
+ capScope: "device",
65401
+ addonId: null,
65402
+ access: "create"
65403
+ },
65404
+ "dishwasher.setHalfLoad": {
65405
+ capName: "dishwasher",
65406
+ capScope: "device",
65407
+ addonId: null,
65408
+ access: "create"
65409
+ },
65410
+ "dishwasher.setHygienePlus": {
65411
+ capName: "dishwasher",
65412
+ capScope: "device",
65413
+ addonId: null,
65414
+ access: "create"
65415
+ },
65416
+ "dishwasher.setIntensiveZone": {
65417
+ capName: "dishwasher",
65418
+ capScope: "device",
65419
+ addonId: null,
65420
+ access: "create"
65421
+ },
65422
+ "dishwasher.setOption": {
65423
+ capName: "dishwasher",
65424
+ capScope: "device",
65425
+ addonId: null,
65426
+ access: "create"
65427
+ },
65428
+ "dishwasher.setPower": {
65429
+ capName: "dishwasher",
65430
+ capScope: "device",
65431
+ addonId: null,
65432
+ access: "create"
65433
+ },
65434
+ "dishwasher.setProgram": {
65435
+ capName: "dishwasher",
65436
+ capScope: "device",
65437
+ addonId: null,
65438
+ access: "create"
65439
+ },
65440
+ "dishwasher.setVarioSpeedPlus": {
65441
+ capName: "dishwasher",
65442
+ capScope: "device",
65443
+ addonId: null,
65444
+ access: "create"
65445
+ },
65446
+ "dishwasher.start": {
65447
+ capName: "dishwasher",
65448
+ capScope: "device",
65449
+ addonId: null,
65450
+ access: "create"
65451
+ },
65452
+ "dishwasher.stop": {
65453
+ capName: "dishwasher",
65454
+ capScope: "device",
65455
+ addonId: null,
65456
+ access: "create"
65457
+ },
65235
65458
  "doorbell.getStatus": {
65236
65459
  capName: "doorbell",
65237
65460
  capScope: "device",
@@ -65442,6 +65665,12 @@ Object.freeze({
65442
65665
  addonId: null,
65443
65666
  access: "view"
65444
65667
  },
65668
+ "heatingValve.getStatus": {
65669
+ capName: "heating-valve",
65670
+ capScope: "device",
65671
+ addonId: null,
65672
+ access: "view"
65673
+ },
65445
65674
  "humidifier.getStatus": {
65446
65675
  capName: "humidifier",
65447
65676
  capScope: "device",
@@ -71029,7 +71258,7 @@ Object.freeze({
71029
71258
  access: "create"
71030
71259
  }
71031
71260
  });
71032
- 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;
71261
+ 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;
71033
71262
  DeviceFeature.BatteryOperated;
71034
71263
  Object.freeze({
71035
71264
  "accessories.getStatus": [{
@@ -71853,6 +72082,71 @@ Object.freeze({
71853
72082
  form: "single",
71854
72083
  optional: false
71855
72084
  }],
72085
+ "dishwasher.getStatus": [{
72086
+ name: "deviceId",
72087
+ form: "single",
72088
+ optional: false
72089
+ }],
72090
+ "dishwasher.pause": [{
72091
+ name: "deviceId",
72092
+ form: "single",
72093
+ optional: false
72094
+ }],
72095
+ "dishwasher.setChildLock": [{
72096
+ name: "deviceId",
72097
+ form: "single",
72098
+ optional: false
72099
+ }],
72100
+ "dishwasher.setExtraDry": [{
72101
+ name: "deviceId",
72102
+ form: "single",
72103
+ optional: false
72104
+ }],
72105
+ "dishwasher.setHalfLoad": [{
72106
+ name: "deviceId",
72107
+ form: "single",
72108
+ optional: false
72109
+ }],
72110
+ "dishwasher.setHygienePlus": [{
72111
+ name: "deviceId",
72112
+ form: "single",
72113
+ optional: false
72114
+ }],
72115
+ "dishwasher.setIntensiveZone": [{
72116
+ name: "deviceId",
72117
+ form: "single",
72118
+ optional: false
72119
+ }],
72120
+ "dishwasher.setOption": [{
72121
+ name: "deviceId",
72122
+ form: "single",
72123
+ optional: false
72124
+ }],
72125
+ "dishwasher.setPower": [{
72126
+ name: "deviceId",
72127
+ form: "single",
72128
+ optional: false
72129
+ }],
72130
+ "dishwasher.setProgram": [{
72131
+ name: "deviceId",
72132
+ form: "single",
72133
+ optional: false
72134
+ }],
72135
+ "dishwasher.setVarioSpeedPlus": [{
72136
+ name: "deviceId",
72137
+ form: "single",
72138
+ optional: false
72139
+ }],
72140
+ "dishwasher.start": [{
72141
+ name: "deviceId",
72142
+ form: "single",
72143
+ optional: false
72144
+ }],
72145
+ "dishwasher.stop": [{
72146
+ name: "deviceId",
72147
+ form: "single",
72148
+ optional: false
72149
+ }],
71856
72150
  "doorbell.getStatus": [{
71857
72151
  name: "deviceId",
71858
72152
  form: "single",
@@ -71922,6 +72216,11 @@ Object.freeze({
71922
72216
  form: "single",
71923
72217
  optional: false
71924
72218
  }],
72219
+ "heatingValve.getStatus": [{
72220
+ name: "deviceId",
72221
+ form: "single",
72222
+ optional: false
72223
+ }],
71925
72224
  "humidifier.getStatus": [{
71926
72225
  name: "deviceId",
71927
72226
  form: "single",
@@ -5445,7 +5445,7 @@ var ZodIssueCode = {
5445
5445
  var ZodFirstPartyTypeKind;
5446
5446
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5447
5447
  //#endregion
5448
- //#region ../types/dist/sleep-bZIhUvjd.mjs
5448
+ //#region ../types/dist/sleep-BegKjwUu.mjs
5449
5449
  /**
5450
5450
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5451
5451
  * window to float samples (D455).
@@ -8452,7 +8452,7 @@ object({
8452
8452
  params: record(string(), union([string(), number()])).optional()
8453
8453
  });
8454
8454
  //#endregion
8455
- //#region ../types/dist/err-msg--2RrYiLO.mjs
8455
+ //#region ../types/dist/err-msg-BXKzRBwg.mjs
8456
8456
  var DeviceType = /* @__PURE__ */ function(DeviceType) {
8457
8457
  DeviceType["Camera"] = "camera";
8458
8458
  DeviceType["Hub"] = "hub";
@@ -8544,6 +8544,10 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
8544
8544
  * native PetKit (`nodepetkit` `FeederDevice`), reusable by other feeder
8545
8545
  * integrations sharing the same food/desiccant/hopper surface. */
8546
8546
  DeviceType["PetFeeder"] = "pet-feeder";
8547
+ /** Built-in dishwasher — program lifecycle, door / remote-start gates,
8548
+ * salt and rinse-aid levels. Installed with the `dishwasher` cap.
8549
+ * Sources: native Bosch Home Connect, reusable by similar integrations. */
8550
+ DeviceType["Dishwasher"] = "dishwasher";
8547
8551
  return DeviceType;
8548
8552
  }({});
8549
8553
  var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
@@ -8801,7 +8805,7 @@ function errMsg$16(err) {
8801
8805
  return String(err);
8802
8806
  }
8803
8807
  //#endregion
8804
- //#region ../types/dist/composition-DOwQB_Ua.mjs
8808
+ //#region ../types/dist/composition-CB6PMT9p.mjs
8805
8809
  var AUDIO_ENCODER_BY_CODEC = {
8806
8810
  opus: "libopus",
8807
8811
  aac: "aac",
@@ -14006,8 +14010,13 @@ var AlertSeveritySchema = _enum([
14006
14010
  "info",
14007
14011
  "success",
14008
14012
  "warning",
14009
- "error"
14013
+ "error",
14014
+ "critical"
14010
14015
  ]);
14016
+ var AlertActionSchema = object({
14017
+ label: string(),
14018
+ href: string().optional()
14019
+ });
14011
14020
  var AlertStatusSchema = _enum([
14012
14021
  "active",
14013
14022
  "in-progress",
@@ -14025,6 +14034,7 @@ var AlertSchema = object({
14025
14034
  severity: AlertSeveritySchema,
14026
14035
  title: string(),
14027
14036
  message: string(),
14037
+ action: AlertActionSchema.optional(),
14028
14038
  status: AlertStatusSchema,
14029
14039
  progress: number().optional(),
14030
14040
  read: boolean(),
@@ -18225,7 +18235,11 @@ DeviceType.Hub, DeviceDiscoveryStatusSchema.extend({ lastFetchedAt: number().int
18225
18235
  });
18226
18236
  /**
18227
18237
  * `device-adoption` — generic discovery + adoption surface,
18228
- * system-scoped singleton. The de-HA-ified successor to `ha-discovery`:
18238
+ * system-scoped collection (one provider per integration addon), routed
18239
+ * by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
18240
+ * pin model as `connection-test`. The admin UI keeps using
18241
+ * `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
18242
+ * successor to `ha-discovery`:
18229
18243
  * keyed by `integrationId` (the addon resolves integrationId → broker
18230
18244
  * internally) rather than a connection-specific `brokerId`, and it
18231
18245
  * REUSES the shared `DiscoveredChildDevice` candidate type from
@@ -54237,7 +54251,7 @@ var BatteryStatusSchema = object({
54237
54251
  */
54238
54252
  binary: boolean().optional()
54239
54253
  });
54240
- DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, method(object({
54254
+ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, method(object({
54241
54255
  deviceId: number(),
54242
54256
  /** Bound on the wait. Sensible range 3000–10000ms. */
54243
54257
  timeoutMs: number().int().min(500).max(3e4).default(8e3)
@@ -55129,6 +55143,130 @@ object({
55129
55143
  deviceId: number(),
55130
55144
  status: DeviceStatusSchema
55131
55145
  });
55146
+ /**
55147
+ * Smart-dishwasher cap — program lifecycle, door / remote-start gates,
55148
+ * consumable levels (salt, rinse aid) and common program options.
55149
+ *
55150
+ * Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
55151
+ * by any integration that exposes the same program / option surface.
55152
+ *
55153
+ * `kind: 'poll'` — cloud REST APIs typically have no push channel; the
55154
+ * provider refreshes the slice on an interval and eagerly after commands.
55155
+ */
55156
+ var DishwasherStateSchema = _enum([
55157
+ "idle",
55158
+ "running",
55159
+ "paused",
55160
+ "finished",
55161
+ "error",
55162
+ "unavailable"
55163
+ ]);
55164
+ var DishwasherConsumableLevelSchema = _enum([
55165
+ "ok",
55166
+ "low",
55167
+ "empty"
55168
+ ]);
55169
+ object({
55170
+ state: DishwasherStateSchema,
55171
+ /** Active program id/name, or null when none selected / unknown. */
55172
+ program: string().nullable(),
55173
+ /** Program tokens the hardware accepts — drives the UI selector. */
55174
+ availablePrograms: array(string()),
55175
+ /** Minutes remaining on the active cycle, or null when not running. */
55176
+ remainingMinutes: number().int().nonnegative().nullable(),
55177
+ /** Cycle completion 0..100, or null when not applicable. */
55178
+ progressPercent: number().min(0).max(100).nullable(),
55179
+ /** True when the door is reported open. */
55180
+ doorOpen: boolean(),
55181
+ /** True when remote start is allowed (door closed, power on, etc.). */
55182
+ remoteStartAllowed: boolean(),
55183
+ /** Main power / switched-on state. */
55184
+ powerOn: boolean(),
55185
+ saltLevel: DishwasherConsumableLevelSchema.nullable(),
55186
+ rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
55187
+ halfLoad: boolean(),
55188
+ hygienePlus: boolean(),
55189
+ /** Extra dry option when the appliance exposes it. */
55190
+ extraDry: boolean(),
55191
+ /** Intensive zone (lower basket) when the appliance exposes it. */
55192
+ intensiveZone: boolean(),
55193
+ /** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
55194
+ varioSpeedPlus: boolean(),
55195
+ /** Child lock (controls disabled on the appliance). */
55196
+ childLock: boolean(),
55197
+ errorCode: number().nullable(),
55198
+ errorLabel: string().nullable(),
55199
+ lastFetchedAt: number()
55200
+ });
55201
+ DeviceType.Dishwasher, method(object({ deviceId: number().int().nonnegative() }), _void(), {
55202
+ kind: "mutation",
55203
+ auth: "protected"
55204
+ }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
55205
+ kind: "mutation",
55206
+ auth: "protected"
55207
+ }), method(object({ deviceId: number().int().nonnegative() }), _void(), {
55208
+ kind: "mutation",
55209
+ auth: "protected"
55210
+ }), method(object({
55211
+ deviceId: number().int().nonnegative(),
55212
+ program: string().min(1)
55213
+ }), _void(), {
55214
+ kind: "mutation",
55215
+ auth: "protected"
55216
+ }), method(object({
55217
+ deviceId: number().int().nonnegative(),
55218
+ on: boolean()
55219
+ }), _void(), {
55220
+ kind: "mutation",
55221
+ auth: "protected"
55222
+ }), method(object({
55223
+ deviceId: number().int().nonnegative(),
55224
+ on: boolean()
55225
+ }), _void(), {
55226
+ kind: "mutation",
55227
+ auth: "protected"
55228
+ }), method(object({
55229
+ deviceId: number().int().nonnegative(),
55230
+ on: boolean()
55231
+ }), _void(), {
55232
+ kind: "mutation",
55233
+ auth: "protected"
55234
+ }), method(object({
55235
+ deviceId: number().int().nonnegative(),
55236
+ on: boolean()
55237
+ }), _void(), {
55238
+ kind: "mutation",
55239
+ auth: "protected"
55240
+ }), method(object({
55241
+ deviceId: number().int().nonnegative(),
55242
+ on: boolean()
55243
+ }), _void(), {
55244
+ kind: "mutation",
55245
+ auth: "protected"
55246
+ }), method(object({
55247
+ deviceId: number().int().nonnegative(),
55248
+ on: boolean()
55249
+ }), _void(), {
55250
+ kind: "mutation",
55251
+ auth: "protected"
55252
+ }), method(object({
55253
+ deviceId: number().int().nonnegative(),
55254
+ on: boolean()
55255
+ }), _void(), {
55256
+ kind: "mutation",
55257
+ auth: "protected"
55258
+ }), method(object({
55259
+ deviceId: number().int().nonnegative(),
55260
+ key: string().min(1),
55261
+ value: union([
55262
+ boolean(),
55263
+ string(),
55264
+ number()
55265
+ ])
55266
+ }), _void(), {
55267
+ kind: "mutation",
55268
+ auth: "protected"
55269
+ });
55132
55270
  object({
55133
55271
  /** Ms epoch of the last press. null = never observed since this provider started. */
55134
55272
  lastPressedAt: number().nullable(),
@@ -55702,6 +55840,13 @@ object({
55702
55840
  lastChangedAt: number()
55703
55841
  });
55704
55842
  DeviceType.Sensor;
55843
+ object({
55844
+ /** Radiator valve opening 0 (closed) .. 100 (open). Null = not yet known. */
55845
+ position: number().min(0).max(100).nullable(),
55846
+ /** Ms epoch when the slice was last updated (push or poll). */
55847
+ lastFetchedAt: number()
55848
+ });
55849
+ DeviceType.Thermostat;
55705
55850
  object({
55706
55851
  /** Whether the humidifier is currently on. */
55707
55852
  on: boolean(),
@@ -62801,7 +62946,7 @@ var AccessoryKind = {
62801
62946
  PrivacyMask: DeviceRole.PrivacyMask
62802
62947
  };
62803
62948
  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;
62949
+ 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
62950
  new Set(Object.values(DeviceType));
62806
62951
  Object.freeze({
62807
62952
  "accessories.getStatus": {
@@ -65222,6 +65367,84 @@ Object.freeze({
65222
65367
  addonId: null,
65223
65368
  access: "view"
65224
65369
  },
65370
+ "dishwasher.getStatus": {
65371
+ capName: "dishwasher",
65372
+ capScope: "device",
65373
+ addonId: null,
65374
+ access: "view"
65375
+ },
65376
+ "dishwasher.pause": {
65377
+ capName: "dishwasher",
65378
+ capScope: "device",
65379
+ addonId: null,
65380
+ access: "create"
65381
+ },
65382
+ "dishwasher.setChildLock": {
65383
+ capName: "dishwasher",
65384
+ capScope: "device",
65385
+ addonId: null,
65386
+ access: "create"
65387
+ },
65388
+ "dishwasher.setExtraDry": {
65389
+ capName: "dishwasher",
65390
+ capScope: "device",
65391
+ addonId: null,
65392
+ access: "create"
65393
+ },
65394
+ "dishwasher.setHalfLoad": {
65395
+ capName: "dishwasher",
65396
+ capScope: "device",
65397
+ addonId: null,
65398
+ access: "create"
65399
+ },
65400
+ "dishwasher.setHygienePlus": {
65401
+ capName: "dishwasher",
65402
+ capScope: "device",
65403
+ addonId: null,
65404
+ access: "create"
65405
+ },
65406
+ "dishwasher.setIntensiveZone": {
65407
+ capName: "dishwasher",
65408
+ capScope: "device",
65409
+ addonId: null,
65410
+ access: "create"
65411
+ },
65412
+ "dishwasher.setOption": {
65413
+ capName: "dishwasher",
65414
+ capScope: "device",
65415
+ addonId: null,
65416
+ access: "create"
65417
+ },
65418
+ "dishwasher.setPower": {
65419
+ capName: "dishwasher",
65420
+ capScope: "device",
65421
+ addonId: null,
65422
+ access: "create"
65423
+ },
65424
+ "dishwasher.setProgram": {
65425
+ capName: "dishwasher",
65426
+ capScope: "device",
65427
+ addonId: null,
65428
+ access: "create"
65429
+ },
65430
+ "dishwasher.setVarioSpeedPlus": {
65431
+ capName: "dishwasher",
65432
+ capScope: "device",
65433
+ addonId: null,
65434
+ access: "create"
65435
+ },
65436
+ "dishwasher.start": {
65437
+ capName: "dishwasher",
65438
+ capScope: "device",
65439
+ addonId: null,
65440
+ access: "create"
65441
+ },
65442
+ "dishwasher.stop": {
65443
+ capName: "dishwasher",
65444
+ capScope: "device",
65445
+ addonId: null,
65446
+ access: "create"
65447
+ },
65225
65448
  "doorbell.getStatus": {
65226
65449
  capName: "doorbell",
65227
65450
  capScope: "device",
@@ -65432,6 +65655,12 @@ Object.freeze({
65432
65655
  addonId: null,
65433
65656
  access: "view"
65434
65657
  },
65658
+ "heatingValve.getStatus": {
65659
+ capName: "heating-valve",
65660
+ capScope: "device",
65661
+ addonId: null,
65662
+ access: "view"
65663
+ },
65435
65664
  "humidifier.getStatus": {
65436
65665
  capName: "humidifier",
65437
65666
  capScope: "device",
@@ -71019,7 +71248,7 @@ Object.freeze({
71019
71248
  access: "create"
71020
71249
  }
71021
71250
  });
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;
71251
+ 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
71252
  DeviceFeature.BatteryOperated;
71024
71253
  Object.freeze({
71025
71254
  "accessories.getStatus": [{
@@ -71843,6 +72072,71 @@ Object.freeze({
71843
72072
  form: "single",
71844
72073
  optional: false
71845
72074
  }],
72075
+ "dishwasher.getStatus": [{
72076
+ name: "deviceId",
72077
+ form: "single",
72078
+ optional: false
72079
+ }],
72080
+ "dishwasher.pause": [{
72081
+ name: "deviceId",
72082
+ form: "single",
72083
+ optional: false
72084
+ }],
72085
+ "dishwasher.setChildLock": [{
72086
+ name: "deviceId",
72087
+ form: "single",
72088
+ optional: false
72089
+ }],
72090
+ "dishwasher.setExtraDry": [{
72091
+ name: "deviceId",
72092
+ form: "single",
72093
+ optional: false
72094
+ }],
72095
+ "dishwasher.setHalfLoad": [{
72096
+ name: "deviceId",
72097
+ form: "single",
72098
+ optional: false
72099
+ }],
72100
+ "dishwasher.setHygienePlus": [{
72101
+ name: "deviceId",
72102
+ form: "single",
72103
+ optional: false
72104
+ }],
72105
+ "dishwasher.setIntensiveZone": [{
72106
+ name: "deviceId",
72107
+ form: "single",
72108
+ optional: false
72109
+ }],
72110
+ "dishwasher.setOption": [{
72111
+ name: "deviceId",
72112
+ form: "single",
72113
+ optional: false
72114
+ }],
72115
+ "dishwasher.setPower": [{
72116
+ name: "deviceId",
72117
+ form: "single",
72118
+ optional: false
72119
+ }],
72120
+ "dishwasher.setProgram": [{
72121
+ name: "deviceId",
72122
+ form: "single",
72123
+ optional: false
72124
+ }],
72125
+ "dishwasher.setVarioSpeedPlus": [{
72126
+ name: "deviceId",
72127
+ form: "single",
72128
+ optional: false
72129
+ }],
72130
+ "dishwasher.start": [{
72131
+ name: "deviceId",
72132
+ form: "single",
72133
+ optional: false
72134
+ }],
72135
+ "dishwasher.stop": [{
72136
+ name: "deviceId",
72137
+ form: "single",
72138
+ optional: false
72139
+ }],
71846
72140
  "doorbell.getStatus": [{
71847
72141
  name: "deviceId",
71848
72142
  form: "single",
@@ -71912,6 +72206,11 @@ Object.freeze({
71912
72206
  form: "single",
71913
72207
  optional: false
71914
72208
  }],
72209
+ "heatingValve.getStatus": [{
72210
+ name: "deviceId",
72211
+ form: "single",
72212
+ optional: false
72213
+ }],
71915
72214
  "humidifier.getStatus": [{
71916
72215
  name: "deviceId",
71917
72216
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-hap",
3
- "version": "1.2.159",
3
+ "version": "1.2.160",
4
4
  "description": "HomeKit (HAP) exporter for CamStack devices. Publishes each exposed device as its own HomeKit accessory: cameras and doorbells with SRTP streaming, HomeKit Secure Video, motion, two-way audio, PTZ and battery; switches, lights, locks and sensors through a capability→service table.",
5
5
  "keywords": [
6
6
  "camstack",