@camstack/addon-provider-tuya 0.2.85 → 0.2.86

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
@@ -16945,14 +16945,14 @@ var alarmPanelCapability = {
16945
16945
  code: string().min(1).optional()
16946
16946
  }), _void(), {
16947
16947
  kind: "mutation",
16948
- auth: "admin"
16948
+ auth: "protected"
16949
16949
  }),
16950
16950
  disarm: method(object({
16951
16951
  deviceId: number().int().nonnegative(),
16952
16952
  code: string().min(1).optional()
16953
16953
  }), _void(), {
16954
16954
  kind: "mutation",
16955
- auth: "admin"
16955
+ auth: "protected"
16956
16956
  }),
16957
16957
  /**
16958
16958
  * Force the panel into the `triggered` state — used by HA
@@ -16963,7 +16963,7 @@ var alarmPanelCapability = {
16963
16963
  */
16964
16964
  trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
16965
16965
  kind: "mutation",
16966
- auth: "admin"
16966
+ auth: "protected"
16967
16967
  })
16968
16968
  },
16969
16969
  status: {
@@ -24930,7 +24930,7 @@ var brightnessCapability = {
24930
24930
  percentage: number().min(0).max(100)
24931
24931
  }), _void(), {
24932
24932
  kind: "mutation",
24933
- auth: "admin"
24933
+ auth: "protected"
24934
24934
  }) },
24935
24935
  events: {
24936
24936
  /**
@@ -24963,7 +24963,7 @@ onBrightnessChanged: { data: object({
24963
24963
  };
24964
24964
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24965
24965
  kind: "mutation",
24966
- auth: "admin"
24966
+ auth: "protected"
24967
24967
  });
24968
24968
  /**
24969
24969
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -25155,28 +25155,28 @@ var climateControlCapability = {
25155
25155
  mode: HvacModeSchema
25156
25156
  }), _void(), {
25157
25157
  kind: "mutation",
25158
- auth: "admin"
25158
+ auth: "protected"
25159
25159
  }),
25160
25160
  setFanMode: method(object({
25161
25161
  deviceId: number().int().nonnegative(),
25162
25162
  fanMode: string().min(1)
25163
25163
  }), _void(), {
25164
25164
  kind: "mutation",
25165
- auth: "admin"
25165
+ auth: "protected"
25166
25166
  }),
25167
25167
  setPreset: method(object({
25168
25168
  deviceId: number().int().nonnegative(),
25169
25169
  preset: string().min(1)
25170
25170
  }), _void(), {
25171
25171
  kind: "mutation",
25172
- auth: "admin"
25172
+ auth: "protected"
25173
25173
  }),
25174
25174
  setTarget: method(object({
25175
25175
  deviceId: number().int().nonnegative(),
25176
25176
  target: number()
25177
25177
  }), _void(), {
25178
25178
  kind: "mutation",
25179
- auth: "admin"
25179
+ auth: "protected"
25180
25180
  }),
25181
25181
  setTargetRange: method(object({
25182
25182
  deviceId: number().int().nonnegative(),
@@ -25184,28 +25184,28 @@ var climateControlCapability = {
25184
25184
  targetHigh: number()
25185
25185
  }), _void(), {
25186
25186
  kind: "mutation",
25187
- auth: "admin"
25187
+ auth: "protected"
25188
25188
  }),
25189
25189
  setTargetHumidity: method(object({
25190
25190
  deviceId: number().int().nonnegative(),
25191
25191
  targetHumidity: number().min(0).max(100)
25192
25192
  }), _void(), {
25193
25193
  kind: "mutation",
25194
- auth: "admin"
25194
+ auth: "protected"
25195
25195
  }),
25196
25196
  setSwingVertical: method(object({
25197
25197
  deviceId: number().int().nonnegative(),
25198
25198
  on: boolean()
25199
25199
  }), _void(), {
25200
25200
  kind: "mutation",
25201
- auth: "admin"
25201
+ auth: "protected"
25202
25202
  }),
25203
25203
  setSwingHorizontal: method(object({
25204
25204
  deviceId: number().int().nonnegative(),
25205
25205
  on: boolean()
25206
25206
  }), _void(), {
25207
25207
  kind: "mutation",
25208
- auth: "admin"
25208
+ auth: "protected"
25209
25209
  })
25210
25210
  },
25211
25211
  status: {
@@ -25305,7 +25305,7 @@ var colorCapability = {
25305
25305
  color: ColorInputSchema
25306
25306
  }), _void(), {
25307
25307
  kind: "mutation",
25308
- auth: "admin"
25308
+ auth: "protected"
25309
25309
  }) },
25310
25310
  events: {
25311
25311
  /**
@@ -25642,7 +25642,7 @@ var controlCapability = {
25642
25642
  control: ControlSetValueInputSchema
25643
25643
  }), _void(), {
25644
25644
  kind: "mutation",
25645
- auth: "admin"
25645
+ auth: "protected"
25646
25646
  }) },
25647
25647
  status: {
25648
25648
  schema: ControlStatusSchema,
@@ -25688,29 +25688,29 @@ var coverCapability = {
25688
25688
  methods: {
25689
25689
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
25690
25690
  kind: "mutation",
25691
- auth: "admin"
25691
+ auth: "protected"
25692
25692
  }),
25693
25693
  close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
25694
25694
  kind: "mutation",
25695
- auth: "admin"
25695
+ auth: "protected"
25696
25696
  }),
25697
25697
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
25698
25698
  kind: "mutation",
25699
- auth: "admin"
25699
+ auth: "protected"
25700
25700
  }),
25701
25701
  setPosition: method(object({
25702
25702
  deviceId: number().int().nonnegative(),
25703
25703
  position: number().min(0).max(100)
25704
25704
  }), _void(), {
25705
25705
  kind: "mutation",
25706
- auth: "admin"
25706
+ auth: "protected"
25707
25707
  }),
25708
25708
  setTiltPosition: method(object({
25709
25709
  deviceId: number().int().nonnegative(),
25710
25710
  tiltPosition: number().min(0).max(100)
25711
25711
  }), _void(), {
25712
25712
  kind: "mutation",
25713
- auth: "admin"
25713
+ auth: "protected"
25714
25714
  })
25715
25715
  },
25716
25716
  status: {
@@ -26493,28 +26493,28 @@ var fanControlCapability = {
26493
26493
  percentage: number().min(0).max(100)
26494
26494
  }), _void(), {
26495
26495
  kind: "mutation",
26496
- auth: "admin"
26496
+ auth: "protected"
26497
26497
  }),
26498
26498
  setPreset: method(object({
26499
26499
  deviceId: number().int().nonnegative(),
26500
26500
  preset: string().min(1)
26501
26501
  }), _void(), {
26502
26502
  kind: "mutation",
26503
- auth: "admin"
26503
+ auth: "protected"
26504
26504
  }),
26505
26505
  setDirection: method(object({
26506
26506
  deviceId: number().int().nonnegative(),
26507
26507
  direction: FanDirectionSchema
26508
26508
  }), _void(), {
26509
26509
  kind: "mutation",
26510
- auth: "admin"
26510
+ auth: "protected"
26511
26511
  }),
26512
26512
  setOscillating: method(object({
26513
26513
  deviceId: number().int().nonnegative(),
26514
26514
  oscillating: boolean()
26515
26515
  }), _void(), {
26516
26516
  kind: "mutation",
26517
- auth: "admin"
26517
+ auth: "protected"
26518
26518
  })
26519
26519
  },
26520
26520
  status: {
@@ -26736,21 +26736,21 @@ var humidifierCapability = {
26736
26736
  on: boolean()
26737
26737
  }), _void(), {
26738
26738
  kind: "mutation",
26739
- auth: "admin"
26739
+ auth: "protected"
26740
26740
  }),
26741
26741
  setTargetHumidity: method(object({
26742
26742
  deviceId: number().int().nonnegative(),
26743
26743
  humidity: number().min(0).max(100)
26744
26744
  }), _void(), {
26745
26745
  kind: "mutation",
26746
- auth: "admin"
26746
+ auth: "protected"
26747
26747
  }),
26748
26748
  setMode: method(object({
26749
26749
  deviceId: number().int().nonnegative(),
26750
26750
  mode: string().min(1)
26751
26751
  }), _void(), {
26752
26752
  kind: "mutation",
26753
- auth: "admin"
26753
+ auth: "protected"
26754
26754
  })
26755
26755
  },
26756
26756
  status: {
@@ -27451,15 +27451,15 @@ var lawnMowerControlCapability = {
27451
27451
  methods: {
27452
27452
  startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27453
27453
  kind: "mutation",
27454
- auth: "admin"
27454
+ auth: "protected"
27455
27455
  }),
27456
27456
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27457
27457
  kind: "mutation",
27458
- auth: "admin"
27458
+ auth: "protected"
27459
27459
  }),
27460
27460
  dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27461
27461
  kind: "mutation",
27462
- auth: "admin"
27462
+ auth: "protected"
27463
27463
  })
27464
27464
  },
27465
27465
  status: {
@@ -27744,18 +27744,18 @@ var lockControlCapability = {
27744
27744
  code: string().min(1).optional()
27745
27745
  }), _void(), {
27746
27746
  kind: "mutation",
27747
- auth: "admin"
27747
+ auth: "protected"
27748
27748
  }),
27749
27749
  unlock: method(object({
27750
27750
  deviceId: number().int().nonnegative(),
27751
27751
  code: string().min(1).optional()
27752
27752
  }), _void(), {
27753
27753
  kind: "mutation",
27754
- auth: "admin"
27754
+ auth: "protected"
27755
27755
  }),
27756
27756
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27757
27757
  kind: "mutation",
27758
- auth: "admin"
27758
+ auth: "protected"
27759
27759
  })
27760
27760
  },
27761
27761
  status: {
@@ -27858,65 +27858,65 @@ var mediaPlayerCapability = {
27858
27858
  methods: {
27859
27859
  play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27860
27860
  kind: "mutation",
27861
- auth: "admin"
27861
+ auth: "protected"
27862
27862
  }),
27863
27863
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27864
27864
  kind: "mutation",
27865
- auth: "admin"
27865
+ auth: "protected"
27866
27866
  }),
27867
27867
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27868
27868
  kind: "mutation",
27869
- auth: "admin"
27869
+ auth: "protected"
27870
27870
  }),
27871
27871
  next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27872
27872
  kind: "mutation",
27873
- auth: "admin"
27873
+ auth: "protected"
27874
27874
  }),
27875
27875
  previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27876
27876
  kind: "mutation",
27877
- auth: "admin"
27877
+ auth: "protected"
27878
27878
  }),
27879
27879
  seek: method(object({
27880
27880
  deviceId: number().int().nonnegative(),
27881
27881
  positionMs: number().int().nonnegative()
27882
27882
  }), _void(), {
27883
27883
  kind: "mutation",
27884
- auth: "admin"
27884
+ auth: "protected"
27885
27885
  }),
27886
27886
  setVolume: method(object({
27887
27887
  deviceId: number().int().nonnegative(),
27888
27888
  volumeLevel: number().min(0).max(100)
27889
27889
  }), _void(), {
27890
27890
  kind: "mutation",
27891
- auth: "admin"
27891
+ auth: "protected"
27892
27892
  }),
27893
27893
  setMute: method(object({
27894
27894
  deviceId: number().int().nonnegative(),
27895
27895
  muted: boolean()
27896
27896
  }), _void(), {
27897
27897
  kind: "mutation",
27898
- auth: "admin"
27898
+ auth: "protected"
27899
27899
  }),
27900
27900
  setShuffle: method(object({
27901
27901
  deviceId: number().int().nonnegative(),
27902
27902
  shuffle: boolean()
27903
27903
  }), _void(), {
27904
27904
  kind: "mutation",
27905
- auth: "admin"
27905
+ auth: "protected"
27906
27906
  }),
27907
27907
  setRepeat: method(object({
27908
27908
  deviceId: number().int().nonnegative(),
27909
27909
  repeat: MediaPlayerRepeatSchema
27910
27910
  }), _void(), {
27911
27911
  kind: "mutation",
27912
- auth: "admin"
27912
+ auth: "protected"
27913
27913
  }),
27914
27914
  selectSource: method(object({
27915
27915
  deviceId: number().int().nonnegative(),
27916
27916
  source: string().min(1)
27917
27917
  }), _void(), {
27918
27918
  kind: "mutation",
27919
- auth: "admin"
27919
+ auth: "protected"
27920
27920
  }),
27921
27921
  playMedia: method(object({
27922
27922
  deviceId: number().int().nonnegative(),
@@ -27927,7 +27927,7 @@ var mediaPlayerCapability = {
27927
27927
  mediaType: string().min(1)
27928
27928
  }), _void(), {
27929
27929
  kind: "mutation",
27930
- auth: "admin"
27930
+ auth: "protected"
27931
27931
  })
27932
27932
  },
27933
27933
  status: {
@@ -29520,27 +29520,27 @@ var petFeederCapability = {
29520
29520
  hopper2: gramsPortion.optional()
29521
29521
  }), _void(), {
29522
29522
  kind: "mutation",
29523
- auth: "admin"
29523
+ auth: "protected"
29524
29524
  }),
29525
29525
  /** Cancel an in-progress manual feed. */
29526
29526
  cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
29527
29527
  kind: "mutation",
29528
- auth: "admin"
29528
+ auth: "protected"
29529
29529
  }),
29530
29530
  /** Reset the desiccant "days remaining" counter after replacing it. */
29531
29531
  resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
29532
29532
  kind: "mutation",
29533
- auth: "admin"
29533
+ auth: "protected"
29534
29534
  }),
29535
29535
  /** Mark a hopper as refilled (D4H/D4S/D4SH). */
29536
29536
  markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
29537
29537
  kind: "mutation",
29538
- auth: "admin"
29538
+ auth: "protected"
29539
29539
  }),
29540
29540
  /** Call the pet with the recorded prompt (D3). */
29541
29541
  callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
29542
29542
  kind: "mutation",
29543
- auth: "admin"
29543
+ auth: "protected"
29544
29544
  }),
29545
29545
  /** Play a stored sound by id (D3 / D4H / D4SH). */
29546
29546
  playSound: method(object({
@@ -29548,7 +29548,7 @@ var petFeederCapability = {
29548
29548
  soundId: number().int().nonnegative()
29549
29549
  }), _void(), {
29550
29550
  kind: "mutation",
29551
- auth: "admin"
29551
+ auth: "protected"
29552
29552
  }),
29553
29553
  /** Toggle the child-lock (manual-lock) setting. */
29554
29554
  setChildLock: method(object({
@@ -29556,7 +29556,7 @@ var petFeederCapability = {
29556
29556
  on: boolean()
29557
29557
  }), _void(), {
29558
29558
  kind: "mutation",
29559
- auth: "admin"
29559
+ auth: "protected"
29560
29560
  }),
29561
29561
  /** Toggle the front indicator light. */
29562
29562
  setIndicatorLight: method(object({
@@ -29564,7 +29564,7 @@ var petFeederCapability = {
29564
29564
  on: boolean()
29565
29565
  }), _void(), {
29566
29566
  kind: "mutation",
29567
- auth: "admin"
29567
+ auth: "protected"
29568
29568
  }),
29569
29569
  /** Toggle the dispense chime. */
29570
29570
  setFeedSound: method(object({
@@ -29572,7 +29572,7 @@ var petFeederCapability = {
29572
29572
  on: boolean()
29573
29573
  }), _void(), {
29574
29574
  kind: "mutation",
29575
- auth: "admin"
29575
+ auth: "protected"
29576
29576
  }),
29577
29577
  /** Set the speaker / prompt volume level. */
29578
29578
  setVolume: method(object({
@@ -29580,7 +29580,7 @@ var petFeederCapability = {
29580
29580
  level: number().int().nonnegative()
29581
29581
  }), _void(), {
29582
29582
  kind: "mutation",
29583
- auth: "admin"
29583
+ auth: "protected"
29584
29584
  })
29585
29585
  },
29586
29586
  status: {
@@ -31876,7 +31876,7 @@ var switchCapability = {
31876
31876
  on: boolean()
31877
31877
  }), _void(), {
31878
31878
  kind: "mutation",
31879
- auth: "admin"
31879
+ auth: "protected"
31880
31880
  }) },
31881
31881
  events: { onStateChanged: { data: object({
31882
31882
  deviceId: number(),
@@ -32864,30 +32864,30 @@ var vacuumControlCapability = {
32864
32864
  methods: {
32865
32865
  start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32866
32866
  kind: "mutation",
32867
- auth: "admin"
32867
+ auth: "protected"
32868
32868
  }),
32869
32869
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32870
32870
  kind: "mutation",
32871
- auth: "admin"
32871
+ auth: "protected"
32872
32872
  }),
32873
32873
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32874
32874
  kind: "mutation",
32875
- auth: "admin"
32875
+ auth: "protected"
32876
32876
  }),
32877
32877
  returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32878
32878
  kind: "mutation",
32879
- auth: "admin"
32879
+ auth: "protected"
32880
32880
  }),
32881
32881
  locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32882
32882
  kind: "mutation",
32883
- auth: "admin"
32883
+ auth: "protected"
32884
32884
  }),
32885
32885
  setFanSpeed: method(object({
32886
32886
  deviceId: number().int().nonnegative(),
32887
32887
  speed: string().min(1)
32888
32888
  }), _void(), {
32889
32889
  kind: "mutation",
32890
- auth: "admin"
32890
+ auth: "protected"
32891
32891
  })
32892
32892
  },
32893
32893
  status: {
@@ -32931,22 +32931,22 @@ var valveCapability = {
32931
32931
  methods: {
32932
32932
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32933
32933
  kind: "mutation",
32934
- auth: "admin"
32934
+ auth: "protected"
32935
32935
  }),
32936
32936
  close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32937
32937
  kind: "mutation",
32938
- auth: "admin"
32938
+ auth: "protected"
32939
32939
  }),
32940
32940
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32941
32941
  kind: "mutation",
32942
- auth: "admin"
32942
+ auth: "protected"
32943
32943
  }),
32944
32944
  setPosition: method(object({
32945
32945
  deviceId: number().int().nonnegative(),
32946
32946
  position: number().min(0).max(100)
32947
32947
  }), _void(), {
32948
32948
  kind: "mutation",
32949
- auth: "admin"
32949
+ auth: "protected"
32950
32950
  })
32951
32951
  },
32952
32952
  status: {
@@ -33045,21 +33045,21 @@ var waterHeaterCapability = {
33045
33045
  temp: number().finite()
33046
33046
  }), _void(), {
33047
33047
  kind: "mutation",
33048
- auth: "admin"
33048
+ auth: "protected"
33049
33049
  }),
33050
33050
  setOperationMode: method(object({
33051
33051
  deviceId: number().int().nonnegative(),
33052
33052
  mode: string().min(1)
33053
33053
  }), _void(), {
33054
33054
  kind: "mutation",
33055
- auth: "admin"
33055
+ auth: "protected"
33056
33056
  }),
33057
33057
  setAway: method(object({
33058
33058
  deviceId: number().int().nonnegative(),
33059
33059
  on: boolean()
33060
33060
  }), _void(), {
33061
33061
  kind: "mutation",
33062
- auth: "admin"
33062
+ auth: "protected"
33063
33063
  })
33064
33064
  },
33065
33065
  status: {
package/dist/addon.mjs CHANGED
@@ -16944,14 +16944,14 @@ var alarmPanelCapability = {
16944
16944
  code: string().min(1).optional()
16945
16945
  }), _void(), {
16946
16946
  kind: "mutation",
16947
- auth: "admin"
16947
+ auth: "protected"
16948
16948
  }),
16949
16949
  disarm: method(object({
16950
16950
  deviceId: number().int().nonnegative(),
16951
16951
  code: string().min(1).optional()
16952
16952
  }), _void(), {
16953
16953
  kind: "mutation",
16954
- auth: "admin"
16954
+ auth: "protected"
16955
16955
  }),
16956
16956
  /**
16957
16957
  * Force the panel into the `triggered` state — used by HA
@@ -16962,7 +16962,7 @@ var alarmPanelCapability = {
16962
16962
  */
16963
16963
  trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
16964
16964
  kind: "mutation",
16965
- auth: "admin"
16965
+ auth: "protected"
16966
16966
  })
16967
16967
  },
16968
16968
  status: {
@@ -24929,7 +24929,7 @@ var brightnessCapability = {
24929
24929
  percentage: number().min(0).max(100)
24930
24930
  }), _void(), {
24931
24931
  kind: "mutation",
24932
- auth: "admin"
24932
+ auth: "protected"
24933
24933
  }) },
24934
24934
  events: {
24935
24935
  /**
@@ -24962,7 +24962,7 @@ onBrightnessChanged: { data: object({
24962
24962
  };
24963
24963
  DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
24964
24964
  kind: "mutation",
24965
- auth: "admin"
24965
+ auth: "protected"
24966
24966
  });
24967
24967
  /**
24968
24968
  * camera-credentials — device-scoped cap exposing the camera's network
@@ -25154,28 +25154,28 @@ var climateControlCapability = {
25154
25154
  mode: HvacModeSchema
25155
25155
  }), _void(), {
25156
25156
  kind: "mutation",
25157
- auth: "admin"
25157
+ auth: "protected"
25158
25158
  }),
25159
25159
  setFanMode: method(object({
25160
25160
  deviceId: number().int().nonnegative(),
25161
25161
  fanMode: string().min(1)
25162
25162
  }), _void(), {
25163
25163
  kind: "mutation",
25164
- auth: "admin"
25164
+ auth: "protected"
25165
25165
  }),
25166
25166
  setPreset: method(object({
25167
25167
  deviceId: number().int().nonnegative(),
25168
25168
  preset: string().min(1)
25169
25169
  }), _void(), {
25170
25170
  kind: "mutation",
25171
- auth: "admin"
25171
+ auth: "protected"
25172
25172
  }),
25173
25173
  setTarget: method(object({
25174
25174
  deviceId: number().int().nonnegative(),
25175
25175
  target: number()
25176
25176
  }), _void(), {
25177
25177
  kind: "mutation",
25178
- auth: "admin"
25178
+ auth: "protected"
25179
25179
  }),
25180
25180
  setTargetRange: method(object({
25181
25181
  deviceId: number().int().nonnegative(),
@@ -25183,28 +25183,28 @@ var climateControlCapability = {
25183
25183
  targetHigh: number()
25184
25184
  }), _void(), {
25185
25185
  kind: "mutation",
25186
- auth: "admin"
25186
+ auth: "protected"
25187
25187
  }),
25188
25188
  setTargetHumidity: method(object({
25189
25189
  deviceId: number().int().nonnegative(),
25190
25190
  targetHumidity: number().min(0).max(100)
25191
25191
  }), _void(), {
25192
25192
  kind: "mutation",
25193
- auth: "admin"
25193
+ auth: "protected"
25194
25194
  }),
25195
25195
  setSwingVertical: method(object({
25196
25196
  deviceId: number().int().nonnegative(),
25197
25197
  on: boolean()
25198
25198
  }), _void(), {
25199
25199
  kind: "mutation",
25200
- auth: "admin"
25200
+ auth: "protected"
25201
25201
  }),
25202
25202
  setSwingHorizontal: method(object({
25203
25203
  deviceId: number().int().nonnegative(),
25204
25204
  on: boolean()
25205
25205
  }), _void(), {
25206
25206
  kind: "mutation",
25207
- auth: "admin"
25207
+ auth: "protected"
25208
25208
  })
25209
25209
  },
25210
25210
  status: {
@@ -25304,7 +25304,7 @@ var colorCapability = {
25304
25304
  color: ColorInputSchema
25305
25305
  }), _void(), {
25306
25306
  kind: "mutation",
25307
- auth: "admin"
25307
+ auth: "protected"
25308
25308
  }) },
25309
25309
  events: {
25310
25310
  /**
@@ -25641,7 +25641,7 @@ var controlCapability = {
25641
25641
  control: ControlSetValueInputSchema
25642
25642
  }), _void(), {
25643
25643
  kind: "mutation",
25644
- auth: "admin"
25644
+ auth: "protected"
25645
25645
  }) },
25646
25646
  status: {
25647
25647
  schema: ControlStatusSchema,
@@ -25687,29 +25687,29 @@ var coverCapability = {
25687
25687
  methods: {
25688
25688
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
25689
25689
  kind: "mutation",
25690
- auth: "admin"
25690
+ auth: "protected"
25691
25691
  }),
25692
25692
  close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
25693
25693
  kind: "mutation",
25694
- auth: "admin"
25694
+ auth: "protected"
25695
25695
  }),
25696
25696
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
25697
25697
  kind: "mutation",
25698
- auth: "admin"
25698
+ auth: "protected"
25699
25699
  }),
25700
25700
  setPosition: method(object({
25701
25701
  deviceId: number().int().nonnegative(),
25702
25702
  position: number().min(0).max(100)
25703
25703
  }), _void(), {
25704
25704
  kind: "mutation",
25705
- auth: "admin"
25705
+ auth: "protected"
25706
25706
  }),
25707
25707
  setTiltPosition: method(object({
25708
25708
  deviceId: number().int().nonnegative(),
25709
25709
  tiltPosition: number().min(0).max(100)
25710
25710
  }), _void(), {
25711
25711
  kind: "mutation",
25712
- auth: "admin"
25712
+ auth: "protected"
25713
25713
  })
25714
25714
  },
25715
25715
  status: {
@@ -26492,28 +26492,28 @@ var fanControlCapability = {
26492
26492
  percentage: number().min(0).max(100)
26493
26493
  }), _void(), {
26494
26494
  kind: "mutation",
26495
- auth: "admin"
26495
+ auth: "protected"
26496
26496
  }),
26497
26497
  setPreset: method(object({
26498
26498
  deviceId: number().int().nonnegative(),
26499
26499
  preset: string().min(1)
26500
26500
  }), _void(), {
26501
26501
  kind: "mutation",
26502
- auth: "admin"
26502
+ auth: "protected"
26503
26503
  }),
26504
26504
  setDirection: method(object({
26505
26505
  deviceId: number().int().nonnegative(),
26506
26506
  direction: FanDirectionSchema
26507
26507
  }), _void(), {
26508
26508
  kind: "mutation",
26509
- auth: "admin"
26509
+ auth: "protected"
26510
26510
  }),
26511
26511
  setOscillating: method(object({
26512
26512
  deviceId: number().int().nonnegative(),
26513
26513
  oscillating: boolean()
26514
26514
  }), _void(), {
26515
26515
  kind: "mutation",
26516
- auth: "admin"
26516
+ auth: "protected"
26517
26517
  })
26518
26518
  },
26519
26519
  status: {
@@ -26735,21 +26735,21 @@ var humidifierCapability = {
26735
26735
  on: boolean()
26736
26736
  }), _void(), {
26737
26737
  kind: "mutation",
26738
- auth: "admin"
26738
+ auth: "protected"
26739
26739
  }),
26740
26740
  setTargetHumidity: method(object({
26741
26741
  deviceId: number().int().nonnegative(),
26742
26742
  humidity: number().min(0).max(100)
26743
26743
  }), _void(), {
26744
26744
  kind: "mutation",
26745
- auth: "admin"
26745
+ auth: "protected"
26746
26746
  }),
26747
26747
  setMode: method(object({
26748
26748
  deviceId: number().int().nonnegative(),
26749
26749
  mode: string().min(1)
26750
26750
  }), _void(), {
26751
26751
  kind: "mutation",
26752
- auth: "admin"
26752
+ auth: "protected"
26753
26753
  })
26754
26754
  },
26755
26755
  status: {
@@ -27450,15 +27450,15 @@ var lawnMowerControlCapability = {
27450
27450
  methods: {
27451
27451
  startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27452
27452
  kind: "mutation",
27453
- auth: "admin"
27453
+ auth: "protected"
27454
27454
  }),
27455
27455
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27456
27456
  kind: "mutation",
27457
- auth: "admin"
27457
+ auth: "protected"
27458
27458
  }),
27459
27459
  dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27460
27460
  kind: "mutation",
27461
- auth: "admin"
27461
+ auth: "protected"
27462
27462
  })
27463
27463
  },
27464
27464
  status: {
@@ -27743,18 +27743,18 @@ var lockControlCapability = {
27743
27743
  code: string().min(1).optional()
27744
27744
  }), _void(), {
27745
27745
  kind: "mutation",
27746
- auth: "admin"
27746
+ auth: "protected"
27747
27747
  }),
27748
27748
  unlock: method(object({
27749
27749
  deviceId: number().int().nonnegative(),
27750
27750
  code: string().min(1).optional()
27751
27751
  }), _void(), {
27752
27752
  kind: "mutation",
27753
- auth: "admin"
27753
+ auth: "protected"
27754
27754
  }),
27755
27755
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27756
27756
  kind: "mutation",
27757
- auth: "admin"
27757
+ auth: "protected"
27758
27758
  })
27759
27759
  },
27760
27760
  status: {
@@ -27857,65 +27857,65 @@ var mediaPlayerCapability = {
27857
27857
  methods: {
27858
27858
  play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27859
27859
  kind: "mutation",
27860
- auth: "admin"
27860
+ auth: "protected"
27861
27861
  }),
27862
27862
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27863
27863
  kind: "mutation",
27864
- auth: "admin"
27864
+ auth: "protected"
27865
27865
  }),
27866
27866
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27867
27867
  kind: "mutation",
27868
- auth: "admin"
27868
+ auth: "protected"
27869
27869
  }),
27870
27870
  next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27871
27871
  kind: "mutation",
27872
- auth: "admin"
27872
+ auth: "protected"
27873
27873
  }),
27874
27874
  previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
27875
27875
  kind: "mutation",
27876
- auth: "admin"
27876
+ auth: "protected"
27877
27877
  }),
27878
27878
  seek: method(object({
27879
27879
  deviceId: number().int().nonnegative(),
27880
27880
  positionMs: number().int().nonnegative()
27881
27881
  }), _void(), {
27882
27882
  kind: "mutation",
27883
- auth: "admin"
27883
+ auth: "protected"
27884
27884
  }),
27885
27885
  setVolume: method(object({
27886
27886
  deviceId: number().int().nonnegative(),
27887
27887
  volumeLevel: number().min(0).max(100)
27888
27888
  }), _void(), {
27889
27889
  kind: "mutation",
27890
- auth: "admin"
27890
+ auth: "protected"
27891
27891
  }),
27892
27892
  setMute: method(object({
27893
27893
  deviceId: number().int().nonnegative(),
27894
27894
  muted: boolean()
27895
27895
  }), _void(), {
27896
27896
  kind: "mutation",
27897
- auth: "admin"
27897
+ auth: "protected"
27898
27898
  }),
27899
27899
  setShuffle: method(object({
27900
27900
  deviceId: number().int().nonnegative(),
27901
27901
  shuffle: boolean()
27902
27902
  }), _void(), {
27903
27903
  kind: "mutation",
27904
- auth: "admin"
27904
+ auth: "protected"
27905
27905
  }),
27906
27906
  setRepeat: method(object({
27907
27907
  deviceId: number().int().nonnegative(),
27908
27908
  repeat: MediaPlayerRepeatSchema
27909
27909
  }), _void(), {
27910
27910
  kind: "mutation",
27911
- auth: "admin"
27911
+ auth: "protected"
27912
27912
  }),
27913
27913
  selectSource: method(object({
27914
27914
  deviceId: number().int().nonnegative(),
27915
27915
  source: string().min(1)
27916
27916
  }), _void(), {
27917
27917
  kind: "mutation",
27918
- auth: "admin"
27918
+ auth: "protected"
27919
27919
  }),
27920
27920
  playMedia: method(object({
27921
27921
  deviceId: number().int().nonnegative(),
@@ -27926,7 +27926,7 @@ var mediaPlayerCapability = {
27926
27926
  mediaType: string().min(1)
27927
27927
  }), _void(), {
27928
27928
  kind: "mutation",
27929
- auth: "admin"
27929
+ auth: "protected"
27930
27930
  })
27931
27931
  },
27932
27932
  status: {
@@ -29519,27 +29519,27 @@ var petFeederCapability = {
29519
29519
  hopper2: gramsPortion.optional()
29520
29520
  }), _void(), {
29521
29521
  kind: "mutation",
29522
- auth: "admin"
29522
+ auth: "protected"
29523
29523
  }),
29524
29524
  /** Cancel an in-progress manual feed. */
29525
29525
  cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
29526
29526
  kind: "mutation",
29527
- auth: "admin"
29527
+ auth: "protected"
29528
29528
  }),
29529
29529
  /** Reset the desiccant "days remaining" counter after replacing it. */
29530
29530
  resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
29531
29531
  kind: "mutation",
29532
- auth: "admin"
29532
+ auth: "protected"
29533
29533
  }),
29534
29534
  /** Mark a hopper as refilled (D4H/D4S/D4SH). */
29535
29535
  markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
29536
29536
  kind: "mutation",
29537
- auth: "admin"
29537
+ auth: "protected"
29538
29538
  }),
29539
29539
  /** Call the pet with the recorded prompt (D3). */
29540
29540
  callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
29541
29541
  kind: "mutation",
29542
- auth: "admin"
29542
+ auth: "protected"
29543
29543
  }),
29544
29544
  /** Play a stored sound by id (D3 / D4H / D4SH). */
29545
29545
  playSound: method(object({
@@ -29547,7 +29547,7 @@ var petFeederCapability = {
29547
29547
  soundId: number().int().nonnegative()
29548
29548
  }), _void(), {
29549
29549
  kind: "mutation",
29550
- auth: "admin"
29550
+ auth: "protected"
29551
29551
  }),
29552
29552
  /** Toggle the child-lock (manual-lock) setting. */
29553
29553
  setChildLock: method(object({
@@ -29555,7 +29555,7 @@ var petFeederCapability = {
29555
29555
  on: boolean()
29556
29556
  }), _void(), {
29557
29557
  kind: "mutation",
29558
- auth: "admin"
29558
+ auth: "protected"
29559
29559
  }),
29560
29560
  /** Toggle the front indicator light. */
29561
29561
  setIndicatorLight: method(object({
@@ -29563,7 +29563,7 @@ var petFeederCapability = {
29563
29563
  on: boolean()
29564
29564
  }), _void(), {
29565
29565
  kind: "mutation",
29566
- auth: "admin"
29566
+ auth: "protected"
29567
29567
  }),
29568
29568
  /** Toggle the dispense chime. */
29569
29569
  setFeedSound: method(object({
@@ -29571,7 +29571,7 @@ var petFeederCapability = {
29571
29571
  on: boolean()
29572
29572
  }), _void(), {
29573
29573
  kind: "mutation",
29574
- auth: "admin"
29574
+ auth: "protected"
29575
29575
  }),
29576
29576
  /** Set the speaker / prompt volume level. */
29577
29577
  setVolume: method(object({
@@ -29579,7 +29579,7 @@ var petFeederCapability = {
29579
29579
  level: number().int().nonnegative()
29580
29580
  }), _void(), {
29581
29581
  kind: "mutation",
29582
- auth: "admin"
29582
+ auth: "protected"
29583
29583
  })
29584
29584
  },
29585
29585
  status: {
@@ -31875,7 +31875,7 @@ var switchCapability = {
31875
31875
  on: boolean()
31876
31876
  }), _void(), {
31877
31877
  kind: "mutation",
31878
- auth: "admin"
31878
+ auth: "protected"
31879
31879
  }) },
31880
31880
  events: { onStateChanged: { data: object({
31881
31881
  deviceId: number(),
@@ -32863,30 +32863,30 @@ var vacuumControlCapability = {
32863
32863
  methods: {
32864
32864
  start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32865
32865
  kind: "mutation",
32866
- auth: "admin"
32866
+ auth: "protected"
32867
32867
  }),
32868
32868
  pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32869
32869
  kind: "mutation",
32870
- auth: "admin"
32870
+ auth: "protected"
32871
32871
  }),
32872
32872
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32873
32873
  kind: "mutation",
32874
- auth: "admin"
32874
+ auth: "protected"
32875
32875
  }),
32876
32876
  returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32877
32877
  kind: "mutation",
32878
- auth: "admin"
32878
+ auth: "protected"
32879
32879
  }),
32880
32880
  locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32881
32881
  kind: "mutation",
32882
- auth: "admin"
32882
+ auth: "protected"
32883
32883
  }),
32884
32884
  setFanSpeed: method(object({
32885
32885
  deviceId: number().int().nonnegative(),
32886
32886
  speed: string().min(1)
32887
32887
  }), _void(), {
32888
32888
  kind: "mutation",
32889
- auth: "admin"
32889
+ auth: "protected"
32890
32890
  })
32891
32891
  },
32892
32892
  status: {
@@ -32930,22 +32930,22 @@ var valveCapability = {
32930
32930
  methods: {
32931
32931
  open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32932
32932
  kind: "mutation",
32933
- auth: "admin"
32933
+ auth: "protected"
32934
32934
  }),
32935
32935
  close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32936
32936
  kind: "mutation",
32937
- auth: "admin"
32937
+ auth: "protected"
32938
32938
  }),
32939
32939
  stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
32940
32940
  kind: "mutation",
32941
- auth: "admin"
32941
+ auth: "protected"
32942
32942
  }),
32943
32943
  setPosition: method(object({
32944
32944
  deviceId: number().int().nonnegative(),
32945
32945
  position: number().min(0).max(100)
32946
32946
  }), _void(), {
32947
32947
  kind: "mutation",
32948
- auth: "admin"
32948
+ auth: "protected"
32949
32949
  })
32950
32950
  },
32951
32951
  status: {
@@ -33044,21 +33044,21 @@ var waterHeaterCapability = {
33044
33044
  temp: number().finite()
33045
33045
  }), _void(), {
33046
33046
  kind: "mutation",
33047
- auth: "admin"
33047
+ auth: "protected"
33048
33048
  }),
33049
33049
  setOperationMode: method(object({
33050
33050
  deviceId: number().int().nonnegative(),
33051
33051
  mode: string().min(1)
33052
33052
  }), _void(), {
33053
33053
  kind: "mutation",
33054
- auth: "admin"
33054
+ auth: "protected"
33055
33055
  }),
33056
33056
  setAway: method(object({
33057
33057
  deviceId: number().int().nonnegative(),
33058
33058
  on: boolean()
33059
33059
  }), _void(), {
33060
33060
  kind: "mutation",
33061
- auth: "admin"
33061
+ auth: "protected"
33062
33062
  })
33063
33063
  },
33064
33064
  status: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-tuya",
3
- "version": "0.2.85",
3
+ "version": "0.2.86",
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",