zigbee-herdsman-converters 20.30.0 → 20.31.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"tuya.d.ts","sourceRoot":"","sources":["../src/devices/tuya.ts"],"names":[],"mappings":"AA2BA,OAAO,EAAC,oBAAoB,EAA0E,MAAM,cAAc,CAAC;AAuwB3H,QAAA,MAAM,WAAW,EAAE,oBAAoB,EAwqWtC,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"tuya.d.ts","sourceRoot":"","sources":["../src/devices/tuya.ts"],"names":[],"mappings":"AA2BA,OAAO,EAAC,oBAAoB,EAA0E,MAAM,cAAc,CAAC;AAuwB3H,QAAA,MAAM,WAAW,EAAE,oBAAoB,EAorWtC,CAAC;AAEF,eAAe,WAAW,CAAC"}
package/devices/tuya.js CHANGED
@@ -3429,7 +3429,17 @@ const definitions = [
3429
3429
  },
3430
3430
  ],
3431
3431
  [4, 'preset', tuya.valueConverterBasic.lookup({ manual: true, auto: false })],
3432
+ [16, 'current_cooling_setpoint', tuya.valueConverter.raw],
3432
3433
  [16, 'current_heating_setpoint', tuya.valueConverter.raw],
3434
+ [
3435
+ 16,
3436
+ null,
3437
+ {
3438
+ from: (v, meta) => {
3439
+ return { current_cooling_setpoint: v, current_heating_setpoint: v };
3440
+ },
3441
+ },
3442
+ ],
3433
3443
  [24, 'local_temperature', tuya.valueConverter.divideBy10],
3434
3444
  [26, 'deadzone_temperature', tuya.valueConverter.raw],
3435
3445
  [27, 'local_temperature_calibration', tuya.valueConverter.localTemperatureCalibration],
@@ -4582,6 +4592,7 @@ const definitions = [
4582
4592
  '_TZE200_rxntag7i' /* model: 'ME168', vendor: 'AVATTO' */,
4583
4593
  '_TZE200_yqgbrdyo',
4584
4594
  '_TZE200_rxq4iti9',
4595
+ '_TZE200_hvaxb2tc' /* model: 'TRV06', vendor: 'AVATTO' */,
4585
4596
  ]),
4586
4597
  model: 'TS0601_thermostat_3',
4587
4598
  vendor: 'Tuya',
@@ -4591,6 +4602,7 @@ const definitions = [
4591
4602
  whiteLabel: [
4592
4603
  tuya.whitelabel('AVATTO', 'ME167', 'Thermostatic radiator valve', ['_TZE200_bvu2wnxz', '_TZE200_6rdj8dzm']),
4593
4604
  tuya.whitelabel('AVATTO', 'ME168', 'Thermostatic radiator valve', ['_TZE200_p3dbf6qs', '_TZE200_rxntag7i']),
4605
+ tuya.whitelabel('AVATTO', 'TRV06_1', 'Thermostatic radiator valve', ['_TZE200_hvaxb2tc']),
4594
4606
  tuya.whitelabel('EARU', 'TRV06', 'Smart thermostat module', ['_TZE200_yqgbrdyo', '_TZE200_rxq4iti9']),
4595
4607
  ],
4596
4608
  onEvent: tuya.onEventSetTime,