zigbee-herdsman-converters 21.11.0 → 21.12.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 +20 -0
- package/converters/fromZigbee.js +5 -5
- package/converters/fromZigbee.js.map +1 -1
- package/converters/toZigbee.d.ts.map +1 -1
- package/converters/toZigbee.js +14 -2
- package/converters/toZigbee.js.map +1 -1
- package/devices/datek.d.ts.map +1 -1
- package/devices/datek.js +13 -1
- package/devices/datek.js.map +1 -1
- package/devices/dresden_elektronik.js +1 -1
- package/devices/dresden_elektronik.js.map +1 -1
- package/devices/hzc_electric.d.ts.map +1 -1
- package/devices/hzc_electric.js +11 -0
- package/devices/hzc_electric.js.map +1 -1
- package/devices/index.d.ts.map +1 -1
- package/devices/index.js +2 -0
- package/devices/index.js.map +1 -1
- package/devices/lumi.d.ts.map +1 -1
- package/devices/lumi.js +8 -0
- package/devices/lumi.js.map +1 -1
- package/devices/salus_controls.d.ts.map +1 -1
- package/devices/salus_controls.js +41 -2
- package/devices/salus_controls.js.map +1 -1
- package/devices/tuya.d.ts.map +1 -1
- package/devices/tuya.js +141 -0
- package/devices/tuya.js.map +1 -1
- package/devices/xal.d.ts.map +1 -1
- package/devices/xal.js +9 -2
- package/devices/xal.js.map +1 -1
- package/devices/yokis.d.ts +4 -0
- package/devices/yokis.d.ts.map +1 -0
- package/devices/yokis.js +2454 -0
- package/devices/yokis.js.map +1 -0
- package/lib/modernExtend.d.ts.map +1 -1
- package/lib/modernExtend.js +5 -1
- package/lib/modernExtend.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [21.12.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v21.11.0...v21.12.0) (2025-01-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Add preset for Salus FC600 ([#8551](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8551)) ([c45179c](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c45179c1e7c82731f46c33f84c340f03522130fe))
|
|
9
|
+
* **add:** 050-0511558F ([#8549](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8549)) ([897380f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/897380fca445f24a1716795cbcf8e3529a6407f0))
|
|
10
|
+
* **add:** D692-ZG ([#8534](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8534)) ([d65fcf7](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d65fcf7963e2dec53fb507f8d75cae3c5ea0855d))
|
|
11
|
+
* **add:** MTD085-ZB ([#8490](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8490)) ([35f89fb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/35f89fb594c4d12ca7ec058e009346a4ac7d8301))
|
|
12
|
+
* **add:** MTR500E-UP, MTR1300E-UP, MTR2000E-UP, MTV300E-UP, MVR500E-UP, E2BP-UP, E4BP-UP, TLC1-UP, TLC2-UP, TLC4-UP, TLC8-UP, TLM1-UP, TLM2-UP, TLM4-UP, GALET4-UP ([#8537](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8537)) ([099eb66](https://github.com/Koenkk/zigbee-herdsman-converters/commit/099eb666505c4f8796c3ba0d4e5277201610c3b6))
|
|
13
|
+
* Implement PowerOnBehaviour for Aqara T1M lamp (CL-L02D) ([#8550](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8550)) ([e2ae7d6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/e2ae7d685ced88b7a1cfa42a785175e49a71f37c))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* Add endpoint capability to lock type ([#8529](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8529)) ([8f0f023](https://github.com/Koenkk/zigbee-herdsman-converters/commit/8f0f023df4d10477aed23e1b16c335a2d3c9d38a))
|
|
19
|
+
* **detect:** Detect `FLS-PP3\u0000` as Mega23M12 https://github.com/Koenkk/zigbee2mqtt/issues/25382 ([5be3337](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5be3337374c8ee4120966e8cb30b8a80f624391f))
|
|
20
|
+
* Fix configure failure for Datek HSE2905E ([#8546](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8546)) ([979ac52](https://github.com/Koenkk/zigbee-herdsman-converters/commit/979ac527def1e8a5e443004dd2bbffd80aebc019))
|
|
21
|
+
* **ignore:** update dependencies ([#8555](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8555)) ([6214cc0](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6214cc084e5137528ec328b23205e2b2d9b0f0e0))
|
|
22
|
+
|
|
3
23
|
## [21.11.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v21.10.0...v21.11.0) (2024-12-30)
|
|
4
24
|
|
|
5
25
|
|
package/converters/fromZigbee.js
CHANGED
|
@@ -301,15 +301,15 @@ const converters1 = {
|
|
|
301
301
|
convert: (model, msg, publish, options, meta) => {
|
|
302
302
|
const result = {};
|
|
303
303
|
if (msg.data.lockState !== undefined) {
|
|
304
|
-
result.state = msg.data.lockState == 1 ? 'LOCK' : 'UNLOCK';
|
|
304
|
+
result[(0, utils_1.postfixWithEndpointName)('state', msg, model, meta)] = msg.data.lockState == 1 ? 'LOCK' : 'UNLOCK';
|
|
305
305
|
const lookup = ['not_fully_locked', 'locked', 'unlocked'];
|
|
306
|
-
result.lock_state = lookup[msg.data['lockState']];
|
|
306
|
+
result[(0, utils_1.postfixWithEndpointName)('lock_state', msg, model, meta)] = lookup[msg.data['lockState']];
|
|
307
307
|
}
|
|
308
308
|
if (msg.data.autoRelockTime !== undefined) {
|
|
309
|
-
result.auto_relock_time = msg.data.autoRelockTime;
|
|
309
|
+
result[(0, utils_1.postfixWithEndpointName)('auto_relock_time', msg, model, meta)] = msg.data.autoRelockTime;
|
|
310
310
|
}
|
|
311
311
|
if (msg.data.soundVolume !== undefined) {
|
|
312
|
-
result.sound_volume = constants.lockSoundVolume[msg.data.soundVolume];
|
|
312
|
+
result[(0, utils_1.postfixWithEndpointName)('sound_volume', msg, model, meta)] = constants.lockSoundVolume[msg.data.soundVolume];
|
|
313
313
|
}
|
|
314
314
|
if (msg.data.doorState !== undefined) {
|
|
315
315
|
const lookup = {
|
|
@@ -320,7 +320,7 @@ const converters1 = {
|
|
|
320
320
|
4: 'error_unspecified',
|
|
321
321
|
0xff: 'undefined',
|
|
322
322
|
};
|
|
323
|
-
result.door_state = lookup[msg.data['doorState']];
|
|
323
|
+
result[(0, utils_1.postfixWithEndpointName)('door_state', msg, model, meta)] = lookup[msg.data['doorState']];
|
|
324
324
|
}
|
|
325
325
|
return result;
|
|
326
326
|
},
|