zigbee-herdsman-converters 20.9.0 → 20.10.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 +16 -0
- package/converters/toZigbee.d.ts +24 -0
- package/converters/toZigbee.d.ts.map +1 -1
- package/converters/toZigbee.js +36 -0
- package/converters/toZigbee.js.map +1 -1
- package/devices/giex.js +1 -1
- package/devices/giex.js.map +1 -1
- package/devices/neo.js +1 -1
- package/devices/neo.js.map +1 -1
- package/devices/shenzhen_homa.js +2 -2
- package/devices/shenzhen_homa.js.map +1 -1
- package/devices/tuya.d.ts.map +1 -1
- package/devices/tuya.js +156 -1
- package/devices/tuya.js.map +1 -1
- package/lib/modernExtend.d.ts +1 -0
- package/lib/modernExtend.d.ts.map +1 -1
- package/lib/modernExtend.js +43 -1
- package/lib/modernExtend.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [20.10.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.9.0...v20.10.0) (2024-09-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **add:** TS0601_din_4 ([#7932](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7932)) ([86b661b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/86b661b4e3968954a05b883944a98cb5f93641b6))
|
|
9
|
+
* **add:** ZA03 ([#7936](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7936)) ([2a69053](https://github.com/Koenkk/zigbee-herdsman-converters/commit/2a690532b9851d45bdf90e4937c8ea7e14f9ca36))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* Add `rain_intensity` unit to Tuya RB-SRAIN01 https://github.com/Koenkk/zigbee2mqtt/issues/23815 ([b3ee487](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b3ee4876d1bce6fa628f4d21090ea872324b2cdd))
|
|
15
|
+
* Add three phase support for modernExted electricityMeter. ([#7930](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7930)) ([f6b8786](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f6b8786915ef144e9efe9b3b4fbad108ddb97b0e))
|
|
16
|
+
* **detect:** Detect `_TZE200_7ytb3h8u` as GiEX GX02 ([#7935](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7935)) ([b1a0f65](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b1a0f6500cc8d3213bfef22f0a32488219fe626f))
|
|
17
|
+
* **detect:** Detect `HOMA1022` as HLD503-Z-CT [@mullahomes2012](https://github.com/mullahomes2012) https://github.com/Koenkk/zigbee2mqtt/issues/23826 ([4530176](https://github.com/Koenkk/zigbee-herdsman-converters/commit/453017670e7ace6c3d0c930a172b18379132bfbf))
|
|
18
|
+
|
|
3
19
|
## [20.9.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.8.5...v20.9.0) (2024-09-02)
|
|
4
20
|
|
|
5
21
|
|
package/converters/toZigbee.d.ts
CHANGED
|
@@ -581,6 +581,14 @@ declare const converters: {
|
|
|
581
581
|
key: string[];
|
|
582
582
|
convertGet: (entity: import("zigbee-herdsman/dist/controller/model").Endpoint | import("zigbee-herdsman/dist/controller/model").Group, key: string, meta: Tz.Meta) => Promise<void>;
|
|
583
583
|
};
|
|
584
|
+
electrical_measurement_power_phase_b: {
|
|
585
|
+
key: string[];
|
|
586
|
+
convertGet: (entity: import("zigbee-herdsman/dist/controller/model").Endpoint | import("zigbee-herdsman/dist/controller/model").Group, key: string, meta: Tz.Meta) => Promise<void>;
|
|
587
|
+
};
|
|
588
|
+
electrical_measurement_power_phase_c: {
|
|
589
|
+
key: string[];
|
|
590
|
+
convertGet: (entity: import("zigbee-herdsman/dist/controller/model").Endpoint | import("zigbee-herdsman/dist/controller/model").Group, key: string, meta: Tz.Meta) => Promise<void>;
|
|
591
|
+
};
|
|
584
592
|
metering_power: {
|
|
585
593
|
key: string[];
|
|
586
594
|
convertGet: (entity: import("zigbee-herdsman/dist/controller/model").Endpoint | import("zigbee-herdsman/dist/controller/model").Group, key: string, meta: Tz.Meta) => Promise<void>;
|
|
@@ -605,10 +613,26 @@ declare const converters: {
|
|
|
605
613
|
key: string[];
|
|
606
614
|
convertGet: (entity: import("zigbee-herdsman/dist/controller/model").Endpoint | import("zigbee-herdsman/dist/controller/model").Group, key: string, meta: Tz.Meta) => Promise<void>;
|
|
607
615
|
};
|
|
616
|
+
acvoltage_phase_b: {
|
|
617
|
+
key: string[];
|
|
618
|
+
convertGet: (entity: import("zigbee-herdsman/dist/controller/model").Endpoint | import("zigbee-herdsman/dist/controller/model").Group, key: string, meta: Tz.Meta) => Promise<void>;
|
|
619
|
+
};
|
|
620
|
+
acvoltage_phase_c: {
|
|
621
|
+
key: string[];
|
|
622
|
+
convertGet: (entity: import("zigbee-herdsman/dist/controller/model").Endpoint | import("zigbee-herdsman/dist/controller/model").Group, key: string, meta: Tz.Meta) => Promise<void>;
|
|
623
|
+
};
|
|
608
624
|
accurrent: {
|
|
609
625
|
key: string[];
|
|
610
626
|
convertGet: (entity: import("zigbee-herdsman/dist/controller/model").Endpoint | import("zigbee-herdsman/dist/controller/model").Group, key: string, meta: Tz.Meta) => Promise<void>;
|
|
611
627
|
};
|
|
628
|
+
accurrent_phase_b: {
|
|
629
|
+
key: string[];
|
|
630
|
+
convertGet: (entity: import("zigbee-herdsman/dist/controller/model").Endpoint | import("zigbee-herdsman/dist/controller/model").Group, key: string, meta: Tz.Meta) => Promise<void>;
|
|
631
|
+
};
|
|
632
|
+
accurrent_phase_c: {
|
|
633
|
+
key: string[];
|
|
634
|
+
convertGet: (entity: import("zigbee-herdsman/dist/controller/model").Endpoint | import("zigbee-herdsman/dist/controller/model").Group, key: string, meta: Tz.Meta) => Promise<void>;
|
|
635
|
+
};
|
|
612
636
|
temperature: {
|
|
613
637
|
key: string[];
|
|
614
638
|
convertGet: (entity: import("zigbee-herdsman/dist/controller/model").Endpoint | import("zigbee-herdsman/dist/controller/model").Group, key: string, meta: Tz.Meta) => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toZigbee.d.ts","sourceRoot":"","sources":["../src/converters/toZigbee.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAK1C,OAAO,EAAC,EAAE,EAAY,WAAW,EAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"toZigbee.d.ts","sourceRoot":"","sources":["../src/converters/toZigbee.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAK1C,OAAO,EAAC,EAAE,EAAY,WAAW,EAAC,MAAM,cAAc,CAAC;AA65IvD,QAAA,MAAM,UAAU;;QAlKR;;;WAGG;;;;mBApnG8B,WAAW;;;;;;;;;mBAAX,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAX,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAX,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAX,WAAW;;;;;;;;;;;;;;;QA4C5C;;;;;;;;;;;WAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAm9BS,CAAC;AAEpE,eAAe,UAAU,CAAC"}
|
package/converters/toZigbee.js
CHANGED
|
@@ -1728,6 +1728,18 @@ const converters2 = {
|
|
|
1728
1728
|
await entity.read('haElectricalMeasurement', ['activePower']);
|
|
1729
1729
|
},
|
|
1730
1730
|
},
|
|
1731
|
+
electrical_measurement_power_phase_b: {
|
|
1732
|
+
key: ['power_phase_b'],
|
|
1733
|
+
convertGet: async (entity, key, meta) => {
|
|
1734
|
+
await entity.read('haElectricalMeasurement', ['activePowerPhB']);
|
|
1735
|
+
},
|
|
1736
|
+
},
|
|
1737
|
+
electrical_measurement_power_phase_c: {
|
|
1738
|
+
key: ['power_phase_c'],
|
|
1739
|
+
convertGet: async (entity, key, meta) => {
|
|
1740
|
+
await entity.read('haElectricalMeasurement', ['activePowerPhC']);
|
|
1741
|
+
},
|
|
1742
|
+
},
|
|
1731
1743
|
metering_power: {
|
|
1732
1744
|
key: ['power'],
|
|
1733
1745
|
convertGet: async (entity, key, meta) => {
|
|
@@ -1766,12 +1778,36 @@ const converters2 = {
|
|
|
1766
1778
|
await entity.read('haElectricalMeasurement', ['rmsVoltage']);
|
|
1767
1779
|
},
|
|
1768
1780
|
},
|
|
1781
|
+
acvoltage_phase_b: {
|
|
1782
|
+
key: ['voltage_phase_b'],
|
|
1783
|
+
convertGet: async (entity, key, meta) => {
|
|
1784
|
+
await entity.read('haElectricalMeasurement', ['rmsVoltagePhB']);
|
|
1785
|
+
},
|
|
1786
|
+
},
|
|
1787
|
+
acvoltage_phase_c: {
|
|
1788
|
+
key: ['voltage_phase_c'],
|
|
1789
|
+
convertGet: async (entity, key, meta) => {
|
|
1790
|
+
await entity.read('haElectricalMeasurement', ['rmsVoltagePhC']);
|
|
1791
|
+
},
|
|
1792
|
+
},
|
|
1769
1793
|
accurrent: {
|
|
1770
1794
|
key: ['current'],
|
|
1771
1795
|
convertGet: async (entity, key, meta) => {
|
|
1772
1796
|
await entity.read('haElectricalMeasurement', ['rmsCurrent']);
|
|
1773
1797
|
},
|
|
1774
1798
|
},
|
|
1799
|
+
accurrent_phase_b: {
|
|
1800
|
+
key: ['current_phase_b'],
|
|
1801
|
+
convertGet: async (entity, key, meta) => {
|
|
1802
|
+
await entity.read('haElectricalMeasurement', ['rmsCurrentPhB']);
|
|
1803
|
+
},
|
|
1804
|
+
},
|
|
1805
|
+
accurrent_phase_c: {
|
|
1806
|
+
key: ['current_phase_c'],
|
|
1807
|
+
convertGet: async (entity, key, meta) => {
|
|
1808
|
+
await entity.read('haElectricalMeasurement', ['rmsCurrentPhC']);
|
|
1809
|
+
},
|
|
1810
|
+
},
|
|
1775
1811
|
temperature: {
|
|
1776
1812
|
key: ['temperature'],
|
|
1777
1813
|
convertGet: async (entity, key, meta) => {
|