From 7388f0b6b6b468c40e7b035691e47a247ade7c8f Mon Sep 17 00:00:00 2001 From: Luligu <132135057+Luligu@users.noreply.github.com> Date: Wed, 13 Mar 2024 23:52:11 +0100 Subject: [PATCH] Release 1.1.6 --- package.json | 6 +++--- src/AirQualityCluster.ts | 9 +-------- src/TvocCluster.ts | 5 ++--- src/matterbridgeDevice.ts | 2 +- 4 files changed, 7 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index e8f59867..46e22f27 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/AirQualityCluster.ts b/src/AirQualityCluster.ts index 8aa5a214..afabeef7 100644 --- a/src/AirQualityCluster.ts +++ b/src/AirQualityCluster.ts @@ -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'; @@ -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; diff --git a/src/TvocCluster.ts b/src/TvocCluster.ts index c6219719..46320141 100644 --- a/src/TvocCluster.ts +++ b/src/TvocCluster.ts @@ -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 { diff --git a/src/matterbridgeDevice.ts b/src/matterbridgeDevice.ts index 8ce26ca7..203aab90 100644 --- a/src/matterbridgeDevice.ts +++ b/src/matterbridgeDevice.ts @@ -264,7 +264,7 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods