zigbee-herdsman 8.0.1 → 8.0.2
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 +10 -0
- package/dist/adapter/utils.d.ts.map +1 -1
- package/dist/adapter/utils.js +16 -6
- package/dist/adapter/utils.js.map +1 -1
- package/dist/zspec/zcl/definition/cluster.d.ts.map +1 -1
- package/dist/zspec/zcl/definition/cluster.js +5 -1
- package/dist/zspec/zcl/definition/cluster.js.map +1 -1
- package/dist/zspec/zcl/definition/clusters-types.d.ts +2 -2
- package/dist/zspec/zcl/definition/clusters-types.d.ts.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [8.0.2](https://github.com/Koenkk/zigbee-herdsman/compare/v8.0.1...v8.0.2) (2026-01-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Allow literal (RFC2732) IPv6 addresses in TCP URI ([#1601](https://github.com/Koenkk/zigbee-herdsman/issues/1601)) ([e46c0b0](https://github.com/Koenkk/zigbee-herdsman/commit/e46c0b0015b53b65abd78d0e5ba0ba5af202cbe7))
|
|
9
|
+
* Fix transitionTime not always present in genScenes recall ([#1609](https://github.com/Koenkk/zigbee-herdsman/issues/1609)) ([c942010](https://github.com/Koenkk/zigbee-herdsman/commit/c942010649e03cad6f06d3ddef738edd9746e383))
|
|
10
|
+
* **ignore:** bump @biomejs/biome from 2.3.8 to 2.3.10 in the minor-patch group ([#1602](https://github.com/Koenkk/zigbee-herdsman/issues/1602)) ([44cbf32](https://github.com/Koenkk/zigbee-herdsman/commit/44cbf321e91e99a27fface43fedeae1b801fd43a))
|
|
11
|
+
* **ignore:** bump @types/node from 24.10.1 to 24.10.4 in the minor-patch group ([#1607](https://github.com/Koenkk/zigbee-herdsman/issues/1607)) ([824028c](https://github.com/Koenkk/zigbee-herdsman/commit/824028cb26ba58d6ce3612a48897008219e35e91))
|
|
12
|
+
|
|
3
13
|
## [8.0.1](https://github.com/Koenkk/zigbee-herdsman/compare/v8.0.0...v8.0.1) (2025-12-16)
|
|
4
14
|
|
|
5
15
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/adapter/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/adapter/utils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,MAAM,WAAW,CAAC;AAEzC,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAS/C;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,CAUvE;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,oBAAoB,GAAG,MAAM,CAAC,mBAAmB,GAAG,SAAS,CAY7G"}
|
package/dist/adapter/utils.js
CHANGED
|
@@ -1,18 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.isTcpPath = isTcpPath;
|
|
4
7
|
exports.parseTcpPath = parseTcpPath;
|
|
5
8
|
exports.readBackup = readBackup;
|
|
9
|
+
const node_assert_1 = __importDefault(require("node:assert"));
|
|
6
10
|
const node_fs_1 = require("node:fs");
|
|
11
|
+
const node_url_1 = require("node:url");
|
|
7
12
|
function isTcpPath(path) {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
try {
|
|
14
|
+
// validation as side-effect
|
|
15
|
+
new URL(path);
|
|
16
|
+
return true;
|
|
17
|
+
}
|
|
18
|
+
catch {
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
12
21
|
}
|
|
13
22
|
function parseTcpPath(path) {
|
|
14
|
-
|
|
15
|
-
|
|
23
|
+
const info = (0, node_url_1.urlToHttpOptions)(new URL(path));
|
|
24
|
+
// urlToHttpOptions has a weird return type, extra validation doesn't hurt
|
|
25
|
+
(0, node_assert_1.default)(info.hostname && info.port);
|
|
16
26
|
return {
|
|
17
27
|
host: info.hostname,
|
|
18
28
|
port: Number(info.port),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/adapter/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/adapter/utils.ts"],"names":[],"mappings":";;;;;AAKA,8BASC;AAED,oCAUC;AAED,gCAYC;AAxCD,8DAAiC;AACjC,qCAAiD;AACjD,uCAA0C;AAG1C,SAAgB,SAAS,CAAC,IAAY;IAClC,IAAI,CAAC;QACD,4BAA4B;QAC5B,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC;QAEd,OAAO,IAAI,CAAC;IAChB,CAAC;IAAC,MAAM,CAAC;QACL,OAAO,KAAK,CAAC;IACjB,CAAC;AACL,CAAC;AAED,SAAgB,YAAY,CAAC,IAAY;IACrC,MAAM,IAAI,GAAG,IAAA,2BAAgB,EAAC,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;IAE7C,0EAA0E;IAC1E,IAAA,qBAAM,EAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;IAEnC,OAAO;QACH,IAAI,EAAE,IAAI,CAAC,QAAQ;QACnB,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;KAC1B,CAAC;AACN,CAAC;AAED,SAAgB,UAAU,CAAC,IAAY;IACnC,IAAI,CAAC,IAAA,oBAAU,EAAC,IAAI,CAAC,EAAE,CAAC;QACpB,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,IAAI,CAAC;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAA,sBAAY,EAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;IACrD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CACX,4HAA4H,IAAI,uBAAwB,KAAe,CAAC,KAAK,GAAG,CACnL,CAAC;IACN,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.d.ts","sourceRoot":"","sources":["../../../../src/zspec/zcl/definition/cluster.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,iBAAiB,EAAE,WAAW,EAAC,MAAM,UAAU,CAAC;AAE7D,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"cluster.d.ts","sourceRoot":"","sources":["../../../../src/zspec/zcl/definition/cluster.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,iBAAiB,EAAE,WAAW,EAAC,MAAM,UAAU,CAAC;AAE7D,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC,CAkvP/E,CAAC"}
|
|
@@ -288,7 +288,11 @@ exports.Clusters = {
|
|
|
288
288
|
parameters: [
|
|
289
289
|
{ name: "groupid", type: enums_1.DataType.UINT16 },
|
|
290
290
|
{ name: "sceneid", type: enums_1.DataType.UINT8 },
|
|
291
|
-
{
|
|
291
|
+
{
|
|
292
|
+
name: "transitionTime",
|
|
293
|
+
type: enums_1.DataType.UINT16,
|
|
294
|
+
conditions: [{ type: enums_1.ParameterCondition.MINIMUM_REMAINING_BUFFER_BYTES, value: 2 }],
|
|
295
|
+
},
|
|
292
296
|
],
|
|
293
297
|
required: true,
|
|
294
298
|
},
|