zigbee-herdsman-converters 23.5.0 → 23.7.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.
Files changed (54) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/converters/fromZigbee.d.ts.map +1 -1
  3. package/dist/converters/fromZigbee.js +3 -0
  4. package/dist/converters/fromZigbee.js.map +1 -1
  5. package/dist/devices/cwd.d.ts +3 -0
  6. package/dist/devices/cwd.d.ts.map +1 -0
  7. package/dist/devices/cwd.js +14 -0
  8. package/dist/devices/cwd.js.map +1 -0
  9. package/dist/devices/dqsmart.js +34 -1
  10. package/dist/devices/dqsmart.js.map +1 -1
  11. package/dist/devices/efekta.d.ts.map +1 -1
  12. package/dist/devices/efekta.js +1169 -0
  13. package/dist/devices/efekta.js.map +1 -1
  14. package/dist/devices/index.d.ts +3 -12
  15. package/dist/devices/index.d.ts.map +1 -1
  16. package/dist/devices/index.js +6 -1
  17. package/dist/devices/index.js.map +1 -1
  18. package/dist/devices/niko.d.ts.map +1 -1
  19. package/dist/devices/niko.js +9 -3
  20. package/dist/devices/niko.js.map +1 -1
  21. package/dist/devices/nodon.d.ts.map +1 -1
  22. package/dist/devices/nodon.js +75 -76
  23. package/dist/devices/nodon.js.map +1 -1
  24. package/dist/devices/nordtronic.d.ts.map +1 -1
  25. package/dist/devices/nordtronic.js +7 -0
  26. package/dist/devices/nordtronic.js.map +1 -1
  27. package/dist/devices/orvibo.d.ts.map +1 -1
  28. package/dist/devices/orvibo.js +164 -51
  29. package/dist/devices/orvibo.js.map +1 -1
  30. package/dist/devices/owon.d.ts.map +1 -1
  31. package/dist/devices/owon.js +36 -0
  32. package/dist/devices/owon.js.map +1 -1
  33. package/dist/devices/samotech.js +2 -2
  34. package/dist/devices/samotech.js.map +1 -1
  35. package/dist/devices/shinasystem.d.ts.map +1 -1
  36. package/dist/devices/shinasystem.js +34 -0
  37. package/dist/devices/shinasystem.js.map +1 -1
  38. package/dist/devices/sonoff.d.ts.map +1 -1
  39. package/dist/devices/sonoff.js +17 -6
  40. package/dist/devices/sonoff.js.map +1 -1
  41. package/dist/devices/tuya.d.ts.map +1 -1
  42. package/dist/devices/tuya.js +32 -3
  43. package/dist/devices/tuya.js.map +1 -1
  44. package/dist/lib/constants.d.ts.map +1 -1
  45. package/dist/lib/constants.js +2 -0
  46. package/dist/lib/constants.js.map +1 -1
  47. package/dist/lib/modernExtend.d.ts +1 -0
  48. package/dist/lib/modernExtend.d.ts.map +1 -1
  49. package/dist/lib/modernExtend.js +8 -6
  50. package/dist/lib/modernExtend.js.map +1 -1
  51. package/dist/lib/types.d.ts +1 -1
  52. package/dist/lib/types.d.ts.map +1 -1
  53. package/dist/models-index.json +1 -1
  54. package/package.json +1 -1
@@ -3018,7 +3018,14 @@ exports.definitions = [
3018
3018
  },
3019
3019
  },
3020
3020
  {
3021
- fingerprint: tuya.fingerprint("TS0601", ["_TZE200_nkjintbl", "_TZE200_ji1gn7rw", "_TZE200_3t91nb6k", "_TZE204_wvovwe9h", "_TZE204_3t91nb6k"]),
3021
+ fingerprint: tuya.fingerprint("TS0601", [
3022
+ "_TZE200_nkjintbl",
3023
+ "_TZE200_ji1gn7rw",
3024
+ "_TZE200_3t91nb6k",
3025
+ "_TZE204_wvovwe9h",
3026
+ "_TZE200_wvovwe9h",
3027
+ "_TZE204_3t91nb6k",
3028
+ ]),
3022
3029
  model: "TS0601_switch_2_gang",
3023
3030
  vendor: "Tuya",
3024
3031
  description: "2 gang switch",
@@ -4256,6 +4263,16 @@ exports.definitions = [
4256
4263
  vendor: "Tuya",
4257
4264
  description: "3-Gang switch",
4258
4265
  extend: [tuya.modernExtend.tuyaOnOff({ powerOnBehavior2: true, endpoints: ["l1", "l2", "l3"] })],
4266
+ endpoint: (device) => {
4267
+ return { l1: 1, l2: 2, l3: 3 };
4268
+ },
4269
+ meta: { multiEndpoint: true },
4270
+ configure: async (device, coordinatorEndpoint) => {
4271
+ await tuya.configureMagicPacket(device, coordinatorEndpoint);
4272
+ await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ["genOnOff"]);
4273
+ await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ["genOnOff"]);
4274
+ await reporting.bind(device.getEndpoint(3), coordinatorEndpoint, ["genOnOff"]);
4275
+ },
4259
4276
  },
4260
4277
  {
4261
4278
  fingerprint: tuya.fingerprint("TS0003", ["_TZ3000_vsasbzkf", "_TZ3000_nnwehhst"]),
@@ -4281,6 +4298,17 @@ exports.definitions = [
4281
4298
  await reporting.bind(device.getEndpoint(3), coordinatorEndpoint, ["genOnOff"]);
4282
4299
  },
4283
4300
  },
4301
+ {
4302
+ fingerprint: [{ modelID: "TS0003", manufacturerName: "_TZ3000_mw1pqqqt" }],
4303
+ model: "_TZ3000_mw1pqqqt",
4304
+ description: "3 channel USB switch",
4305
+ vendor: "Tuya",
4306
+ extend: [tuya.modernExtend.tuyaOnOff({ switchType: false, indicatorMode: false, onOffCountdown: true, endpoints: ["l1", "l2", "l3"] })],
4307
+ endpoint: (device) => {
4308
+ return { l1: 1, l2: 2, l3: 3 };
4309
+ },
4310
+ meta: { multiEndpoint: true },
4311
+ },
4284
4312
  {
4285
4313
  fingerprint: tuya.fingerprint("TS0001", [
4286
4314
  "_TZ3000_tqlv4ug4",
@@ -4365,6 +4393,7 @@ exports.definitions = [
4365
4393
  "_TZE200_1fuxihti",
4366
4394
  "_TZE204_1fuxihti",
4367
4395
  "_TZE204_57hjqelq",
4396
+ "_TZE200_hojryzzd",
4368
4397
  "_TZE204_m1wl5fvq",
4369
4398
  "_TZE200_en3wvcbx",
4370
4399
  "_TZE200_fctwhugx",
@@ -7385,7 +7414,7 @@ exports.definitions = [
7385
7414
  },
7386
7415
  },
7387
7416
  {
7388
- zigbeeModel: ["TS0726"],
7417
+ fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_wsspgtcd"]),
7389
7418
  model: "TS0726_4_gang",
7390
7419
  vendor: "Tuya",
7391
7420
  description: "4 gang switch with neutral wire",
@@ -7409,7 +7438,7 @@ exports.definitions = [
7409
7438
  },
7410
7439
  },
7411
7440
  {
7412
- fingerprint: tuya.fingerprint("TS0726", ["_TZ3002_sal078g8"]),
7441
+ fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_qhyadm57", "_TZ3002_sal078g8"]),
7413
7442
  model: "TS0726_switch_4g_2s",
7414
7443
  vendor: "Tuya",
7415
7444
  description: "COSWALL smart switch (4 gang + 2 scene)",