Skip to content

Commit

Permalink
Release 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Luligu committed Dec 15, 2024
1 parent ebff2bc commit 885faef
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
"dev:unlink": "npm unlink matterbridge"
},
"devDependencies": {
"@eslint/js": "9.16.0",
"@eslint/js": "9.17.0",
"@types/eslint__js": "8.42.3",
"@types/jest": "29.5.14",
"@types/node": "22.10.2",
"eslint": "9.16.0",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "28.9.0",
"eslint-plugin-prettier": "5.2.1",
Expand Down
8 changes: 4 additions & 4 deletions src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
airQuality: MatterbridgeDevice | undefined;
airConditioner: MatterbridgeDevice | undefined;
airPurifier: MatterbridgeDevice | undefined;
pump: MatterbridgeDevice | undefined;
valve: MatterbridgeDevice | undefined;

switchInterval: NodeJS.Timeout | undefined;
lightInterval: NodeJS.Timeout | undefined;
Expand Down Expand Up @@ -826,7 +828,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
this.airPurifier.log.logName = 'Air purifier';
this.airPurifier.createDefaultBridgedDeviceBasicInformationClusterServer(
'Air purifier',
'0x96584864',
'0x96584864AP',
0xfff1,
'Matterbridge',
'Matterbridge Air purifier',
Expand Down Expand Up @@ -890,7 +892,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
this.airConditioner.log.logName = 'Air conditioner';
this.airConditioner.createDefaultBridgedDeviceBasicInformationClusterServer(
'Air conditioner',
'0x96382864',
'0x96382864AC',
0xfff1,
'Matterbridge',
'Matterbridge Air conditioner',
Expand Down Expand Up @@ -972,7 +974,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
if (isValidNumber(newValue, 0, 100)) await this.fan?.setAttribute(FanControlCluster.id, 'percentCurrent', newValue, this.fan?.log);
},
this.fan.log,
this.fan,
);
this.fan.subscribeAttribute(
FanControlCluster.id,
Expand All @@ -982,7 +983,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
if (isValidNumber(newValue, 0, 100)) await this.fan?.setAttribute(FanControlCluster.id, 'speedCurrent', newValue, this.fan?.log);
},
this.fan.log,
this.fan,
);

/** ********************* Create a waterLeakDetector device ***********************/
Expand Down

0 comments on commit 885faef

Please sign in to comment.