matterbridge-zigbee2mqtt 3.2.0 → 3.2.1-dev-20260725-82a113f

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 CHANGED
@@ -12,7 +12,6 @@
12
12
  [![tested with Vitest](https://img.shields.io/badge/tested_with-Vitest-6E9F18.svg?logo=vitest&logoColor=white)](https://vitest.dev)
13
13
  [![styled with Oxc](https://img.shields.io/badge/styled_with-Oxc-9BE4E0.svg?logo=oxc&logoColor=white)](https://oxc.rs/docs/guide/usage/formatter.html)
14
14
  [![linted with Oxc](https://img.shields.io/badge/linted_with-Oxc-9BE4E0.svg?logo=oxc&logoColor=white)](https://oxc.rs/docs/guide/usage/linter.html)
15
- [![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
16
15
  [![TypeScript Native](https://img.shields.io/badge/TypeScript_Native-3178C6?logo=typescript&logoColor=white)](https://github.com/microsoft/typescript-go)
17
16
  [![ESM](https://img.shields.io/badge/ESM-Node.js-339933?logo=node.js&logoColor=white)](https://nodejs.org/)
18
17
  [![matterbridge.io](https://img.shields.io/badge/matterbridge.io-online-brightgreen)](https://matterbridge.io)
@@ -30,6 +29,21 @@ If you like this project and find it useful, please consider giving it a star on
30
29
 
31
30
  <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="120"></a>
32
31
 
32
+ ## [3.2.1] - Dev branch
33
+
34
+ ### Breaking changes
35
+
36
+ - [matterbridge]: Require matterbridge v.3.10.0 with matter v.1.6.0 and matter.js v.0.17.5.
37
+
38
+ ### Changed
39
+
40
+ - [package]: Bump `oxfmt` to v.0.60.0.
41
+ - [package]: Bump `oxlint` to v.1.75.0.
42
+ - [package]: Bump `oxlint-tsgolint` to v.7.0.2001.
43
+ - [package]: Update agents configs.
44
+
45
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
46
+
33
47
  ## [3.2.0] - 2026-07-17
34
48
 
35
49
  ### Breaking changes
package/README.md CHANGED
@@ -12,7 +12,6 @@
12
12
  [![tested with Vitest](https://img.shields.io/badge/tested_with-Vitest-6E9F18.svg?logo=vitest&logoColor=white)](https://vitest.dev)
13
13
  [![styled with Oxc](https://img.shields.io/badge/styled_with-Oxc-9BE4E0.svg?logo=oxc&logoColor=white)](https://oxc.rs/docs/guide/usage/formatter.html)
14
14
  [![linted with Oxc](https://img.shields.io/badge/linted_with-Oxc-9BE4E0.svg?logo=oxc&logoColor=white)](https://oxc.rs/docs/guide/usage/linter.html)
15
- [![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
16
15
  [![TypeScript Native](https://img.shields.io/badge/TypeScript_Native-3178C6?logo=typescript&logoColor=white)](https://github.com/microsoft/typescript-go)
17
16
  [![ESM](https://img.shields.io/badge/ESM-Node.js-339933?logo=node.js&logoColor=white)](https://nodejs.org/)
18
17
  [![matterbridge.io](https://img.shields.io/badge/matterbridge.io-online-brightgreen)](https://matterbridge.io)
package/dist/entity.js CHANGED
@@ -652,10 +652,10 @@ export class ZigbeeGroup extends ZigbeeEntity {
652
652
  isSwitch = true;
653
653
  if (expose.type === 'light')
654
654
  isLight = true;
655
- useState = useState || feature.name === 'state' ? true : false;
656
- useBrightness = useBrightness || feature.name === 'brightness' ? true : false;
657
- useColor = useColor || feature.property === 'color' ? true : false;
658
- useColorTemperature = useColorTemperature || feature.name === 'color_temp' ? true : false;
655
+ useState ||= feature.name === 'state';
656
+ useBrightness ||= feature.name === 'brightness';
657
+ useColor ||= feature.property === 'color';
658
+ useColorTemperature ||= feature.name === 'color_temp';
659
659
  if (feature.value_min)
660
660
  minColorTemperature = Math.min(minColorTemperature, feature.value_min);
661
661
  if (feature.value_max)
@@ -674,7 +674,7 @@ export class ZigbeeGroup extends ZigbeeEntity {
674
674
  }
675
675
  });
676
676
  device.definition?.options.forEach((option) => {
677
- useTransition = useTransition || option.name === 'transition' ? true : false;
677
+ useTransition ||= option.name === 'transition';
678
678
  });
679
679
  });
680
680
  zigbeeGroup.log.debug(`Group ${gn}${group.friendly_name}${rs}${db} switch: ${CYAN}${isSwitch}${db} light: ${CYAN}${isLight}${db} cover: ${CYAN}${isCover}${db} thermostat: ${CYAN}${isThermostat}${db}`);
package/dist/module.js CHANGED
@@ -41,8 +41,8 @@ export class ZigbeePlatform extends MatterbridgeDynamicPlatform {
41
41
  constructor(matterbridge, log, config) {
42
42
  super(matterbridge, log, config);
43
43
  this.config = config;
44
- if (typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.9.0')) {
45
- throw new Error(`This plugin requires Matterbridge version >= "3.9.0". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend.`);
44
+ if (typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.10.0')) {
45
+ throw new Error(`This plugin requires Matterbridge version >= "3.10.0". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend.`);
46
46
  }
47
47
  this.shouldStart = false;
48
48
  this.shouldConfigure = false;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge-zigbee2mqtt",
3
- "version": "3.2.0",
3
+ "version": "3.2.1-dev-20260725-82a113f",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge-zigbee2mqtt",
9
- "version": "3.2.0",
9
+ "version": "3.2.1-dev-20260725-82a113f",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "moment": "2.30.1",
@@ -260,9 +260,9 @@
260
260
  "license": "ISC"
261
261
  },
262
262
  "node_modules/ip-address": {
263
- "version": "10.2.0",
264
- "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.2.0.tgz",
265
- "integrity": "sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA==",
263
+ "version": "10.2.1",
264
+ "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.2.1.tgz",
265
+ "integrity": "sha512-O81l1g31PlH55F7AChkGM3sdWZX+1KDLnhesJ/V9Ziug5nIOnEPaVb2jLWAo1TbCOSeZPeNbxX4v/ywTuKSn9A==",
266
266
  "license": "MIT",
267
267
  "engines": {
268
268
  "node": ">= 12"
@@ -566,9 +566,9 @@
566
566
  }
567
567
  },
568
568
  "node_modules/worker-timers": {
569
- "version": "8.0.33",
570
- "resolved": "https://registry.npmjs.org/worker-timers/-/worker-timers-8.0.33.tgz",
571
- "integrity": "sha512-RQVlKkek80v8M6SHvdMKiywaXFmX3XTpYTXTw0r62PdXB06t74XNxcTuG8wsQwnjorAQymNQyyQ0rzv7PykEMQ==",
569
+ "version": "8.0.34",
570
+ "resolved": "https://registry.npmjs.org/worker-timers/-/worker-timers-8.0.34.tgz",
571
+ "integrity": "sha512-WXL+Dqsm0G6dnC66rQsvM3tPT2adhbqSirWUCZGglkALOr8ocS0KlpU0iuKbjflJOlu3ydZikMEVrYnHOM9suw==",
572
572
  "license": "MIT",
573
573
  "dependencies": {
574
574
  "@babel/runtime": "^7.29.7",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge-zigbee2mqtt",
3
- "version": "3.2.0",
3
+ "version": "3.2.1-dev-20260725-82a113f",
4
4
  "description": "Matterbridge zigbee2mqtt plugin",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",