@camstack/addon-provider-dreo 0.2.127 → 0.2.128

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
@@ -5441,7 +5441,7 @@ var ZodIssueCode = {
5441
5441
  var ZodFirstPartyTypeKind;
5442
5442
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5443
5443
  //#endregion
5444
- //#region ../types/dist/sleep-BOjuyoPC.mjs
5444
+ //#region ../types/dist/sleep-BegKjwUu.mjs
5445
5445
  /**
5446
5446
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5447
5447
  * window to float samples (D455).
@@ -17585,7 +17585,11 @@ var deviceDiscoveryCapability = {
17585
17585
  };
17586
17586
  /**
17587
17587
  * `device-adoption` — generic discovery + adoption surface,
17588
- * system-scoped singleton. The de-HA-ified successor to `ha-discovery`:
17588
+ * system-scoped collection (one provider per integration addon), routed
17589
+ * by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
17590
+ * pin model as `connection-test`. The admin UI keeps using
17591
+ * `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
17592
+ * successor to `ha-discovery`:
17589
17593
  * keyed by `integrationId` (the addon resolves integrationId → broker
17590
17594
  * internally) rather than a connection-specific `brokerId`, and it
17591
17595
  * REUSES the shared `DiscoveredChildDevice` candidate type from
@@ -17750,7 +17754,7 @@ var ResyncResultSchema = object({
17750
17754
  var deviceAdoptionCapability = {
17751
17755
  name: "device-adoption",
17752
17756
  scope: "system",
17753
- mode: "singleton",
17757
+ mode: "collection",
17754
17758
  status: {
17755
17759
  schema: AdoptionStatusSchema,
17756
17760
  kind: "poll"
@@ -55307,6 +55311,14 @@ var DishwasherStatusSchema = object({
55307
55311
  rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
55308
55312
  halfLoad: boolean(),
55309
55313
  hygienePlus: boolean(),
55314
+ /** Extra dry option when the appliance exposes it. */
55315
+ extraDry: boolean(),
55316
+ /** Intensive zone (lower basket) when the appliance exposes it. */
55317
+ intensiveZone: boolean(),
55318
+ /** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
55319
+ varioSpeedPlus: boolean(),
55320
+ /** Child lock (controls disabled on the appliance). */
55321
+ childLock: boolean(),
55310
55322
  errorCode: number().nullable(),
55311
55323
  errorLabel: string().nullable(),
55312
55324
  lastFetchedAt: number()
@@ -55358,6 +55370,34 @@ var dishwasherCapability = {
55358
55370
  kind: "mutation",
55359
55371
  auth: "protected"
55360
55372
  }),
55373
+ setExtraDry: method(object({
55374
+ deviceId: number().int().nonnegative(),
55375
+ on: boolean()
55376
+ }), _void(), {
55377
+ kind: "mutation",
55378
+ auth: "protected"
55379
+ }),
55380
+ setIntensiveZone: method(object({
55381
+ deviceId: number().int().nonnegative(),
55382
+ on: boolean()
55383
+ }), _void(), {
55384
+ kind: "mutation",
55385
+ auth: "protected"
55386
+ }),
55387
+ setVarioSpeedPlus: method(object({
55388
+ deviceId: number().int().nonnegative(),
55389
+ on: boolean()
55390
+ }), _void(), {
55391
+ kind: "mutation",
55392
+ auth: "protected"
55393
+ }),
55394
+ setChildLock: method(object({
55395
+ deviceId: number().int().nonnegative(),
55396
+ on: boolean()
55397
+ }), _void(), {
55398
+ kind: "mutation",
55399
+ auth: "protected"
55400
+ }),
55361
55401
  setOption: method(object({
55362
55402
  deviceId: number().int().nonnegative(),
55363
55403
  key: string().min(1),
@@ -69330,6 +69370,18 @@ Object.freeze({
69330
69370
  addonId: null,
69331
69371
  access: "create"
69332
69372
  },
69373
+ "dishwasher.setChildLock": {
69374
+ capName: "dishwasher",
69375
+ capScope: "device",
69376
+ addonId: null,
69377
+ access: "create"
69378
+ },
69379
+ "dishwasher.setExtraDry": {
69380
+ capName: "dishwasher",
69381
+ capScope: "device",
69382
+ addonId: null,
69383
+ access: "create"
69384
+ },
69333
69385
  "dishwasher.setHalfLoad": {
69334
69386
  capName: "dishwasher",
69335
69387
  capScope: "device",
@@ -69342,6 +69394,12 @@ Object.freeze({
69342
69394
  addonId: null,
69343
69395
  access: "create"
69344
69396
  },
69397
+ "dishwasher.setIntensiveZone": {
69398
+ capName: "dishwasher",
69399
+ capScope: "device",
69400
+ addonId: null,
69401
+ access: "create"
69402
+ },
69345
69403
  "dishwasher.setOption": {
69346
69404
  capName: "dishwasher",
69347
69405
  capScope: "device",
@@ -69360,6 +69418,12 @@ Object.freeze({
69360
69418
  addonId: null,
69361
69419
  access: "create"
69362
69420
  },
69421
+ "dishwasher.setVarioSpeedPlus": {
69422
+ capName: "dishwasher",
69423
+ capScope: "device",
69424
+ addonId: null,
69425
+ access: "create"
69426
+ },
69363
69427
  "dishwasher.start": {
69364
69428
  capName: "dishwasher",
69365
69429
  capScope: "device",
@@ -76009,6 +76073,16 @@ Object.freeze({
76009
76073
  form: "single",
76010
76074
  optional: false
76011
76075
  }],
76076
+ "dishwasher.setChildLock": [{
76077
+ name: "deviceId",
76078
+ form: "single",
76079
+ optional: false
76080
+ }],
76081
+ "dishwasher.setExtraDry": [{
76082
+ name: "deviceId",
76083
+ form: "single",
76084
+ optional: false
76085
+ }],
76012
76086
  "dishwasher.setHalfLoad": [{
76013
76087
  name: "deviceId",
76014
76088
  form: "single",
@@ -76019,6 +76093,11 @@ Object.freeze({
76019
76093
  form: "single",
76020
76094
  optional: false
76021
76095
  }],
76096
+ "dishwasher.setIntensiveZone": [{
76097
+ name: "deviceId",
76098
+ form: "single",
76099
+ optional: false
76100
+ }],
76022
76101
  "dishwasher.setOption": [{
76023
76102
  name: "deviceId",
76024
76103
  form: "single",
@@ -76034,6 +76113,11 @@ Object.freeze({
76034
76113
  form: "single",
76035
76114
  optional: false
76036
76115
  }],
76116
+ "dishwasher.setVarioSpeedPlus": [{
76117
+ name: "deviceId",
76118
+ form: "single",
76119
+ optional: false
76120
+ }],
76037
76121
  "dishwasher.start": [{
76038
76122
  name: "deviceId",
76039
76123
  form: "single",
package/dist/addon.mjs CHANGED
@@ -5442,7 +5442,7 @@ var ZodIssueCode = {
5442
5442
  var ZodFirstPartyTypeKind;
5443
5443
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5444
5444
  //#endregion
5445
- //#region ../types/dist/sleep-BOjuyoPC.mjs
5445
+ //#region ../types/dist/sleep-BegKjwUu.mjs
5446
5446
  /**
5447
5447
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5448
5448
  * window to float samples (D455).
@@ -17586,7 +17586,11 @@ var deviceDiscoveryCapability = {
17586
17586
  };
17587
17587
  /**
17588
17588
  * `device-adoption` — generic discovery + adoption surface,
17589
- * system-scoped singleton. The de-HA-ified successor to `ha-discovery`:
17589
+ * system-scoped collection (one provider per integration addon), routed
17590
+ * by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
17591
+ * pin model as `connection-test`. The admin UI keeps using
17592
+ * `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
17593
+ * successor to `ha-discovery`:
17590
17594
  * keyed by `integrationId` (the addon resolves integrationId → broker
17591
17595
  * internally) rather than a connection-specific `brokerId`, and it
17592
17596
  * REUSES the shared `DiscoveredChildDevice` candidate type from
@@ -17751,7 +17755,7 @@ var ResyncResultSchema = object({
17751
17755
  var deviceAdoptionCapability = {
17752
17756
  name: "device-adoption",
17753
17757
  scope: "system",
17754
- mode: "singleton",
17758
+ mode: "collection",
17755
17759
  status: {
17756
17760
  schema: AdoptionStatusSchema,
17757
17761
  kind: "poll"
@@ -55308,6 +55312,14 @@ var DishwasherStatusSchema = object({
55308
55312
  rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
55309
55313
  halfLoad: boolean(),
55310
55314
  hygienePlus: boolean(),
55315
+ /** Extra dry option when the appliance exposes it. */
55316
+ extraDry: boolean(),
55317
+ /** Intensive zone (lower basket) when the appliance exposes it. */
55318
+ intensiveZone: boolean(),
55319
+ /** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
55320
+ varioSpeedPlus: boolean(),
55321
+ /** Child lock (controls disabled on the appliance). */
55322
+ childLock: boolean(),
55311
55323
  errorCode: number().nullable(),
55312
55324
  errorLabel: string().nullable(),
55313
55325
  lastFetchedAt: number()
@@ -55359,6 +55371,34 @@ var dishwasherCapability = {
55359
55371
  kind: "mutation",
55360
55372
  auth: "protected"
55361
55373
  }),
55374
+ setExtraDry: method(object({
55375
+ deviceId: number().int().nonnegative(),
55376
+ on: boolean()
55377
+ }), _void(), {
55378
+ kind: "mutation",
55379
+ auth: "protected"
55380
+ }),
55381
+ setIntensiveZone: method(object({
55382
+ deviceId: number().int().nonnegative(),
55383
+ on: boolean()
55384
+ }), _void(), {
55385
+ kind: "mutation",
55386
+ auth: "protected"
55387
+ }),
55388
+ setVarioSpeedPlus: method(object({
55389
+ deviceId: number().int().nonnegative(),
55390
+ on: boolean()
55391
+ }), _void(), {
55392
+ kind: "mutation",
55393
+ auth: "protected"
55394
+ }),
55395
+ setChildLock: method(object({
55396
+ deviceId: number().int().nonnegative(),
55397
+ on: boolean()
55398
+ }), _void(), {
55399
+ kind: "mutation",
55400
+ auth: "protected"
55401
+ }),
55362
55402
  setOption: method(object({
55363
55403
  deviceId: number().int().nonnegative(),
55364
55404
  key: string().min(1),
@@ -69331,6 +69371,18 @@ Object.freeze({
69331
69371
  addonId: null,
69332
69372
  access: "create"
69333
69373
  },
69374
+ "dishwasher.setChildLock": {
69375
+ capName: "dishwasher",
69376
+ capScope: "device",
69377
+ addonId: null,
69378
+ access: "create"
69379
+ },
69380
+ "dishwasher.setExtraDry": {
69381
+ capName: "dishwasher",
69382
+ capScope: "device",
69383
+ addonId: null,
69384
+ access: "create"
69385
+ },
69334
69386
  "dishwasher.setHalfLoad": {
69335
69387
  capName: "dishwasher",
69336
69388
  capScope: "device",
@@ -69343,6 +69395,12 @@ Object.freeze({
69343
69395
  addonId: null,
69344
69396
  access: "create"
69345
69397
  },
69398
+ "dishwasher.setIntensiveZone": {
69399
+ capName: "dishwasher",
69400
+ capScope: "device",
69401
+ addonId: null,
69402
+ access: "create"
69403
+ },
69346
69404
  "dishwasher.setOption": {
69347
69405
  capName: "dishwasher",
69348
69406
  capScope: "device",
@@ -69361,6 +69419,12 @@ Object.freeze({
69361
69419
  addonId: null,
69362
69420
  access: "create"
69363
69421
  },
69422
+ "dishwasher.setVarioSpeedPlus": {
69423
+ capName: "dishwasher",
69424
+ capScope: "device",
69425
+ addonId: null,
69426
+ access: "create"
69427
+ },
69364
69428
  "dishwasher.start": {
69365
69429
  capName: "dishwasher",
69366
69430
  capScope: "device",
@@ -76010,6 +76074,16 @@ Object.freeze({
76010
76074
  form: "single",
76011
76075
  optional: false
76012
76076
  }],
76077
+ "dishwasher.setChildLock": [{
76078
+ name: "deviceId",
76079
+ form: "single",
76080
+ optional: false
76081
+ }],
76082
+ "dishwasher.setExtraDry": [{
76083
+ name: "deviceId",
76084
+ form: "single",
76085
+ optional: false
76086
+ }],
76013
76087
  "dishwasher.setHalfLoad": [{
76014
76088
  name: "deviceId",
76015
76089
  form: "single",
@@ -76020,6 +76094,11 @@ Object.freeze({
76020
76094
  form: "single",
76021
76095
  optional: false
76022
76096
  }],
76097
+ "dishwasher.setIntensiveZone": [{
76098
+ name: "deviceId",
76099
+ form: "single",
76100
+ optional: false
76101
+ }],
76023
76102
  "dishwasher.setOption": [{
76024
76103
  name: "deviceId",
76025
76104
  form: "single",
@@ -76035,6 +76114,11 @@ Object.freeze({
76035
76114
  form: "single",
76036
76115
  optional: false
76037
76116
  }],
76117
+ "dishwasher.setVarioSpeedPlus": [{
76118
+ name: "deviceId",
76119
+ form: "single",
76120
+ optional: false
76121
+ }],
76038
76122
  "dishwasher.start": [{
76039
76123
  name: "deviceId",
76040
76124
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreo",
3
- "version": "0.2.127",
3
+ "version": "0.2.128",
4
4
  "description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
5
5
  "keywords": [
6
6
  "camstack",