zigbee-herdsman-converters 15.89.0 → 15.89.1

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,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [15.89.1](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.89.0...v15.89.1) (2023-10-07)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Fix some OTA updates not working due to incorrect transaction sequence number. https://github.com/Koenkk/zigbee2mqtt/issues/19129 ([f615b7e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f615b7ea1e6de6bacada1ab68855cb7053159f1a))
9
+ * **ignore:** update dependencies ([#6246](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6246)) ([3de0e50](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3de0e50f743fbcd2703da7f3e75b2d22631b10f8))
10
+ * Remove unsupported tamper from `_TZ3000_n2egfsli` and `_TZ3000_2mbfxlzr` ([#6244](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6244)) ([f99a503](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f99a50342d51b5589ffa2a43c8e7635b60c0fc21))
11
+ * Rename SPM01 to Yagusmart SPM01-D2TZ ([#6228](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6228)) ([9316178](https://github.com/Koenkk/zigbee-herdsman-converters/commit/9316178f59c8f1c67e12a0240ffcdca1aad32b51))
12
+
3
13
  ## [15.89.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.88.0...v15.89.0) (2023-10-06)
4
14
 
5
15
 
package/devices/tuya.js CHANGED
@@ -572,7 +572,6 @@ const definitions = [
572
572
  description: 'Door sensor',
573
573
  fromZigbee: [fromZigbee_1.default.ias_contact_alarm_1, fromZigbee_1.default.battery, fromZigbee_1.default.ignore_basic_report, fromZigbee_1.default.ias_contact_alarm_1_report],
574
574
  toZigbee: [],
575
- exposes: [e.contact(), e.battery_low(), e.tamper(), e.battery(), e.battery_voltage()],
576
575
  whiteLabel: [
577
576
  { vendor: 'CR Smart Home', model: 'TS0203' },
578
577
  { vendor: 'TuYa', model: 'iH-F001' },
@@ -582,7 +581,16 @@ const definitions = [
582
581
  tuya.whitelabel('Sber', 'SBDV-00030', 'Door sensor', ['_TYZB01_epni2jgy']),
583
582
  tuya.whitelabel('TuYa', 'ZD08', 'Door sensor', ['_TZ3000_7d8yme6f']),
584
583
  tuya.whitelabel('TuYa', 'MC500A', 'Door sensor', ['_TZ3000_2mbfxlzr']),
584
+ tuya.whitelabel('TuYa', '19DZT', 'Door sensor', ['_TZ3000_n2egfsli']),
585
585
  ],
586
+ exposes: (device, options) => {
587
+ const exps = [e.contact(), e.battery_low(), e.battery(), e.battery_voltage()];
588
+ if (!device || !['_TZ3000_2mbfxlzr', '_TZ3000_n2egfsli'].includes(device.manufacturerName)) {
589
+ exps.push(e.tamper());
590
+ }
591
+ exps.push(e.linkquality());
592
+ return exps;
593
+ },
586
594
  configure: async (device, coordinatorEndpoint, logger) => {
587
595
  try {
588
596
  const endpoint = device.getEndpoint(1);
@@ -5385,8 +5393,8 @@ const definitions = [
5385
5393
  },
5386
5394
  {
5387
5395
  fingerprint: [{ modelID: 'TS0601', manufacturerName: '_TZE200_bcusnqt8' }],
5388
- model: 'SPM01',
5389
- vendor: 'TuYa',
5396
+ model: 'SPM01-D2TZ',
5397
+ vendor: 'Yagusmart',
5390
5398
  description: 'Smart energy monitor for 1P+N system',
5391
5399
  fromZigbee: [tuya.fz.datapoints],
5392
5400
  toZigbee: [tuya.tz.datapoints],