zigbee-herdsman-converters 15.76.0 → 15.77.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [15.77.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.76.0...v15.77.0) (2023-09-16)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** LLKZMK12LM [@kei81131](https://github.com/kei81131) https://github.com/Koenkk/zigbee2mqtt/issues/18856 ([071b52e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/071b52ec5b63523b0209ff3d9e20f2275d75ef30))
9
+ * **add:** TS0601_switch_12 @Franckybel https://github.com/Koenkk/zigbee2mqtt/issues/18371 ([4784bf1](https://github.com/Koenkk/zigbee-herdsman-converters/commit/4784bf1d86f8c33d17ccaf4fc6b6b5603f04d465))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **detect:** Detect `_TZE200_rks0sgb7` as TuYa PJ-1203A [@1vanj0](https://github.com/1vanj0) https://github.com/Koenkk/zigbee2mqtt/issues/18734 ([813f384](https://github.com/Koenkk/zigbee-herdsman-converters/commit/813f3848a2b7b69a4872899a74bb1780d2c393fd))
15
+
3
16
  ## [15.76.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.75.0...v15.76.0) (2023-09-14)
4
17
 
5
18
 
package/devices/tuya.js CHANGED
@@ -5381,7 +5381,7 @@ const definitions = [
5381
5381
  ],
5382
5382
  model: 'TS0601_switch_8',
5383
5383
  vendor: 'TuYa',
5384
- description: '8 Gang switch',
5384
+ description: 'ZYXH 8 gang switch',
5385
5385
  fromZigbee: [tuya.fz.datapoints],
5386
5386
  toZigbee: [tuya.tz.datapoints],
5387
5387
  configure: tuya.configureMagicPacket,
@@ -5411,9 +5411,36 @@ const definitions = [
5411
5411
  [0x66, 'state_l8', tuya.valueConverter.onOff],
5412
5412
  ],
5413
5413
  },
5414
- whiteLabel: [
5415
- tuya.whitelabel('ZYXH', 'TS0601_switch_8', '8 Gang switch', ['_TZE200_vmcgja59']),
5416
- ],
5414
+ },
5415
+ {
5416
+ fingerprint: tuya.fingerprint('TS0601', ['_TZE204_dqolcpcp']),
5417
+ model: 'TS0601_switch_12',
5418
+ vendor: 'TuYa',
5419
+ description: 'ZXYH 12 gang switch',
5420
+ fromZigbee: [tuya.fz.datapoints],
5421
+ toZigbee: [tuya.tz.datapoints],
5422
+ configure: tuya.configureMagicPacket,
5423
+ exposes: [...Array.from({ length: 12 }, (_, i) => tuya.exposes.switch().withEndpoint(`l${i + 1}`))],
5424
+ endpoint: (device) => {
5425
+ return { 'l1': 1, 'l2': 1, 'l3': 1, 'l4': 1, 'l5': 1, 'l6': 1, 'l7': 1, 'l8': 1, 'l9': 1, 'l10': 1, 'l11': 1, 'l12': 1 };
5426
+ },
5427
+ meta: {
5428
+ multiEndpoint: true,
5429
+ tuyaDatapoints: [
5430
+ [1, 'state_l1', tuya.valueConverter.onOff],
5431
+ [2, 'state_l2', tuya.valueConverter.onOff],
5432
+ [3, 'state_l3', tuya.valueConverter.onOff],
5433
+ [4, 'state_l4', tuya.valueConverter.onOff],
5434
+ [5, 'state_l5', tuya.valueConverter.onOff],
5435
+ [6, 'state_l6', tuya.valueConverter.onOff],
5436
+ [0x65, 'state_l7', tuya.valueConverter.onOff],
5437
+ [0x66, 'state_l8', tuya.valueConverter.onOff],
5438
+ [0x67, 'state_l9', tuya.valueConverter.onOff],
5439
+ [0x68, 'state_l10', tuya.valueConverter.onOff],
5440
+ [0x69, 'state_l11', tuya.valueConverter.onOff],
5441
+ [0x6A, 'state_l12', tuya.valueConverter.onOff],
5442
+ ],
5443
+ },
5417
5444
  },
5418
5445
  // TS011F
5419
5446
  {
@@ -6044,7 +6071,7 @@ const definitions = [
6044
6071
  },
6045
6072
  },
6046
6073
  {
6047
- fingerprint: tuya.fingerprint('TS0601', ['_TZE204_81yrt3lo']),
6074
+ fingerprint: tuya.fingerprint('TS0601', ['_TZE204_81yrt3lo', '_TZE200_rks0sgb7']),
6048
6075
  model: 'PJ-1203A',
6049
6076
  vendor: 'TuYa',
6050
6077
  description: 'Bidirectional energy meter with 80A current clamp',