@camstack/addon-provider-tuya 0.2.126 → 0.2.127

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
@@ -6225,7 +6225,7 @@ var ZodIssueCode = {
6225
6225
  var ZodFirstPartyTypeKind;
6226
6226
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
6227
6227
  //#endregion
6228
- //#region ../types/dist/sleep-BOjuyoPC.mjs
6228
+ //#region ../types/dist/sleep-BegKjwUu.mjs
6229
6229
  /**
6230
6230
  * The audio chunk plane's byte format, and the ONE expansion from a coded
6231
6231
  * window to float samples (D455).
@@ -18369,7 +18369,11 @@ var deviceDiscoveryCapability = {
18369
18369
  };
18370
18370
  /**
18371
18371
  * `device-adoption` — generic discovery + adoption surface,
18372
- * system-scoped singleton. The de-HA-ified successor to `ha-discovery`:
18372
+ * system-scoped collection (one provider per integration addon), routed
18373
+ * by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
18374
+ * pin model as `connection-test`. The admin UI keeps using
18375
+ * `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
18376
+ * successor to `ha-discovery`:
18373
18377
  * keyed by `integrationId` (the addon resolves integrationId → broker
18374
18378
  * internally) rather than a connection-specific `brokerId`, and it
18375
18379
  * REUSES the shared `DiscoveredChildDevice` candidate type from
@@ -18534,7 +18538,7 @@ var ResyncResultSchema = object({
18534
18538
  var deviceAdoptionCapability = {
18535
18539
  name: "device-adoption",
18536
18540
  scope: "system",
18537
- mode: "singleton",
18541
+ mode: "collection",
18538
18542
  status: {
18539
18543
  schema: AdoptionStatusSchema,
18540
18544
  kind: "poll"
@@ -56091,6 +56095,14 @@ var DishwasherStatusSchema = object({
56091
56095
  rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
56092
56096
  halfLoad: boolean(),
56093
56097
  hygienePlus: boolean(),
56098
+ /** Extra dry option when the appliance exposes it. */
56099
+ extraDry: boolean(),
56100
+ /** Intensive zone (lower basket) when the appliance exposes it. */
56101
+ intensiveZone: boolean(),
56102
+ /** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
56103
+ varioSpeedPlus: boolean(),
56104
+ /** Child lock (controls disabled on the appliance). */
56105
+ childLock: boolean(),
56094
56106
  errorCode: number().nullable(),
56095
56107
  errorLabel: string().nullable(),
56096
56108
  lastFetchedAt: number()
@@ -56142,6 +56154,34 @@ var dishwasherCapability = {
56142
56154
  kind: "mutation",
56143
56155
  auth: "protected"
56144
56156
  }),
56157
+ setExtraDry: method(object({
56158
+ deviceId: number().int().nonnegative(),
56159
+ on: boolean()
56160
+ }), _void(), {
56161
+ kind: "mutation",
56162
+ auth: "protected"
56163
+ }),
56164
+ setIntensiveZone: method(object({
56165
+ deviceId: number().int().nonnegative(),
56166
+ on: boolean()
56167
+ }), _void(), {
56168
+ kind: "mutation",
56169
+ auth: "protected"
56170
+ }),
56171
+ setVarioSpeedPlus: method(object({
56172
+ deviceId: number().int().nonnegative(),
56173
+ on: boolean()
56174
+ }), _void(), {
56175
+ kind: "mutation",
56176
+ auth: "protected"
56177
+ }),
56178
+ setChildLock: method(object({
56179
+ deviceId: number().int().nonnegative(),
56180
+ on: boolean()
56181
+ }), _void(), {
56182
+ kind: "mutation",
56183
+ auth: "protected"
56184
+ }),
56145
56185
  setOption: method(object({
56146
56186
  deviceId: number().int().nonnegative(),
56147
56187
  key: string().min(1),
@@ -70114,6 +70154,18 @@ Object.freeze({
70114
70154
  addonId: null,
70115
70155
  access: "create"
70116
70156
  },
70157
+ "dishwasher.setChildLock": {
70158
+ capName: "dishwasher",
70159
+ capScope: "device",
70160
+ addonId: null,
70161
+ access: "create"
70162
+ },
70163
+ "dishwasher.setExtraDry": {
70164
+ capName: "dishwasher",
70165
+ capScope: "device",
70166
+ addonId: null,
70167
+ access: "create"
70168
+ },
70117
70169
  "dishwasher.setHalfLoad": {
70118
70170
  capName: "dishwasher",
70119
70171
  capScope: "device",
@@ -70126,6 +70178,12 @@ Object.freeze({
70126
70178
  addonId: null,
70127
70179
  access: "create"
70128
70180
  },
70181
+ "dishwasher.setIntensiveZone": {
70182
+ capName: "dishwasher",
70183
+ capScope: "device",
70184
+ addonId: null,
70185
+ access: "create"
70186
+ },
70129
70187
  "dishwasher.setOption": {
70130
70188
  capName: "dishwasher",
70131
70189
  capScope: "device",
@@ -70144,6 +70202,12 @@ Object.freeze({
70144
70202
  addonId: null,
70145
70203
  access: "create"
70146
70204
  },
70205
+ "dishwasher.setVarioSpeedPlus": {
70206
+ capName: "dishwasher",
70207
+ capScope: "device",
70208
+ addonId: null,
70209
+ access: "create"
70210
+ },
70147
70211
  "dishwasher.start": {
70148
70212
  capName: "dishwasher",
70149
70213
  capScope: "device",
@@ -76793,6 +76857,16 @@ Object.freeze({
76793
76857
  form: "single",
76794
76858
  optional: false
76795
76859
  }],
76860
+ "dishwasher.setChildLock": [{
76861
+ name: "deviceId",
76862
+ form: "single",
76863
+ optional: false
76864
+ }],
76865
+ "dishwasher.setExtraDry": [{
76866
+ name: "deviceId",
76867
+ form: "single",
76868
+ optional: false
76869
+ }],
76796
76870
  "dishwasher.setHalfLoad": [{
76797
76871
  name: "deviceId",
76798
76872
  form: "single",
@@ -76803,6 +76877,11 @@ Object.freeze({
76803
76877
  form: "single",
76804
76878
  optional: false
76805
76879
  }],
76880
+ "dishwasher.setIntensiveZone": [{
76881
+ name: "deviceId",
76882
+ form: "single",
76883
+ optional: false
76884
+ }],
76806
76885
  "dishwasher.setOption": [{
76807
76886
  name: "deviceId",
76808
76887
  form: "single",
@@ -76818,6 +76897,11 @@ Object.freeze({
76818
76897
  form: "single",
76819
76898
  optional: false
76820
76899
  }],
76900
+ "dishwasher.setVarioSpeedPlus": [{
76901
+ name: "deviceId",
76902
+ form: "single",
76903
+ optional: false
76904
+ }],
76821
76905
  "dishwasher.start": [{
76822
76906
  name: "deviceId",
76823
76907
  form: "single",
package/dist/addon.mjs CHANGED
@@ -6224,7 +6224,7 @@ var ZodIssueCode = {
6224
6224
  var ZodFirstPartyTypeKind;
6225
6225
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
6226
6226
  //#endregion
6227
- //#region ../types/dist/sleep-BOjuyoPC.mjs
6227
+ //#region ../types/dist/sleep-BegKjwUu.mjs
6228
6228
  /**
6229
6229
  * The audio chunk plane's byte format, and the ONE expansion from a coded
6230
6230
  * window to float samples (D455).
@@ -18368,7 +18368,11 @@ var deviceDiscoveryCapability = {
18368
18368
  };
18369
18369
  /**
18370
18370
  * `device-adoption` — generic discovery + adoption surface,
18371
- * system-scoped singleton. The de-HA-ified successor to `ha-discovery`:
18371
+ * system-scoped collection (one provider per integration addon), routed
18372
+ * by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
18373
+ * pin model as `connection-test`. The admin UI keeps using
18374
+ * `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
18375
+ * successor to `ha-discovery`:
18372
18376
  * keyed by `integrationId` (the addon resolves integrationId → broker
18373
18377
  * internally) rather than a connection-specific `brokerId`, and it
18374
18378
  * REUSES the shared `DiscoveredChildDevice` candidate type from
@@ -18533,7 +18537,7 @@ var ResyncResultSchema = object({
18533
18537
  var deviceAdoptionCapability = {
18534
18538
  name: "device-adoption",
18535
18539
  scope: "system",
18536
- mode: "singleton",
18540
+ mode: "collection",
18537
18541
  status: {
18538
18542
  schema: AdoptionStatusSchema,
18539
18543
  kind: "poll"
@@ -56090,6 +56094,14 @@ var DishwasherStatusSchema = object({
56090
56094
  rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
56091
56095
  halfLoad: boolean(),
56092
56096
  hygienePlus: boolean(),
56097
+ /** Extra dry option when the appliance exposes it. */
56098
+ extraDry: boolean(),
56099
+ /** Intensive zone (lower basket) when the appliance exposes it. */
56100
+ intensiveZone: boolean(),
56101
+ /** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
56102
+ varioSpeedPlus: boolean(),
56103
+ /** Child lock (controls disabled on the appliance). */
56104
+ childLock: boolean(),
56093
56105
  errorCode: number().nullable(),
56094
56106
  errorLabel: string().nullable(),
56095
56107
  lastFetchedAt: number()
@@ -56141,6 +56153,34 @@ var dishwasherCapability = {
56141
56153
  kind: "mutation",
56142
56154
  auth: "protected"
56143
56155
  }),
56156
+ setExtraDry: method(object({
56157
+ deviceId: number().int().nonnegative(),
56158
+ on: boolean()
56159
+ }), _void(), {
56160
+ kind: "mutation",
56161
+ auth: "protected"
56162
+ }),
56163
+ setIntensiveZone: method(object({
56164
+ deviceId: number().int().nonnegative(),
56165
+ on: boolean()
56166
+ }), _void(), {
56167
+ kind: "mutation",
56168
+ auth: "protected"
56169
+ }),
56170
+ setVarioSpeedPlus: method(object({
56171
+ deviceId: number().int().nonnegative(),
56172
+ on: boolean()
56173
+ }), _void(), {
56174
+ kind: "mutation",
56175
+ auth: "protected"
56176
+ }),
56177
+ setChildLock: method(object({
56178
+ deviceId: number().int().nonnegative(),
56179
+ on: boolean()
56180
+ }), _void(), {
56181
+ kind: "mutation",
56182
+ auth: "protected"
56183
+ }),
56144
56184
  setOption: method(object({
56145
56185
  deviceId: number().int().nonnegative(),
56146
56186
  key: string().min(1),
@@ -70113,6 +70153,18 @@ Object.freeze({
70113
70153
  addonId: null,
70114
70154
  access: "create"
70115
70155
  },
70156
+ "dishwasher.setChildLock": {
70157
+ capName: "dishwasher",
70158
+ capScope: "device",
70159
+ addonId: null,
70160
+ access: "create"
70161
+ },
70162
+ "dishwasher.setExtraDry": {
70163
+ capName: "dishwasher",
70164
+ capScope: "device",
70165
+ addonId: null,
70166
+ access: "create"
70167
+ },
70116
70168
  "dishwasher.setHalfLoad": {
70117
70169
  capName: "dishwasher",
70118
70170
  capScope: "device",
@@ -70125,6 +70177,12 @@ Object.freeze({
70125
70177
  addonId: null,
70126
70178
  access: "create"
70127
70179
  },
70180
+ "dishwasher.setIntensiveZone": {
70181
+ capName: "dishwasher",
70182
+ capScope: "device",
70183
+ addonId: null,
70184
+ access: "create"
70185
+ },
70128
70186
  "dishwasher.setOption": {
70129
70187
  capName: "dishwasher",
70130
70188
  capScope: "device",
@@ -70143,6 +70201,12 @@ Object.freeze({
70143
70201
  addonId: null,
70144
70202
  access: "create"
70145
70203
  },
70204
+ "dishwasher.setVarioSpeedPlus": {
70205
+ capName: "dishwasher",
70206
+ capScope: "device",
70207
+ addonId: null,
70208
+ access: "create"
70209
+ },
70146
70210
  "dishwasher.start": {
70147
70211
  capName: "dishwasher",
70148
70212
  capScope: "device",
@@ -76792,6 +76856,16 @@ Object.freeze({
76792
76856
  form: "single",
76793
76857
  optional: false
76794
76858
  }],
76859
+ "dishwasher.setChildLock": [{
76860
+ name: "deviceId",
76861
+ form: "single",
76862
+ optional: false
76863
+ }],
76864
+ "dishwasher.setExtraDry": [{
76865
+ name: "deviceId",
76866
+ form: "single",
76867
+ optional: false
76868
+ }],
76795
76869
  "dishwasher.setHalfLoad": [{
76796
76870
  name: "deviceId",
76797
76871
  form: "single",
@@ -76802,6 +76876,11 @@ Object.freeze({
76802
76876
  form: "single",
76803
76877
  optional: false
76804
76878
  }],
76879
+ "dishwasher.setIntensiveZone": [{
76880
+ name: "deviceId",
76881
+ form: "single",
76882
+ optional: false
76883
+ }],
76805
76884
  "dishwasher.setOption": [{
76806
76885
  name: "deviceId",
76807
76886
  form: "single",
@@ -76817,6 +76896,11 @@ Object.freeze({
76817
76896
  form: "single",
76818
76897
  optional: false
76819
76898
  }],
76899
+ "dishwasher.setVarioSpeedPlus": [{
76900
+ name: "deviceId",
76901
+ form: "single",
76902
+ optional: false
76903
+ }],
76820
76904
  "dishwasher.start": [{
76821
76905
  name: "deviceId",
76822
76906
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-tuya",
3
- "version": "0.2.126",
3
+ "version": "0.2.127",
4
4
  "description": "Tuya / Smart Life device-provider addon for CamStack — account-onboarded (Tuya IoT cloud fetch of device localKeys) + LOCAL DP control via the @apocaliss92/nodetuya encrypted-LAN client, exposing switch / water-heater-family kettle entities",
5
5
  "keywords": [
6
6
  "camstack",