matterbridge 1.6.6-dev.3 → 1.6.6-dev.5

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
@@ -25,7 +25,7 @@ Tamer (https://github.com/tammeryousef1006) has created the Matterbridge Discord
25
25
  ### Changed
26
26
 
27
27
  - [plugin]: Removed check on package types since we are moving to production plugins.
28
- - [package]: Set node version to 18, 20 and 22.
28
+ - [package]: Set required node version to 18, 20 and 22.
29
29
  - [package]: Update dependencies.
30
30
  - [levelControl]: Set default to OnOff.Feature.Lighting.
31
31
  - [jest]: Update Jest tests.
@@ -702,6 +702,8 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
702
702
  colorTemperatureMireds,
703
703
  colorTempPhysicalMinMireds,
704
704
  colorTempPhysicalMaxMireds,
705
+ coupleColorTempToLevelMinMireds: colorTempPhysicalMinMireds,
706
+ startUpColorTemperatureMireds: null,
705
707
  }, {
706
708
  moveToColor: async (data) => {
707
709
  this.log.debug('Matter command: moveToColor request:', data.request, 'attributes.currentX:', data.attributes.currentX.getLocal(), 'attributes.currentY:', data.attributes.currentY.getLocal());
@@ -782,7 +784,7 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
782
784
  },
783
785
  }, {});
784
786
  }
785
- createXyControlClusterServer(currentX = 0, currentY = 0) {
787
+ createXyColorControlClusterServer(currentX = 0, currentY = 0) {
786
788
  this.addClusterServer(this.getXyColorControlClusterServer(currentX, currentY));
787
789
  }
788
790
  getHsColorControlClusterServer(currentHue = 0, currentSaturation = 0) {
@@ -841,6 +843,8 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
841
843
  colorTemperatureMireds,
842
844
  colorTempPhysicalMinMireds,
843
845
  colorTempPhysicalMaxMireds,
846
+ coupleColorTempToLevelMinMireds: colorTempPhysicalMinMireds,
847
+ startUpColorTemperatureMireds: null,
844
848
  }, {
845
849
  stopMoveStep: async () => {
846
850
  this.log.error('Matter command: stopMoveStep not implemented');
@@ -990,7 +990,7 @@ export class MatterbridgeEndpoint extends Endpoint {
990
990
  },
991
991
  }, {});
992
992
  }
993
- createXyControlClusterServer(currentX = 0, currentY = 0) {
993
+ createXyColorControlClusterServer(currentX = 0, currentY = 0) {
994
994
  this.addClusterServer(this.getXyColorControlClusterServer(currentX, currentY));
995
995
  }
996
996
  getHsColorControlClusterServer(currentHue = 0, currentSaturation = 0) {
@@ -1038,6 +1038,8 @@ export class MatterbridgeEndpoint extends Endpoint {
1038
1038
  colorTemperatureMireds,
1039
1039
  colorTempPhysicalMinMireds,
1040
1040
  colorTempPhysicalMaxMireds,
1041
+ coupleColorTempToLevelMinMireds: colorTempPhysicalMinMireds,
1042
+ startUpColorTemperatureMireds: null,
1041
1043
  }, {
1042
1044
  stopMoveStep: async () => {
1043
1045
  },
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "1.6.6-dev.3",
3
+ "version": "1.6.6-dev.5",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge",
9
- "version": "1.6.6-dev.3",
9
+ "version": "1.6.6-dev.5",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@matter/main": "0.11.8",
@@ -489,16 +489,15 @@
489
489
  }
490
490
  },
491
491
  "node_modules/call-bind": {
492
- "version": "1.0.7",
493
- "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
494
- "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
492
+ "version": "1.0.8",
493
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz",
494
+ "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==",
495
495
  "license": "MIT",
496
496
  "dependencies": {
497
+ "call-bind-apply-helpers": "^1.0.0",
497
498
  "es-define-property": "^1.0.0",
498
- "es-errors": "^1.3.0",
499
- "function-bind": "^1.1.2",
500
499
  "get-intrinsic": "^1.2.4",
501
- "set-function-length": "^1.2.1"
500
+ "set-function-length": "^1.2.2"
502
501
  },
503
502
  "engines": {
504
503
  "node": ">= 0.4"
@@ -507,6 +506,19 @@
507
506
  "url": "https://github.com/sponsors/ljharb"
508
507
  }
509
508
  },
509
+ "node_modules/call-bind-apply-helpers": {
510
+ "version": "1.0.0",
511
+ "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.0.tgz",
512
+ "integrity": "sha512-CCKAP2tkPau7D3GE8+V8R6sQubA9R5foIzGp+85EXCVSCivuxBNAWqcpn72PKYiIcqoViv/kcUDpaEIMBVi1lQ==",
513
+ "license": "MIT",
514
+ "dependencies": {
515
+ "es-errors": "^1.3.0",
516
+ "function-bind": "^1.1.2"
517
+ },
518
+ "engines": {
519
+ "node": ">= 0.4"
520
+ }
521
+ },
510
522
  "node_modules/color-convert": {
511
523
  "version": "2.0.1",
512
524
  "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
@@ -1844,10 +1856,13 @@
1844
1856
  }
1845
1857
  },
1846
1858
  "node_modules/text-decoder": {
1847
- "version": "1.2.1",
1848
- "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.1.tgz",
1849
- "integrity": "sha512-x9v3H/lTKIJKQQe7RPQkLfKAnc9lUTkWDypIQgTzPJAq+5/GCDHonmshfvlsNSj58yyshbIJJDLmU15qNERrXQ==",
1850
- "license": "Apache-2.0"
1859
+ "version": "1.2.2",
1860
+ "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.2.tgz",
1861
+ "integrity": "sha512-/MDslo7ZyWTA2vnk1j7XoDVfXsGk3tp+zFEJHJGm0UjIlQifonVFwlVbQDFh8KJzTBnT8ie115TYqir6bclddA==",
1862
+ "license": "Apache-2.0",
1863
+ "dependencies": {
1864
+ "b4a": "^1.6.4"
1865
+ }
1851
1866
  },
1852
1867
  "node_modules/toidentifier": {
1853
1868
  "version": "1.0.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "1.6.6-dev.3",
3
+ "version": "1.6.6-dev.5",
4
4
  "description": "Matterbridge plugin manager for Matter",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",