zigbee-herdsman-converters 23.20.1 → 23.21.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,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [23.21.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v23.20.1...v23.21.0) (2025-04-05)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** YY-LT500 ([#9117](https://github.com/Koenkk/zigbee-herdsman-converters/issues/9117)) ([c8e89a7](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c8e89a754a6ab23f4b7077a0b6e48402c7bc92b1))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Add battery voltage to pvvx/ZigbeeTLc devices ([#9120](https://github.com/Koenkk/zigbee-herdsman-converters/issues/9120)) ([c09f072](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c09f072f7037fce29c8184a3e38395118f12cf08))
14
+ * **detect:** Detect `_TZ3000_qaa59zqd` as Moes ZM-104B-M https://github.com/Koenkk/zigbee2mqtt.io/pull/3658 ([7a828de](https://github.com/Koenkk/zigbee-herdsman-converters/commit/7a828dea3d970dfd0d3f751fb4953130f722ff91))
15
+ * **detect:** Detect `_TZE284_eekpf0ft` as Tuya TR-M3Z https://github.com/Koenkk/zigbee2mqtt/discussions/26997 ([1b9d7fb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1b9d7fb99b4d5bedd607d7cbf8f9377fd1999048))
16
+ * **ignore:** naming style in easyiot converter ([#9118](https://github.com/Koenkk/zigbee-herdsman-converters/issues/9118)) ([a2c60c2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a2c60c2ecba11eab60a50240f0e07944de099790))
17
+ * Tuya ZY-M100-S_2: fix illuminance not updating https://github.com/Koenkk/zigbee2mqtt/issues/26993 ([1ba52d8](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1ba52d838290fbf6381900ac2f261c712bd790be))
18
+
3
19
  ## [23.20.1](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v23.20.0...v23.20.1) (2025-04-04)
4
20
 
5
21
 
@@ -108,7 +108,7 @@ const tzLocal = {
108
108
  }
109
109
  logger_1.logger.debug(`Sending IR code: ${value}`, NS);
110
110
  await entity.command("tunneling", "transferData", {
111
- tunnelID: 0x0000,
111
+ tunnelId: 0x0000,
112
112
  data: Buffer.from(value, "hex"),
113
113
  }, { disableDefaultResponse: true });
114
114
  logger_1.logger.debug("Sending IR command success.", NS);
@@ -129,7 +129,7 @@ const tzLocal = {
129
129
  const commandByte = Buffer.from([0x01, 0x01]);
130
130
  const protocolFrame = Buffer.concat([frameHeader, dataLengthBuffer, commandByte, gb2312Buffer]);
131
131
  await entity.command("tunneling", "transferData", {
132
- tunnelID: 0x0000,
132
+ tunnelId: 0x0000,
133
133
  data: protocolFrame,
134
134
  }, { disableDefaultResponse: true });
135
135
  logger_1.logger.debug("Sending IR command success.", NS);
@@ -148,7 +148,7 @@ const tzLocal = {
148
148
  const playId = Buffer.from([value & 0xff, (value >> 8) & 0xff]);
149
149
  const protocolFrame = Buffer.concat([frameCmd, dataLen, dataType, playId]);
150
150
  await entity.command("tunneling", "transferData", {
151
- tunnelID: 0x0001,
151
+ tunnelId: 0x0001,
152
152
  data: protocolFrame,
153
153
  }, { disableDefaultResponse: true });
154
154
  logger_1.logger.debug("Sending IR command success.", NS);
@@ -167,7 +167,7 @@ const tzLocal = {
167
167
  const volume = Buffer.from([value & 0xff]);
168
168
  const protocolFrame = Buffer.concat([frameCmd, dataLen, dataType, volume]);
169
169
  await entity.command("tunneling", "transferData", {
170
- tunnelID: 0x0001,
170
+ tunnelId: 0x0001,
171
171
  data: protocolFrame,
172
172
  }, { disableDefaultResponse: true });
173
173
  logger_1.logger.debug("Sending IR command success.", NS);
@@ -1 +1 @@
1
- {"version":3,"file":"tuya.d.ts","sourceRoot":"","sources":["../../src/devices/tuya.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAC,oBAAoB,EAA0E,MAAM,cAAc,CAAC;AAiwBhI,eAAO,MAAM,WAAW,EAAE,oBAAoB,EAi6e7C,CAAC"}
1
+ {"version":3,"file":"tuya.d.ts","sourceRoot":"","sources":["../../src/devices/tuya.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAC,oBAAoB,EAA0E,MAAM,cAAc,CAAC;AAiwBhI,eAAO,MAAM,WAAW,EAAE,oBAAoB,EAq7e7C,CAAC"}
@@ -4033,7 +4033,7 @@ exports.definitions = [
4033
4033
  description: "2 gang switch module",
4034
4034
  whiteLabel: [
4035
4035
  { vendor: "OXT", model: "SWTZ22" },
4036
- { vendor: "Moes", model: "ZM-104B-M" },
4036
+ tuya.whitelabel("Moes", "ZM-104B-M", "2 gang switch", ["_TZ3000_qaa59zqd"]),
4037
4037
  tuya.whitelabel("pcblab.io", "RR620ZB", "2 gang Zigbee switch module", ["_TZ3000_4xfqlgqo"]),
4038
4038
  tuya.whitelabel("Nous", "L13Z", "2 gang switch", ["_TZ3000_ruxexjfz", "_TZ3000_hojntt34"]),
4039
4039
  tuya.whitelabel("Tuya", "ZG-2002-RF", "Three mode Zigbee Switch", ["_TZ3000_lugaswf8"]),
@@ -4577,6 +4577,25 @@ exports.definitions = [
4577
4577
  tuya.whitelabel("Nova Digital", "CMR-1", "Roller Blind Motor", ["_TZE200_9vpe3fl1"]),
4578
4578
  ],
4579
4579
  },
4580
+ {
4581
+ fingerprint: tuya.fingerprint("TS0601", ["_TZE200_a8z0g46u", "_TZE204_a8z0g46u"]),
4582
+ model: "YY-LT500",
4583
+ vendor: "Tuya",
4584
+ description: "Window opener",
4585
+ options: [exposes.options.invert_cover()],
4586
+ fromZigbee: [tuya.fz.datapoints],
4587
+ toZigbee: [tuya.tz.datapoints],
4588
+ onEvent: tuya.onEventSetTime,
4589
+ configure: tuya.configureMagicPacket,
4590
+ exposes: [e.cover_position().setAccess("position", ea.STATE_SET)],
4591
+ meta: {
4592
+ tuyaDatapoints: [
4593
+ [2, "state", tuya.valueConverterBasic.lookup({ OPEN: tuya.enum(0), STOP: tuya.enum(1), CLOSE: tuya.enum(2) })],
4594
+ [7, "position", tuya.valueConverter.coverPosition],
4595
+ [8, "position", tuya.valueConverter.coverPosition],
4596
+ ],
4597
+ },
4598
+ },
4580
4599
  {
4581
4600
  fingerprint: tuya.fingerprint("TS0601", ["_TZE200_p2qzzazi"]),
4582
4601
  model: "TS0601_cover_9",
@@ -8989,6 +9008,7 @@ exports.definitions = [
8989
9008
  ],
8990
9009
  [9, "target_distance", tuya.valueConverter.divideBy100],
8991
9010
  [12, "illuminance", tuya.valueConverter.raw], // _TZE284_iadro9bf
9011
+ [104, "illuminance", tuya.valueConverter.raw],
8992
9012
  [2, "radar_sensitivity", tuya.valueConverter.raw],
8993
9013
  [4, "maximum_range", tuya.valueConverter.divideBy100],
8994
9014
  [3, "minimum_range", tuya.valueConverter.divideBy100],
@@ -16093,7 +16113,7 @@ exports.definitions = [
16093
16113
  },
16094
16114
  },
16095
16115
  {
16096
- fingerprint: tuya.fingerprint("TS0601", ["_TZE204_eekpf0ft"]),
16116
+ fingerprint: tuya.fingerprint("TS0601", ["_TZE204_eekpf0ft", "_TZE284_eekpf0ft"]),
16097
16117
  model: "TR-M3Z",
16098
16118
  vendor: "Tuya",
16099
16119
  description: "Thermostatic radiator valve actuator",