@camstack/addon-provider-dreame 0.2.134 → 0.2.135

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 CHANGED
@@ -5450,7 +5450,7 @@ var ZodIssueCode$1 = {
5450
5450
  var ZodFirstPartyTypeKind$1;
5451
5451
  ZodFirstPartyTypeKind$1 || (ZodFirstPartyTypeKind$1 = {});
5452
5452
  //#endregion
5453
- //#region ../types/dist/sleep-BOjuyoPC.mjs
5453
+ //#region ../types/dist/sleep-BegKjwUu.mjs
5454
5454
  /**
5455
5455
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5456
5456
  * window to float samples (D455).
@@ -17608,7 +17608,11 @@ var deviceDiscoveryCapability = {
17608
17608
  };
17609
17609
  /**
17610
17610
  * `device-adoption` — generic discovery + adoption surface,
17611
- * system-scoped singleton. The de-HA-ified successor to `ha-discovery`:
17611
+ * system-scoped collection (one provider per integration addon), routed
17612
+ * by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
17613
+ * pin model as `connection-test`. The admin UI keeps using
17614
+ * `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
17615
+ * successor to `ha-discovery`:
17612
17616
  * keyed by `integrationId` (the addon resolves integrationId → broker
17613
17617
  * internally) rather than a connection-specific `brokerId`, and it
17614
17618
  * REUSES the shared `DiscoveredChildDevice` candidate type from
@@ -17773,7 +17777,7 @@ var ResyncResultSchema = object({
17773
17777
  var deviceAdoptionCapability = {
17774
17778
  name: "device-adoption",
17775
17779
  scope: "system",
17776
- mode: "singleton",
17780
+ mode: "collection",
17777
17781
  status: {
17778
17782
  schema: AdoptionStatusSchema,
17779
17783
  kind: "poll"
@@ -55359,6 +55363,14 @@ var DishwasherStatusSchema = object({
55359
55363
  rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
55360
55364
  halfLoad: boolean(),
55361
55365
  hygienePlus: boolean(),
55366
+ /** Extra dry option when the appliance exposes it. */
55367
+ extraDry: boolean(),
55368
+ /** Intensive zone (lower basket) when the appliance exposes it. */
55369
+ intensiveZone: boolean(),
55370
+ /** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
55371
+ varioSpeedPlus: boolean(),
55372
+ /** Child lock (controls disabled on the appliance). */
55373
+ childLock: boolean(),
55362
55374
  errorCode: number().nullable(),
55363
55375
  errorLabel: string().nullable(),
55364
55376
  lastFetchedAt: number()
@@ -55410,6 +55422,34 @@ var dishwasherCapability = {
55410
55422
  kind: "mutation",
55411
55423
  auth: "protected"
55412
55424
  }),
55425
+ setExtraDry: method(object({
55426
+ deviceId: number().int().nonnegative(),
55427
+ on: boolean()
55428
+ }), _void(), {
55429
+ kind: "mutation",
55430
+ auth: "protected"
55431
+ }),
55432
+ setIntensiveZone: method(object({
55433
+ deviceId: number().int().nonnegative(),
55434
+ on: boolean()
55435
+ }), _void(), {
55436
+ kind: "mutation",
55437
+ auth: "protected"
55438
+ }),
55439
+ setVarioSpeedPlus: method(object({
55440
+ deviceId: number().int().nonnegative(),
55441
+ on: boolean()
55442
+ }), _void(), {
55443
+ kind: "mutation",
55444
+ auth: "protected"
55445
+ }),
55446
+ setChildLock: method(object({
55447
+ deviceId: number().int().nonnegative(),
55448
+ on: boolean()
55449
+ }), _void(), {
55450
+ kind: "mutation",
55451
+ auth: "protected"
55452
+ }),
55413
55453
  setOption: method(object({
55414
55454
  deviceId: number().int().nonnegative(),
55415
55455
  key: string().min(1),
@@ -69530,6 +69570,18 @@ Object.freeze({
69530
69570
  addonId: null,
69531
69571
  access: "create"
69532
69572
  },
69573
+ "dishwasher.setChildLock": {
69574
+ capName: "dishwasher",
69575
+ capScope: "device",
69576
+ addonId: null,
69577
+ access: "create"
69578
+ },
69579
+ "dishwasher.setExtraDry": {
69580
+ capName: "dishwasher",
69581
+ capScope: "device",
69582
+ addonId: null,
69583
+ access: "create"
69584
+ },
69533
69585
  "dishwasher.setHalfLoad": {
69534
69586
  capName: "dishwasher",
69535
69587
  capScope: "device",
@@ -69542,6 +69594,12 @@ Object.freeze({
69542
69594
  addonId: null,
69543
69595
  access: "create"
69544
69596
  },
69597
+ "dishwasher.setIntensiveZone": {
69598
+ capName: "dishwasher",
69599
+ capScope: "device",
69600
+ addonId: null,
69601
+ access: "create"
69602
+ },
69545
69603
  "dishwasher.setOption": {
69546
69604
  capName: "dishwasher",
69547
69605
  capScope: "device",
@@ -69560,6 +69618,12 @@ Object.freeze({
69560
69618
  addonId: null,
69561
69619
  access: "create"
69562
69620
  },
69621
+ "dishwasher.setVarioSpeedPlus": {
69622
+ capName: "dishwasher",
69623
+ capScope: "device",
69624
+ addonId: null,
69625
+ access: "create"
69626
+ },
69563
69627
  "dishwasher.start": {
69564
69628
  capName: "dishwasher",
69565
69629
  capScope: "device",
@@ -76209,6 +76273,16 @@ Object.freeze({
76209
76273
  form: "single",
76210
76274
  optional: false
76211
76275
  }],
76276
+ "dishwasher.setChildLock": [{
76277
+ name: "deviceId",
76278
+ form: "single",
76279
+ optional: false
76280
+ }],
76281
+ "dishwasher.setExtraDry": [{
76282
+ name: "deviceId",
76283
+ form: "single",
76284
+ optional: false
76285
+ }],
76212
76286
  "dishwasher.setHalfLoad": [{
76213
76287
  name: "deviceId",
76214
76288
  form: "single",
@@ -76219,6 +76293,11 @@ Object.freeze({
76219
76293
  form: "single",
76220
76294
  optional: false
76221
76295
  }],
76296
+ "dishwasher.setIntensiveZone": [{
76297
+ name: "deviceId",
76298
+ form: "single",
76299
+ optional: false
76300
+ }],
76222
76301
  "dishwasher.setOption": [{
76223
76302
  name: "deviceId",
76224
76303
  form: "single",
@@ -76234,6 +76313,11 @@ Object.freeze({
76234
76313
  form: "single",
76235
76314
  optional: false
76236
76315
  }],
76316
+ "dishwasher.setVarioSpeedPlus": [{
76317
+ name: "deviceId",
76318
+ form: "single",
76319
+ optional: false
76320
+ }],
76237
76321
  "dishwasher.start": [{
76238
76322
  name: "deviceId",
76239
76323
  form: "single",
package/dist/addon.mjs CHANGED
@@ -5447,7 +5447,7 @@ var ZodIssueCode$1 = {
5447
5447
  var ZodFirstPartyTypeKind$1;
5448
5448
  ZodFirstPartyTypeKind$1 || (ZodFirstPartyTypeKind$1 = {});
5449
5449
  //#endregion
5450
- //#region ../types/dist/sleep-BOjuyoPC.mjs
5450
+ //#region ../types/dist/sleep-BegKjwUu.mjs
5451
5451
  /**
5452
5452
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5453
5453
  * window to float samples (D455).
@@ -17605,7 +17605,11 @@ var deviceDiscoveryCapability = {
17605
17605
  };
17606
17606
  /**
17607
17607
  * `device-adoption` — generic discovery + adoption surface,
17608
- * system-scoped singleton. The de-HA-ified successor to `ha-discovery`:
17608
+ * system-scoped collection (one provider per integration addon), routed
17609
+ * by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
17610
+ * pin model as `connection-test`. The admin UI keeps using
17611
+ * `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
17612
+ * successor to `ha-discovery`:
17609
17613
  * keyed by `integrationId` (the addon resolves integrationId → broker
17610
17614
  * internally) rather than a connection-specific `brokerId`, and it
17611
17615
  * REUSES the shared `DiscoveredChildDevice` candidate type from
@@ -17770,7 +17774,7 @@ var ResyncResultSchema = object({
17770
17774
  var deviceAdoptionCapability = {
17771
17775
  name: "device-adoption",
17772
17776
  scope: "system",
17773
- mode: "singleton",
17777
+ mode: "collection",
17774
17778
  status: {
17775
17779
  schema: AdoptionStatusSchema,
17776
17780
  kind: "poll"
@@ -55356,6 +55360,14 @@ var DishwasherStatusSchema = object({
55356
55360
  rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
55357
55361
  halfLoad: boolean(),
55358
55362
  hygienePlus: boolean(),
55363
+ /** Extra dry option when the appliance exposes it. */
55364
+ extraDry: boolean(),
55365
+ /** Intensive zone (lower basket) when the appliance exposes it. */
55366
+ intensiveZone: boolean(),
55367
+ /** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
55368
+ varioSpeedPlus: boolean(),
55369
+ /** Child lock (controls disabled on the appliance). */
55370
+ childLock: boolean(),
55359
55371
  errorCode: number().nullable(),
55360
55372
  errorLabel: string().nullable(),
55361
55373
  lastFetchedAt: number()
@@ -55407,6 +55419,34 @@ var dishwasherCapability = {
55407
55419
  kind: "mutation",
55408
55420
  auth: "protected"
55409
55421
  }),
55422
+ setExtraDry: method(object({
55423
+ deviceId: number().int().nonnegative(),
55424
+ on: boolean()
55425
+ }), _void(), {
55426
+ kind: "mutation",
55427
+ auth: "protected"
55428
+ }),
55429
+ setIntensiveZone: method(object({
55430
+ deviceId: number().int().nonnegative(),
55431
+ on: boolean()
55432
+ }), _void(), {
55433
+ kind: "mutation",
55434
+ auth: "protected"
55435
+ }),
55436
+ setVarioSpeedPlus: method(object({
55437
+ deviceId: number().int().nonnegative(),
55438
+ on: boolean()
55439
+ }), _void(), {
55440
+ kind: "mutation",
55441
+ auth: "protected"
55442
+ }),
55443
+ setChildLock: method(object({
55444
+ deviceId: number().int().nonnegative(),
55445
+ on: boolean()
55446
+ }), _void(), {
55447
+ kind: "mutation",
55448
+ auth: "protected"
55449
+ }),
55410
55450
  setOption: method(object({
55411
55451
  deviceId: number().int().nonnegative(),
55412
55452
  key: string().min(1),
@@ -69527,6 +69567,18 @@ Object.freeze({
69527
69567
  addonId: null,
69528
69568
  access: "create"
69529
69569
  },
69570
+ "dishwasher.setChildLock": {
69571
+ capName: "dishwasher",
69572
+ capScope: "device",
69573
+ addonId: null,
69574
+ access: "create"
69575
+ },
69576
+ "dishwasher.setExtraDry": {
69577
+ capName: "dishwasher",
69578
+ capScope: "device",
69579
+ addonId: null,
69580
+ access: "create"
69581
+ },
69530
69582
  "dishwasher.setHalfLoad": {
69531
69583
  capName: "dishwasher",
69532
69584
  capScope: "device",
@@ -69539,6 +69591,12 @@ Object.freeze({
69539
69591
  addonId: null,
69540
69592
  access: "create"
69541
69593
  },
69594
+ "dishwasher.setIntensiveZone": {
69595
+ capName: "dishwasher",
69596
+ capScope: "device",
69597
+ addonId: null,
69598
+ access: "create"
69599
+ },
69542
69600
  "dishwasher.setOption": {
69543
69601
  capName: "dishwasher",
69544
69602
  capScope: "device",
@@ -69557,6 +69615,12 @@ Object.freeze({
69557
69615
  addonId: null,
69558
69616
  access: "create"
69559
69617
  },
69618
+ "dishwasher.setVarioSpeedPlus": {
69619
+ capName: "dishwasher",
69620
+ capScope: "device",
69621
+ addonId: null,
69622
+ access: "create"
69623
+ },
69560
69624
  "dishwasher.start": {
69561
69625
  capName: "dishwasher",
69562
69626
  capScope: "device",
@@ -76206,6 +76270,16 @@ Object.freeze({
76206
76270
  form: "single",
76207
76271
  optional: false
76208
76272
  }],
76273
+ "dishwasher.setChildLock": [{
76274
+ name: "deviceId",
76275
+ form: "single",
76276
+ optional: false
76277
+ }],
76278
+ "dishwasher.setExtraDry": [{
76279
+ name: "deviceId",
76280
+ form: "single",
76281
+ optional: false
76282
+ }],
76209
76283
  "dishwasher.setHalfLoad": [{
76210
76284
  name: "deviceId",
76211
76285
  form: "single",
@@ -76216,6 +76290,11 @@ Object.freeze({
76216
76290
  form: "single",
76217
76291
  optional: false
76218
76292
  }],
76293
+ "dishwasher.setIntensiveZone": [{
76294
+ name: "deviceId",
76295
+ form: "single",
76296
+ optional: false
76297
+ }],
76219
76298
  "dishwasher.setOption": [{
76220
76299
  name: "deviceId",
76221
76300
  form: "single",
@@ -76231,6 +76310,11 @@ Object.freeze({
76231
76310
  form: "single",
76232
76311
  optional: false
76233
76312
  }],
76313
+ "dishwasher.setVarioSpeedPlus": [{
76314
+ name: "deviceId",
76315
+ form: "single",
76316
+ optional: false
76317
+ }],
76234
76318
  "dishwasher.start": [{
76235
76319
  name: "deviceId",
76236
76320
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.2.134",
3
+ "version": "0.2.135",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",