zigbee-herdsman-converters 23.70.1 → 23.72.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":"AAaA,OAAO,KAAK,EAAC,oBAAoB,EAA4D,MAAM,cAAc,CAAC;AA+3BlH,eAAO,MAAM,WAAW,EAAE,oBAAoB,EAm+hB7C,CAAC"}
1
+ {"version":3,"file":"tuya.d.ts","sourceRoot":"","sources":["../../src/devices/tuya.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAC,oBAAoB,EAA4D,MAAM,cAAc,CAAC;AA+3BlH,eAAO,MAAM,WAAW,EAAE,oBAAoB,EAqgiB7C,CAAC"}
@@ -1201,6 +1201,7 @@ exports.definitions = [
1201
1201
  "_TZE284_yjjdcqsq",
1202
1202
  "_TZE284_hdyjyqjm",
1203
1203
  "_TZE284_d7lpruvi",
1204
+ "_TZE284_upagmta9",
1204
1205
  ]),
1205
1206
  model: "TS0601_temperature_humidity_sensor_2",
1206
1207
  vendor: "Tuya",
@@ -1226,7 +1227,7 @@ exports.definitions = [
1226
1227
  tuya.whitelabel("Tuya", "ZTH01", "Temperature and humidity sensor", ["_TZE200_yjjdcqsq", "_TZE204_yjjdcqsq", "_TZE284_yjjdcqsq"]),
1227
1228
  tuya.whitelabel("Tuya", "SZTH02", "Temperature and humidity sensor", ["_TZE200_utkemkbs", "_TZE204_utkemkbs", "_TZE284_utkemkbs"]),
1228
1229
  tuya.whitelabel("Tuya", "ZTH02", "Temperature and humidity sensor", ["_TZE200_9yapgbuv", "_TZE204_9yapgbuv"]),
1229
- tuya.whitelabel("Tuya", "ZTH05", "Temperature and humidity sensor", ["_TZE204_upagmta9", "_TZE200_upagmta9"]),
1230
+ tuya.whitelabel("Tuya", "ZTH05", "Temperature and humidity sensor", ["_TZE204_upagmta9", "_TZE200_upagmta9", "_TZE284_upagmta9"]),
1230
1231
  tuya.whitelabel("Tuya", "ZTH08-E", "Temperature and humidity sensor", ["_TZE200_cirvgep4", "_TZE204_cirvgep4"]),
1231
1232
  tuya.whitelabel("Tuya", "ZTH08", "Temperature and humidity sensor", ["_TZE204_d7lpruvi", "_TZE284_d7lpruvi", "_TZE284_hdyjyqjm"]),
1232
1233
  ],
@@ -2325,7 +2326,7 @@ exports.definitions = [
2325
2326
  },
2326
2327
  },
2327
2328
  {
2328
- fingerprint: tuya.fingerprint("TS0601", ["_TZE284_aao3yzhs", "_TZE284_nhgdf6qr", "_TZE284_ap9owrsa"]),
2329
+ fingerprint: tuya.fingerprint("TS0601", ["_TZE284_aao3yzhs", "_TZE284_nhgdf6qr", "_TZE284_ap9owrsa", "_TZE284_33bwcga2"]),
2329
2330
  model: "TS0601_soil_3",
2330
2331
  vendor: "Tuya",
2331
2332
  description: "Soil sensor",
@@ -10766,7 +10767,6 @@ exports.definitions = [
10766
10767
  e.battery(),
10767
10768
  ],
10768
10769
  meta: {
10769
- tuyaSendCommand: "sendData",
10770
10770
  tuyaDatapoints: [
10771
10771
  [1, "state_l1", tuya.valueConverter.onOff], // Valve 1 on/off
10772
10772
  [2, "state_l2", tuya.valueConverter.onOff], // Valve 2 on/off
@@ -17390,7 +17390,42 @@ exports.definitions = [
17390
17390
  },
17391
17391
  },
17392
17392
  {
17393
- fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_ezqbvrqz", "_TZ3002_ymv5vytn"]),
17393
+ fingerprint: tuya.fingerprint("TS0001", ["_TZ3000_qvmiyxuk"]),
17394
+ model: "TS0001_1_gang_switch",
17395
+ vendor: "Tuya",
17396
+ description: "1 gang switch with backlight",
17397
+ fromZigbee: [fz.ignore_basic_report],
17398
+ extend: [
17399
+ tuya.modernExtend.tuyaOnOff({
17400
+ powerOnBehavior2: true,
17401
+ backlightModeOffOn: true,
17402
+ onOffCountdown: true,
17403
+ }),
17404
+ ],
17405
+ configure: async (device, coordinatorEndpoint) => {
17406
+ await tuya.configureMagicPacket(device, coordinatorEndpoint);
17407
+ await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ["genOnOff"]);
17408
+ },
17409
+ },
17410
+ {
17411
+ fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_5kxl9esg"]),
17412
+ model: "TS0726_1_gang_scene_switch",
17413
+ vendor: "Tuya",
17414
+ description: "1 gang switch with scene and backlight",
17415
+ fromZigbee: [fz.ignore_basic_report, fzLocal.TS0726_action],
17416
+ exposes: [e.action(["scene_1"])],
17417
+ extend: [
17418
+ tuya.modernExtend.tuyaOnOff({
17419
+ switchMode: true,
17420
+ powerOnBehavior2: true,
17421
+ backlightModeOffOn: true,
17422
+ indicatorModeNoneRelayPos: true,
17423
+ onOffCountdown: true,
17424
+ }),
17425
+ ],
17426
+ },
17427
+ {
17428
+ fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_ezqbvrqz", "_TZ3002_ymv5vytn", "_TZ3002_6ahhkwyh"]),
17394
17429
  model: "TS0726_2_gang_scene_switch",
17395
17430
  vendor: "Tuya",
17396
17431
  description: "2 gang switch with scene and backlight",
@@ -17418,7 +17453,7 @@ exports.definitions = [
17418
17453
  },
17419
17454
  },
17420
17455
  {
17421
- fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_noru9tix", "_TZ3002_rbnycsav"]),
17456
+ fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_noru9tix", "_TZ3002_rbnycsav", "_TZ3002_kq3kqwjt"]),
17422
17457
  model: "TS0726_3_gang_scene_switch",
17423
17458
  vendor: "Tuya",
17424
17459
  description: "3 gang switch with scene and backlight",
@@ -17446,7 +17481,7 @@ exports.definitions = [
17446
17481
  },
17447
17482
  },
17448
17483
  {
17449
- fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_rsylfthg"]),
17484
+ fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_rsylfthg", "_TZ3002_umdkr64x"]),
17450
17485
  model: "TS0726_4_gang_scene_switch",
17451
17486
  vendor: "Tuya",
17452
17487
  description: "4 gang switch with scene and backlight",
@@ -18080,6 +18115,7 @@ exports.definitions = [
18080
18115
  e.enum("adjustment_mode", ea.STATE_SET, ["brightness", "color_temp"]).withDescription("Adjustment mode"),
18081
18116
  ],
18082
18117
  meta: {
18118
+ multiEndpoint: true,
18083
18119
  tuyaDatapoints: [
18084
18120
  [102, "state", tuya.valueConverter.onOff],
18085
18121
  [103, "brightness", tuya.valueConverterBasic.scale(0, 254, 0, 1000)],
@@ -18091,8 +18127,6 @@ exports.definitions = [
18091
18127
  },
18092
18128
  configure: tuya.configureMagicPacket,
18093
18129
  endpoint: (device) => ({
18094
- l1: 1,
18095
- l2: 1,
18096
18130
  default: 1,
18097
18131
  }),
18098
18132
  },