matterbridge 1.6.6-dev.16 → 1.6.6-dev.18

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
@@ -14,7 +14,7 @@ If you want to run Matterbridge in Home Assistant please use the official add-on
14
14
 
15
15
  Tamer (https://github.com/tammeryousef1006) has created the Matterbridge Discord group: https://discord.gg/QX58CDe6hd.
16
16
 
17
- ## [1.6.6-dev.16] - 2024-12-12
17
+ ## [1.6.6-dev.18] - 2024-12-12
18
18
 
19
19
  ### Added
20
20
 
@@ -131,9 +131,9 @@ export class MatterbridgeEndpoint extends Endpoint {
131
131
  if (clusterId === ColorControl.Cluster.id && subType === 'CompleteColorControl')
132
132
  return MatterbridgeColorControlServer;
133
133
  if (clusterId === ColorControl.Cluster.id && subType === 'XyColorControl')
134
- return MatterbridgeColorControlServer.with('Xy');
134
+ return MatterbridgeColorControlServer.with('Xy', 'ColorTemperature');
135
135
  if (clusterId === ColorControl.Cluster.id && subType === 'HueSaturationColorControl')
136
- return MatterbridgeColorControlServer.with('HueSaturation');
136
+ return MatterbridgeColorControlServer.with('HueSaturation', 'ColorTemperature');
137
137
  if (clusterId === ColorControl.Cluster.id && subType === 'ColorTemperatureColorControl')
138
138
  return MatterbridgeColorControlServer.with('ColorTemperature');
139
139
  if (clusterId === DoorLock.Cluster.id)
@@ -421,9 +421,9 @@ export class MatterbridgeEndpoint extends Endpoint {
421
421
  this.log.debug(`****cluster ${hk}${'0x' + cluster.id.toString(16).padStart(4, '0')}${db}-${hk}${getClusterNameById(cluster.id)}${db} already added`);
422
422
  }
423
423
  this.subType = '';
424
- if (cluster.id === ColorControl.Cluster.id && cluster.isAttributeSupportedByName('currentX') && !cluster.isAttributeSupportedByName('currentHue') && !cluster.isAttributeSupportedByName('colorTemperatureMireds'))
424
+ if (cluster.id === ColorControl.Cluster.id && cluster.isAttributeSupportedByName('currentX') && !cluster.isAttributeSupportedByName('currentHue'))
425
425
  this.subType = 'XyColorControl';
426
- else if (cluster.id === ColorControl.Cluster.id && cluster.isAttributeSupportedByName('currentHue') && !cluster.isAttributeSupportedByName('currentX') && !cluster.isAttributeSupportedByName('colorTemperatureMireds'))
426
+ else if (cluster.id === ColorControl.Cluster.id && cluster.isAttributeSupportedByName('currentHue') && !cluster.isAttributeSupportedByName('currentX'))
427
427
  this.subType = 'HueSaturationColorControl';
428
428
  else if (cluster.id === ColorControl.Cluster.id && cluster.isAttributeSupportedByName('colorTemperatureMireds') && !cluster.isAttributeSupportedByName('currentHue') && !cluster.isAttributeSupportedByName('currentX'))
429
429
  this.subType = 'ColorTemperatureColorControl';
@@ -949,7 +949,7 @@ export class MatterbridgeEndpoint extends Endpoint {
949
949
  return ClusterServer(ColorControlCluster.with(ColorControl.Feature.Xy, ColorControl.Feature.ColorTemperature), {
950
950
  colorMode: ColorControl.ColorMode.CurrentXAndCurrentY,
951
951
  enhancedColorMode: ColorControl.EnhancedColorMode.CurrentXAndCurrentY,
952
- colorCapabilities: { xy: true, hueSaturation: false, colorLoop: false, enhancedHue: false, colorTemperature: false },
952
+ colorCapabilities: { xy: true, hueSaturation: false, colorLoop: false, enhancedHue: false, colorTemperature: true },
953
953
  options: {
954
954
  executeIfOff: false,
955
955
  },
@@ -986,7 +986,7 @@ export class MatterbridgeEndpoint extends Endpoint {
986
986
  return ClusterServer(ColorControlCluster.with(ColorControl.Feature.HueSaturation, ColorControl.Feature.ColorTemperature), {
987
987
  colorMode: ColorControl.ColorMode.CurrentHueAndCurrentSaturation,
988
988
  enhancedColorMode: ColorControl.EnhancedColorMode.CurrentHueAndCurrentSaturation,
989
- colorCapabilities: { xy: false, hueSaturation: true, colorLoop: false, enhancedHue: false, colorTemperature: false },
989
+ colorCapabilities: { xy: false, hueSaturation: true, colorLoop: false, enhancedHue: false, colorTemperature: true },
990
990
  options: {
991
991
  executeIfOff: false,
992
992
  },
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "1.6.6-dev.16",
3
+ "version": "1.6.6-dev.18",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge",
9
- "version": "1.6.6-dev.16",
9
+ "version": "1.6.6-dev.18",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@matter/main": "0.11.9",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "1.6.6-dev.16",
3
+ "version": "1.6.6-dev.18",
4
4
  "description": "Matterbridge plugin manager for Matter",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",