matterbridge 3.0.6-dev-20250612-a8a696e → 3.0.6-dev-20250612-6b6e953

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 CHANGED
@@ -13,10 +13,20 @@ If you like this project and find it useful, please consider giving it a star on
13
13
  ### Added
14
14
 
15
15
  - [tests] Update Jest test coverage on addBridgedEndpoint and removeBridgedEndpoint.
16
+ - [fan]: Added createMultiSpeedFanControlClusterServer claster helper with MultiSpeed feature.
17
+ - [fan]: Added all parameters to the fan cluster helpers.
18
+ - [valve]: Added logic in MatterbridgeValveConfigurationAndControlServer.
19
+ - [command]: Added cluster property to commandHandler data object.
16
20
 
17
21
  ### Changed
18
22
 
19
23
  - [package]: Updated dependencies.
24
+ - [fan]: The default fan has no more the MultiSpeed feature.
25
+ - [behaviors]: Bump Matterbridge Behaviors to 1.3.0
26
+ - [evse]: Updated class and behavior to 1.1.0.
27
+ - [waterHeater]: Updated class and behavior to 1.1.0.
28
+ - [rvc]: Updated class and behavior to 1.1.0.
29
+ - [laundryWasher]: Updated class and behavior to 1.1.0.
20
30
 
21
31
  ### Fixed
22
32
 
@@ -218,7 +218,7 @@ export class MatterbridgeDoorLockServer extends DoorLockServer {
218
218
  super.unlockDoor();
219
219
  }
220
220
  }
221
- export class MatterbridgeFanControlServer extends FanControlServer.with(FanControl.Feature.MultiSpeed, FanControl.Feature.Auto, FanControl.Feature.Step) {
221
+ export class MatterbridgeFanControlServer extends FanControlServer.with(FanControl.Feature.Auto, FanControl.Feature.Step) {
222
222
  step(request) {
223
223
  const device = this.endpoint.stateOf(MatterbridgeServer);
224
224
  device.log.info(`Stepping fan with direction ${request.direction} (endpoint ${this.endpoint.maybeId}.${this.endpoint.maybeNumber})`);
@@ -803,24 +803,33 @@ export class MatterbridgeEndpoint extends Endpoint {
803
803
  });
804
804
  return this;
805
805
  }
806
- createDefaultFanControlClusterServer(fanMode = FanControl.FanMode.Off) {
806
+ createDefaultFanControlClusterServer(fanMode = FanControl.FanMode.Off, fanModeSequence = FanControl.FanModeSequence.OffLowMedHighAuto, percentSetting = 0, percentCurrent = 0) {
807
+ this.behaviors.require(MatterbridgeFanControlServer.with(FanControl.Feature.Auto, FanControl.Feature.Step), {
808
+ fanMode,
809
+ fanModeSequence,
810
+ percentSetting,
811
+ percentCurrent,
812
+ });
813
+ return this;
814
+ }
815
+ createMultiSpeedFanControlClusterServer(fanMode = FanControl.FanMode.Off, fanModeSequence = FanControl.FanModeSequence.OffLowMedHighAuto, percentSetting = 0, percentCurrent = 0, speedMax = 10, speedSetting = 0, speedCurrent = 0) {
807
816
  this.behaviors.require(MatterbridgeFanControlServer.with(FanControl.Feature.MultiSpeed, FanControl.Feature.Auto, FanControl.Feature.Step), {
808
817
  fanMode,
809
- fanModeSequence: FanControl.FanModeSequence.OffLowMedHighAuto,
810
- percentSetting: 0,
811
- percentCurrent: 0,
812
- speedMax: 100,
813
- speedSetting: 0,
814
- speedCurrent: 0,
818
+ fanModeSequence,
819
+ percentSetting,
820
+ percentCurrent,
821
+ speedMax,
822
+ speedSetting,
823
+ speedCurrent,
815
824
  });
816
825
  return this;
817
826
  }
818
- createBaseFanControlClusterServer(fanMode = FanControl.FanMode.Off) {
827
+ createBaseFanControlClusterServer(fanMode = FanControl.FanMode.Off, fanModeSequence = FanControl.FanModeSequence.OffLowMedHigh, percentSetting = 0, percentCurrent = 0) {
819
828
  this.behaviors.require(FanControlServer, {
820
829
  fanMode,
821
- fanModeSequence: FanControl.FanModeSequence.OffLowMedHigh,
822
- percentSetting: 0,
823
- percentCurrent: 0,
830
+ fanModeSequence,
831
+ percentSetting,
832
+ percentCurrent,
824
833
  });
825
834
  return this;
826
835
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "3.0.6-dev-20250612-a8a696e",
3
+ "version": "3.0.6-dev-20250612-6b6e953",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge",
9
- "version": "3.0.6-dev-20250612-a8a696e",
9
+ "version": "3.0.6-dev-20250612-6b6e953",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@matter/main": "0.14.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "3.0.6-dev-20250612-a8a696e",
3
+ "version": "3.0.6-dev-20250612-6b6e953",
4
4
  "description": "Matterbridge plugin manager for Matter",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",