zigbee-herdsman 10.0.7 → 10.0.8
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 +11 -0
- package/dist/controller/helpers/zclFrameConverter.d.ts.map +1 -1
- package/dist/controller/helpers/zclFrameConverter.js +4 -0
- package/dist/controller/helpers/zclFrameConverter.js.map +1 -1
- package/dist/zspec/zcl/definition/cluster.d.ts.map +1 -1
- package/dist/zspec/zcl/definition/cluster.js +6 -2
- package/dist/zspec/zcl/definition/cluster.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [10.0.8](https://github.com/Koenkk/zigbee-herdsman/compare/v10.0.7...v10.0.8) (2026-05-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **ignore:** bump @biomejs/biome from 2.4.11 to 2.4.12 in the minor-patch group ([#1747](https://github.com/Koenkk/zigbee-herdsman/issues/1747)) ([d8a467f](https://github.com/Koenkk/zigbee-herdsman/commit/d8a467fa345633ab4252e3e283abe2e7cfa64140))
|
|
9
|
+
* **ignore:** bump @biomejs/biome from 2.4.13 to 2.4.14 in the minor-patch group ([#1754](https://github.com/Koenkk/zigbee-herdsman/issues/1754)) ([ac05792](https://github.com/Koenkk/zigbee-herdsman/commit/ac057926458c6b199b50596d101825ef2be5d151))
|
|
10
|
+
* **ignore:** bump the minor-patch group with 2 updates ([#1750](https://github.com/Koenkk/zigbee-herdsman/issues/1750)) ([5ad1810](https://github.com/Koenkk/zigbee-herdsman/commit/5ad18102282f0581c35b6909caabf70cbf622134))
|
|
11
|
+
* MoveToLevel min and max ([#1752](https://github.com/Koenkk/zigbee-herdsman/issues/1752)) ([b7bf626](https://github.com/Koenkk/zigbee-herdsman/commit/b7bf6264d3f178fcbf53d02c2906b0fe52e941d8))
|
|
12
|
+
* Preserve genBasic attributes when re-read returns undefined ([#1753](https://github.com/Koenkk/zigbee-herdsman/issues/1753)) ([9ab49a1](https://github.com/Koenkk/zigbee-herdsman/commit/9ab49a1868899cf724c00e8faf077b588c2842d0))
|
|
13
|
+
|
|
3
14
|
## [10.0.7](https://github.com/Koenkk/zigbee-herdsman/compare/v10.0.6...v10.0.7) (2026-04-11)
|
|
4
15
|
|
|
5
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zclFrameConverter.d.ts","sourceRoot":"","sources":["../../../src/controller/helpers/zclFrameConverter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,iBAAiB,CAAC;AAEvC,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,mCAAmC,CAAC;AACtE,OAAO,KAAK,EAAC,2BAA2B,EAAE,cAAc,EAAC,MAAM,WAAW,CAAC;AAW3E,iBAAS,iBAAiB,CAAC,EAAE,SAAS,MAAM,GAAG,MAAM,EAAE,MAAM,SAAS,cAAc,GAAG,SAAS,GAAG,SAAS,EACxG,KAAK,EAAE,GAAG,CAAC,KAAK,EAChB,oBAAoB,EAAE,MAAM,GAAG,SAAS,EACxC,cAAc,EAAE,cAAc,GAC/B,2BAA2B,CAAC,EAAE,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"zclFrameConverter.d.ts","sourceRoot":"","sources":["../../../src/controller/helpers/zclFrameConverter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,iBAAiB,CAAC;AAEvC,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,mCAAmC,CAAC;AACtE,OAAO,KAAK,EAAC,2BAA2B,EAAE,cAAc,EAAC,MAAM,WAAW,CAAC;AAW3E,iBAAS,iBAAiB,CAAC,EAAE,SAAS,MAAM,GAAG,MAAM,EAAE,MAAM,SAAS,cAAc,GAAG,SAAS,GAAG,SAAS,EACxG,KAAK,EAAE,GAAG,CAAC,KAAK,EAChB,oBAAoB,EAAE,MAAM,GAAG,SAAS,EACxC,cAAc,EAAE,cAAc,GAC/B,2BAA2B,CAAC,EAAE,EAAE,MAAM,CAAC,CA6BzC;AAED,iBAAS,aAAa,CAAC,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,oBAAoB,EAAE,MAAM,GAAG,SAAS,EAAE,cAAc,EAAE,cAAc,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAczI;AAED,OAAO,EAAC,iBAAiB,EAAE,aAAa,EAAC,CAAC"}
|
|
@@ -50,6 +50,10 @@ function attributeKeyValue(frame, deviceManufacturerID, customClusters) {
|
|
|
50
50
|
const manufacturerCode = legrandWorkaround ? deviceManufacturerID : frame.header.manufacturerCode;
|
|
51
51
|
// TODO: remove this type once Zcl.Frame is typed
|
|
52
52
|
for (const item of frame.payload) {
|
|
53
|
+
// Per ZCL spec, non-success `readRsp` records carry no value; don't synthesize one.
|
|
54
|
+
if ("status" in item && item.status !== Zcl.Status.SUCCESS) {
|
|
55
|
+
continue;
|
|
56
|
+
}
|
|
53
57
|
const attribute = Zcl.Utils.getClusterAttribute(cluster, item.attrId, manufacturerCode);
|
|
54
58
|
if (attribute) {
|
|
55
59
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zclFrameConverter.js","sourceRoot":"","sources":["../../../src/controller/helpers/zclFrameConverter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"zclFrameConverter.js","sourceRoot":"","sources":["../../../src/controller/helpers/zclFrameConverter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEQ,8CAAiB;AAAE,sCAAa;AAlExC,+CAA0C;AAC1C,qDAAuC;AAKvC,MAAM,EAAE,GAAG,mBAAmB,CAAC;AAE/B,MAAM,wBAAwB,GAAG,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC;AAEpE,6BAA6B;AAC7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AM,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"cluster.d.ts","sourceRoot":"","sources":["../../../../src/zspec/zcl/definition/cluster.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,OAAO,EAAE,WAAW,EAAC,MAAM,UAAU,CAAC;AAEnD,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,CA0uO3D,CAAC"}
|
|
@@ -712,7 +712,9 @@ exports.Clusters = {
|
|
|
712
712
|
name: "moveToLevel",
|
|
713
713
|
ID: 0x00,
|
|
714
714
|
parameters: [
|
|
715
|
-
{ name: "level", type: enums_1.DataType.UINT8 },
|
|
715
|
+
{ name: "level", type: enums_1.DataType.UINT8, max: 0xff },
|
|
716
|
+
// for genLevelCtrlForLighting:
|
|
717
|
+
// {name: "level", type: DataType.UINT8, min: 1, max: 0xfe},
|
|
716
718
|
{ name: "transtime", type: enums_1.DataType.UINT16 },
|
|
717
719
|
// XXX: behind bytes condition due to likely missing fields with many devices
|
|
718
720
|
{ name: "optionsMask", type: enums_1.DataType.BITMAP8, conditions: [{ type: enums_1.ParameterCondition.MINIMUM_REMAINING_BUFFER_BYTES, value: 1 }] },
|
|
@@ -775,7 +777,9 @@ exports.Clusters = {
|
|
|
775
777
|
name: "moveToLevelWithOnOff",
|
|
776
778
|
ID: 0x04,
|
|
777
779
|
parameters: [
|
|
778
|
-
{ name: "level", type: enums_1.DataType.UINT8 },
|
|
780
|
+
{ name: "level", type: enums_1.DataType.UINT8, max: 0xff },
|
|
781
|
+
// for genLevelCtrlForLighting:
|
|
782
|
+
// {name: "level", type: DataType.UINT8, min: 1, max: 0xfe},
|
|
779
783
|
{ name: "transtime", type: enums_1.DataType.UINT16 },
|
|
780
784
|
// XXX: behind bytes condition due to likely missing fields with many devices
|
|
781
785
|
{ name: "optionsMask", type: enums_1.DataType.BITMAP8, conditions: [{ type: enums_1.ParameterCondition.MINIMUM_REMAINING_BUFFER_BYTES, value: 1 }] },
|