matterbridge-zigbee2mqtt 3.2.0-dev-20260709-035cdec → 3.2.0-dev-20260717-87bd309
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 +1 -1
- package/dist/entity.js +7 -7
- package/npm-shrinkwrap.json +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -30,7 +30,7 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
30
30
|
|
|
31
31
|
<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
32
|
|
|
33
|
-
## [3.2.0] -
|
|
33
|
+
## [3.2.0] - 2026-07-17
|
|
34
34
|
|
|
35
35
|
### Breaking changes
|
|
36
36
|
|
package/dist/entity.js
CHANGED
|
@@ -3,7 +3,7 @@ import fs from 'node:fs';
|
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
import { airQualitySensor, bridgedNode, colorDimmerSwitch, colorTemperatureLight, contactSensor, dimmableLight, dimmablePlugInUnit, dimmerSwitch, doorLock, electricalSensor, extendedColorLight, genericSwitch, humiditySensor, lightSensor, MatterbridgeEndpoint, occupancySensor, onOffLight, onOffLightSwitch, onOffPlugInUnit, powerSource, pressureSensor, rainSensor, smokeCoAlarm, temperatureSensor, thermostat, waterLeakDetector, windowCovering, } from 'matterbridge';
|
|
5
5
|
import { AnsiLogger, CYAN, db, debugStringify, dn, gn, hk, idn, ign, nf, or, rs, YELLOW, zb } from 'matterbridge/logger';
|
|
6
|
-
import {
|
|
6
|
+
import { CommonNumberTag, SwitchesTag } from 'matterbridge/matter';
|
|
7
7
|
import { AirQuality, BooleanState, BridgedDeviceBasicInformation, CarbonDioxideConcentrationMeasurement, CarbonMonoxideConcentrationMeasurement, ColorControl, DoorLock, ElectricalEnergyMeasurement, ElectricalPowerMeasurement, FormaldehydeConcentrationMeasurement, Identify, IlluminanceMeasurement, LevelControl, OccupancySensing, OnOff, Pm1ConcentrationMeasurement, Pm10ConcentrationMeasurement, Pm25ConcentrationMeasurement, PowerSource, PressureMeasurement, RelativeHumidityMeasurement, SmokeCoAlarm, TemperatureMeasurement, Thermostat, TotalVolatileOrganicCompoundsConcentrationMeasurement, WindowCovering, } from 'matterbridge/matter/clusters';
|
|
8
8
|
import { ClusterId, getClusterNameById } from 'matterbridge/matter/types';
|
|
9
9
|
import { deepCopy, deepEqual, fireAndForget, isValidArray, isValidNumber, isValidObject, kelvinToRGB, miredToKelvin, xyColorToRgbColor, xyToHsl } from 'matterbridge/utils';
|
|
@@ -1097,17 +1097,17 @@ export class ZigbeeDevice extends ZigbeeEntity {
|
|
|
1097
1097
|
else {
|
|
1098
1098
|
const tagList = [];
|
|
1099
1099
|
if (endpoint === 'l1')
|
|
1100
|
-
tagList.push({ mfgCode: null, namespaceId:
|
|
1100
|
+
tagList.push({ mfgCode: null, namespaceId: CommonNumberTag.One.namespaceId, tag: CommonNumberTag.One.tag, label: 'endpoint ' + endpoint });
|
|
1101
1101
|
if (endpoint === 'l2')
|
|
1102
|
-
tagList.push({ mfgCode: null, namespaceId:
|
|
1102
|
+
tagList.push({ mfgCode: null, namespaceId: CommonNumberTag.Two.namespaceId, tag: CommonNumberTag.Two.tag, label: 'endpoint ' + endpoint });
|
|
1103
1103
|
if (endpoint === 'l3')
|
|
1104
|
-
tagList.push({ mfgCode: null, namespaceId:
|
|
1104
|
+
tagList.push({ mfgCode: null, namespaceId: CommonNumberTag.Three.namespaceId, tag: CommonNumberTag.Three.tag, label: 'endpoint ' + endpoint });
|
|
1105
1105
|
if (endpoint === 'l4')
|
|
1106
|
-
tagList.push({ mfgCode: null, namespaceId:
|
|
1106
|
+
tagList.push({ mfgCode: null, namespaceId: CommonNumberTag.Four.namespaceId, tag: CommonNumberTag.Four.tag, label: 'endpoint ' + endpoint });
|
|
1107
1107
|
if (endpoint === 'l5')
|
|
1108
|
-
tagList.push({ mfgCode: null, namespaceId:
|
|
1108
|
+
tagList.push({ mfgCode: null, namespaceId: CommonNumberTag.Five.namespaceId, tag: CommonNumberTag.Five.tag, label: 'endpoint ' + endpoint });
|
|
1109
1109
|
if (endpoint === 'l6')
|
|
1110
|
-
tagList.push({ mfgCode: null, namespaceId:
|
|
1110
|
+
tagList.push({ mfgCode: null, namespaceId: CommonNumberTag.Six.namespaceId, tag: CommonNumberTag.Six.tag, label: 'endpoint ' + endpoint });
|
|
1111
1111
|
tagList.push({ mfgCode: null, namespaceId: SwitchesTag.Custom.namespaceId, tag: SwitchesTag.Custom.tag, label: 'endpoint ' + endpoint });
|
|
1112
1112
|
if (zigbeeDevice.mutableDevice.has(endpoint)) {
|
|
1113
1113
|
zigbeeDevice.mutableDevice.get(endpoint)?.deviceTypes.push(z2m.deviceType);
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge-zigbee2mqtt",
|
|
3
|
-
"version": "3.2.0-dev-
|
|
3
|
+
"version": "3.2.0-dev-20260717-87bd309",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "matterbridge-zigbee2mqtt",
|
|
9
|
-
"version": "3.2.0-dev-
|
|
9
|
+
"version": "3.2.0-dev-20260717-87bd309",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"moment": "2.30.1",
|
|
@@ -602,9 +602,9 @@
|
|
|
602
602
|
}
|
|
603
603
|
},
|
|
604
604
|
"node_modules/ws": {
|
|
605
|
-
"version": "8.21.
|
|
606
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-8.21.
|
|
607
|
-
"integrity": "sha512
|
|
605
|
+
"version": "8.21.1",
|
|
606
|
+
"resolved": "https://registry.npmjs.org/ws/-/ws-8.21.1.tgz",
|
|
607
|
+
"integrity": "sha512-+0NTnW77fFN/DjQi6k/Sq/Yvk4Sgajw7urW8V+asjXnRgDs9gyGkdb7EzgfhA4goXsRIZKE28fzIXBHEzhuiWw==",
|
|
608
608
|
"license": "MIT",
|
|
609
609
|
"engines": {
|
|
610
610
|
"node": ">=10.0.0"
|
package/package.json
CHANGED