Skip to content

Commit

Permalink
Release 1.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Luligu committed Mar 13, 2024
1 parent 2cad737 commit 7388f0b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"build": "tsc",
"watch": "tsc --watch",
"start:test": "node ./dist/cli.js -test",
"start:bridge": "node ./dist/index.js -bridge",
"start:childbridge": "node ./dist/index.js -childbridge",
"start:help": "node ./dist/index.js -help",
"start:bridge": "matterbridge -bridge",
"start:childbridge": "matterbridge -childbridge",
"start:help": "matterbridge -help",
"test": "jest",
"test:verbose": "jest --verbose",
"test:watch": "jest --watch",
Expand Down
9 changes: 1 addition & 8 deletions src/AirQualityCluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@
* limitations under the License. *
*/

/* eslint-disable @typescript-eslint/no-unused-vars */
/* eslint-disable @typescript-eslint/ban-types */
/* eslint-disable @typescript-eslint/no-namespace */
/* eslint-disable @typescript-eslint/ban-types */
import { ClusterFactory } from '@project-chip/matter-node.js/cluster';
import { Attribute } from '@project-chip/matter-node.js/cluster';
import { BitFlag, BitFlags, TypeFromPartialBitSchema } from '@project-chip/matter-node.js/schema';
Expand Down Expand Up @@ -102,12 +101,6 @@ export namespace AirQuality {
(SF extends { moderateAirQuality: true } ? typeof ModerateAirQualityComponent : {}) &
(SF extends { veryPoorAirQuality: true } ? typeof VeryPoorAirQualityComponent : {}) &
(SF extends { extremelyPoorAirQuality: true } ? typeof ExtremelyPoorAirQualityComponent : {});

const MSM = { momentarySwitchMultiPress: true };
const LS = { latchingSwitch: true };
const MS = { momentarySwitch: true };
const MSL = { momentarySwitchLongPress: true };
const MSR = { momentarySwitchRelease: true };
}

export type AirQualityCluster = typeof AirQuality.Cluster;
Expand Down
5 changes: 2 additions & 3 deletions src/TvocCluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@
* limitations under the License. *
*/

/* eslint-disable @typescript-eslint/no-unused-vars */
/* eslint-disable @typescript-eslint/ban-types */
/* eslint-disable @typescript-eslint/no-namespace */
/* eslint-disable @typescript-eslint/ban-types */
import { ClusterFactory, OptionalAttribute } from '@project-chip/matter-node.js/cluster';
import { Attribute } from '@project-chip/matter-node.js/cluster';
import { BitFlag, BitFlags, TypeFromPartialBitSchema } from '@project-chip/matter-node.js/schema';
import { TlvEnum, TlvInt16, TlvNullable, TlvUInt16 } from '@project-chip/matter-node.js/tlv';
import { TlvEnum, TlvNullable, TlvUInt16 } from '@project-chip/matter-node.js/tlv';

export namespace TvocMeasurement {
export enum Feature {
Expand Down
2 changes: 1 addition & 1 deletion src/matterbridgeDevice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods<typeof Device
HistorySetTime: Uint8Array.fromHex(''),
// Normal attributes
Elevation: 0,
LastPressure: 1000,
AirPressure: 1000,
WeatherTrend: WeatherTrend.SUN,
TemperatureDisplayUnits: TemperatureDisplayUnits.CELSIUS,
RLoc: 46080,
Expand Down

0 comments on commit 7388f0b

Please sign in to comment.