zigbee-herdsman-converters 19.31.1 → 19.32.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 +23 -0
- package/converters/fromZigbee.d.ts.map +1 -1
- package/converters/fromZigbee.js +12 -10
- package/converters/fromZigbee.js.map +1 -1
- package/converters/toZigbee.d.ts +22 -6
- package/converters/toZigbee.d.ts.map +1 -1
- package/converters/toZigbee.js +81 -54
- package/converters/toZigbee.js.map +1 -1
- package/devices/bosch.js +1 -1
- package/devices/bosch.js.map +1 -1
- package/devices/eurotronic.d.ts.map +1 -1
- package/devices/eurotronic.js +10 -6
- package/devices/eurotronic.js.map +1 -1
- package/devices/ikea.js +2 -5
- package/devices/ikea.js.map +1 -1
- package/devices/index.d.ts +10 -1
- package/devices/index.d.ts.map +1 -1
- package/devices/index.js +2 -0
- package/devices/index.js.map +1 -1
- package/devices/legrand.d.ts.map +1 -1
- package/devices/legrand.js +4 -3
- package/devices/legrand.js.map +1 -1
- package/devices/lumi.js +3 -3
- package/devices/lumi.js.map +1 -1
- package/devices/robb.js +1 -1
- package/devices/robb.js.map +1 -1
- package/devices/tuya.d.ts.map +1 -1
- package/devices/tuya.js +285 -12
- package/devices/tuya.js.map +1 -1
- package/devices/zigbeetlc.d.ts +12 -0
- package/devices/zigbeetlc.d.ts.map +1 -0
- package/devices/zigbeetlc.js +214 -0
- package/devices/zigbeetlc.js.map +1 -0
- package/lib/legacy.d.ts +0 -6
- package/lib/legacy.d.ts.map +1 -1
- package/lib/legacy.js +0 -63
- package/lib/legacy.js.map +1 -1
- package/lib/lumi.js +4 -4
- package/lib/lumi.js.map +1 -1
- package/lib/modernExtend.js +1 -1
- package/lib/tuya.d.ts +1 -1
- package/lib/tuya.d.ts.map +1 -1
- package/lib/tuya.js +2 -2
- package/lib/tuya.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [19.32.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.31.1...v19.32.0) (2024-05-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **add:** LYWSD03MMC-z, CGDK2, TS0201-z ([#7457](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7457)) ([cb6dd3e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/cb6dd3ed2d1001912ec699025d66939de04c5542))
|
|
9
|
+
* **add:** TS0002_switch_module_4 ([#7469](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7469)) ([6a544cc](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6a544cc798008ef10159e7bc551867dbb29fed19))
|
|
10
|
+
* Improvements for TuYa PJ-1203A ([#7455](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7455)) ([6152028](https://github.com/Koenkk/zigbee-herdsman-converters/commit/61520281646c67873590d24a7d1d290c02a510b0))
|
|
11
|
+
* Support `on_level` for Legrand 067771 ([#7472](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7472)) ([425d755](https://github.com/Koenkk/zigbee-herdsman-converters/commit/425d7551c86ede1f040012d629e9f01e8ece21fd))
|
|
12
|
+
* Use common `motor_state` values for Bosch & Lumi devices ([#7470](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7470)) ([5f578b1](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5f578b163c22db66e87e0968074371243a80d875))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* Correct attribute name for Aqara curtain hand open ([#7476](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7476)) ([1f91c88](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1f91c882813b7cd289676a3fcc45acacd1fb8c55))
|
|
18
|
+
* **detect:** Detect `_TZ3000_tgddllx4` as Colorock CR-MNZ1 ([#7474](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7474)) ([1fd4f7b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1fd4f7bed34dd56fbc620f1bc87ea48ddf9a08e9))
|
|
19
|
+
* Fix `cover_position_tilt_disable_report` ([#7467](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7467)) ([9db6203](https://github.com/Koenkk/zigbee-herdsman-converters/commit/9db6203c657978107f5bfc249278bba5bae4c5f5))
|
|
20
|
+
* Fix Eurotronic Zigbee Spirit system mode/host flags ([#7473](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7473)) ([b4a0cba](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b4a0cba4922ee12bc7c056d92919fe7e3b0ea37f))
|
|
21
|
+
* Fix ROBB ROB_200-024-0 battery percentage divided by 2 https://github.com/Koenkk/zigbee2mqtt/issues/22348 ([3839ea6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3839ea6df4f0e66d9fc6f01faffd1298d7e508e5))
|
|
22
|
+
* Fix typo "indetify" to "identify" ([#7468](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7468)) ([584b0b5](https://github.com/Koenkk/zigbee-herdsman-converters/commit/584b0b5c16c2bad9a7f41932ac42bf35deb6cec6))
|
|
23
|
+
* **ignore:** Revert "fix(ignore): fix datatype" ([04e4a50](https://github.com/Koenkk/zigbee-herdsman-converters/commit/04e4a50673c29888f3a488ccd17473ec10af8432))
|
|
24
|
+
* **ignore:** update dependencies ([#7477](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7477)) ([9845942](https://github.com/Koenkk/zigbee-herdsman-converters/commit/984594233a3cec84900028e7deef402e38085d51))
|
|
25
|
+
|
|
3
26
|
## [19.31.1](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.31.0...v19.31.1) (2024-04-29)
|
|
4
27
|
|
|
5
28
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fromZigbee.d.ts","sourceRoot":"","sources":["../src/converters/fromZigbee.ts"],"names":[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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6wBpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
|
package/converters/fromZigbee.js
CHANGED
|
@@ -4873,22 +4873,24 @@ const converters2 = {
|
|
|
4873
4873
|
convert: async (model, msg, publish, options, meta) => {
|
|
4874
4874
|
const result = await converters1.thermostat.convert(model, msg, publish, options, meta);
|
|
4875
4875
|
if (result) {
|
|
4876
|
-
// system_mode is always 'heat', we set it below based on eurotronic_host_flags
|
|
4877
|
-
delete result['system_mode'];
|
|
4878
4876
|
if (typeof msg.data[0x4003] == 'number') {
|
|
4879
4877
|
result.current_heating_setpoint = (0, utils_1.precisionRound)(msg.data[0x4003], 2) / 100;
|
|
4880
4878
|
}
|
|
4881
4879
|
if (typeof msg.data[0x4008] == 'number') {
|
|
4882
|
-
result.
|
|
4883
|
-
result.mirror_display = (msg.data[0x4008] &
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
else if (result.window_open)
|
|
4880
|
+
result.child_lock = (msg.data[0x4008] & 0x80) != 0 ? 'LOCK' : 'UNLOCK';
|
|
4881
|
+
result.mirror_display = (msg.data[0x4008] & 0x02) != 0 ? 'ON' : 'OFF';
|
|
4882
|
+
// This seems broken... We need to write 0x20 to turn it off and 0x10 to set
|
|
4883
|
+
// it to auto mode. However, when it reports the flag, it will report 0x10
|
|
4884
|
+
// when it's off, and nothing at all when it's in auto mode
|
|
4885
|
+
if ((msg.data[0x4008] & 0x10) != 0) { // reports auto -> setting to force_off
|
|
4889
4886
|
result.system_mode = constants.thermostatSystemModes[0];
|
|
4890
|
-
|
|
4887
|
+
}
|
|
4888
|
+
else if ((msg.data[0x4008] & 0x04) != 0) { // always_on
|
|
4889
|
+
result.system_mode = constants.thermostatSystemModes[4];
|
|
4890
|
+
}
|
|
4891
|
+
else { // auto
|
|
4891
4892
|
result.system_mode = constants.thermostatSystemModes[1];
|
|
4893
|
+
}
|
|
4892
4894
|
}
|
|
4893
4895
|
if (typeof msg.data[0x4002] == 'number') {
|
|
4894
4896
|
result.error_status = msg.data[0x4002];
|