@matterbridge/core 3.5.5-dev-20260219-7ee6be2 → 3.5.5-dev-20260219-b2acd38
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/dist/frontend.js
CHANGED
|
@@ -1148,8 +1148,7 @@ export class Frontend extends EventEmitter {
|
|
|
1148
1148
|
childEndpoint.forEachAttribute((clusterName, clusterId, attributeName, attributeId, attributeValue) => {
|
|
1149
1149
|
if (typeof attributeValue === 'undefined' || attributeValue === undefined)
|
|
1150
1150
|
return;
|
|
1151
|
-
if (clusterName === 'EveHistory' &&
|
|
1152
|
-
['configDataGet', 'configDataSet', 'historyStatus', 'historyEntries', 'historyRequest', 'historySetTime', 'rLoc'].includes(attributeName))
|
|
1151
|
+
if (clusterName === 'EveHistory' && ['configDataGet', 'configDataSet', 'historyStatus', 'historyEntries', 'historyRequest', 'historySetTime', 'rLoc'].includes(attributeName))
|
|
1153
1152
|
return;
|
|
1154
1153
|
clusters.push({
|
|
1155
1154
|
endpoint: childEndpoint.number.toString(),
|
|
@@ -559,6 +559,7 @@ export async function addDevice(owner, device, pause = 10) {
|
|
|
559
559
|
expect(owner.lifecycle.isReady).toBeTruthy();
|
|
560
560
|
expect(owner.construction.status).toBe(Lifecycle.Status.Active);
|
|
561
561
|
expect(owner.lifecycle.isPartsReady).toBeTruthy();
|
|
562
|
+
await flushAsync(undefined, undefined, pause);
|
|
562
563
|
try {
|
|
563
564
|
await owner.add(device);
|
|
564
565
|
}
|
package/dist/matterbridge.js
CHANGED
|
@@ -259,9 +259,7 @@ export class Matterbridge extends EventEmitter {
|
|
|
259
259
|
this.matterbridgeCertDirectory = this.profile ? path.join(this.homeDirectory, '.mattercert', 'profiles', this.profile) : path.join(this.homeDirectory, '.mattercert');
|
|
260
260
|
await createDirectory(this.matterbridgeCertDirectory, 'Matterbridge Matter Certificate Directory', this.log);
|
|
261
261
|
const currentFileDirectory = path.dirname(fileURLToPath(import.meta.url));
|
|
262
|
-
this.rootDirectory = currentFileDirectory.includes(path.join('packages', 'core'))
|
|
263
|
-
? path.resolve(currentFileDirectory, '../', '../', '../')
|
|
264
|
-
: path.resolve(currentFileDirectory, '../', '../', '..', '../');
|
|
262
|
+
this.rootDirectory = currentFileDirectory.includes(path.join('packages', 'core')) ? path.resolve(currentFileDirectory, '../', '../', '../') : path.resolve(currentFileDirectory, '../', '../', '..', '../');
|
|
265
263
|
this.environment.vars.set('log.level', MatterLogLevel.INFO);
|
|
266
264
|
this.environment.vars.set('log.format', hasParameter('no-ansi') || process.env.NO_COLOR === '1' ? MatterLogFormat.PLAIN : MatterLogFormat.ANSI);
|
|
267
265
|
this.environment.vars.set('path.root', path.join(this.matterbridgeDirectory, MATTER_STORAGE_NAME));
|
|
@@ -881,7 +881,7 @@ export class MatterbridgeEndpoint extends Endpoint {
|
|
|
881
881
|
return this;
|
|
882
882
|
}
|
|
883
883
|
createDefaultPresetsThermostatClusterServer(localTemperature = 23, occupiedHeatingSetpoint = 21, occupiedCoolingSetpoint = 25, minSetpointDeadBand = 2, minHeatSetpointLimit = 0, maxHeatSetpointLimit = 50, minCoolSetpointLimit = 0, maxCoolSetpointLimit = 50, unoccupiedHeatingSetpoint = undefined, unoccupiedCoolingSetpoint = undefined, occupied = undefined, outdoorTemperature = undefined, activePresetHandle = undefined, presetsList = undefined, presetTypes = undefined) {
|
|
884
|
-
this.behaviors.require(MatterbridgeThermostatServer.with(Thermostat.Feature.Heating, Thermostat.Feature.Cooling, Thermostat.Feature.AutoMode, ...(occupied !== undefined ? [Thermostat.Feature.Occupancy] : []),
|
|
884
|
+
this.behaviors.require(MatterbridgeThermostatServer.with(Thermostat.Feature.Heating, Thermostat.Feature.Cooling, Thermostat.Feature.AutoMode, ...(occupied !== undefined ? [Thermostat.Feature.Occupancy] : []), Thermostat.Feature.Presets), {
|
|
885
885
|
localTemperature: localTemperature * 100,
|
|
886
886
|
externalMeasuredIndoorTemperature: localTemperature * 100,
|
|
887
887
|
...(outdoorTemperature !== undefined ? { outdoorTemperature: outdoorTemperature !== null ? outdoorTemperature * 100 : outdoorTemperature } : {}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matterbridge/core",
|
|
3
|
-
"version": "3.5.5-dev-20260219-
|
|
3
|
+
"version": "3.5.5-dev-20260219-b2acd38",
|
|
4
4
|
"description": "Matterbridge core library",
|
|
5
5
|
"author": "https://github.com/Luligu",
|
|
6
6
|
"homepage": "https://matterbridge.io/",
|
|
@@ -122,13 +122,13 @@
|
|
|
122
122
|
],
|
|
123
123
|
"dependencies": {
|
|
124
124
|
"@matter/main": "0.16.8",
|
|
125
|
-
"@matterbridge/dgram": "3.5.5-dev-20260219-
|
|
126
|
-
"@matterbridge/thread": "3.5.5-dev-20260219-
|
|
127
|
-
"@matterbridge/types": "3.5.5-dev-20260219-
|
|
128
|
-
"@matterbridge/utils": "3.5.5-dev-20260219-
|
|
125
|
+
"@matterbridge/dgram": "3.5.5-dev-20260219-b2acd38",
|
|
126
|
+
"@matterbridge/thread": "3.5.5-dev-20260219-b2acd38",
|
|
127
|
+
"@matterbridge/types": "3.5.5-dev-20260219-b2acd38",
|
|
128
|
+
"@matterbridge/utils": "3.5.5-dev-20260219-b2acd38",
|
|
129
129
|
"archiver": "7.0.1",
|
|
130
130
|
"express": "5.2.1",
|
|
131
|
-
"glob": "13.0.
|
|
131
|
+
"glob": "13.0.6",
|
|
132
132
|
"multer": "2.0.2",
|
|
133
133
|
"node-ansi-logger": "3.2.0",
|
|
134
134
|
"node-persist-manager": "2.0.1",
|
|
@@ -137,5 +137,8 @@
|
|
|
137
137
|
"overrides": {
|
|
138
138
|
"eslint": "10.0.0",
|
|
139
139
|
"@eslint/js": "10.0.1"
|
|
140
|
+
},
|
|
141
|
+
"\\scripts": {
|
|
142
|
+
"deepClean": "npx shx rm -rf *.tsbuildinfo dist coverage jest temp package-lock.json npm-shrinkwrap.json .cache node_modules\\"
|
|
140
143
|
}
|
|
141
144
|
}
|