matterbridge-example-dynamic-platform 2.0.15 → 2.0.16-dev-20260419-d6bc639

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
@@ -26,6 +26,10 @@ If you like this project and find it useful, please consider giving it a star on
26
26
 
27
27
  <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="120"></a>
28
28
 
29
+ ## [2.0.16] - Dev branch
30
+
31
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
32
+
29
33
  ## [2.0.15] - 2026-04-08
30
34
 
31
35
  ### Added
package/dist/module.js CHANGED
@@ -768,7 +768,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
768
768
  const lookupSetpointAdjustMode = ['Heat', 'Cool', 'Both'];
769
769
  this.thermoAuto?.log.info(`Command setpointRaiseLower called with mode: ${lookupSetpointAdjustMode[mode]} amount: ${amount / 10}`);
770
770
  });
771
- await this.thermoAuto?.subscribeAttribute(Thermostat.CompleteInstance, 'systemMode', (value) => {
771
+ await this.thermoAuto?.subscribeAttribute(Thermostat.Complete, 'systemMode', (value) => {
772
772
  const lookupSystemMode = ['Off', 'Auto', '', 'Cool', 'Heat', 'EmergencyHeat', 'Precooling', 'FanOnly', 'Dry', 'Sleep'];
773
773
  this.thermoAuto?.log.info('Subscribe systemMode called with:', lookupSystemMode[value]);
774
774
  }, this.thermoAuto.log);
@@ -931,7 +931,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
931
931
  this.thermoAutoPresets?.addCommandHandler('setActivePresetRequest', async ({ request: { presetHandle } }) => {
932
932
  this.thermoAutoPresets?.log.info(`Command setActivePresetRequest called with presetHandle: ${presetHandle ? `0x${Buffer.from(presetHandle).toString('hex')}` : 'null'}`);
933
933
  });
934
- await this.thermoAutoPresets?.subscribeAttribute(Thermostat.CompleteInstance, 'systemMode', (newValue, oldValue) => {
934
+ await this.thermoAutoPresets?.subscribeAttribute(Thermostat.Complete, 'systemMode', (newValue, oldValue) => {
935
935
  const lookupSystemMode = ['Off', 'Auto', '', 'Cool', 'Heat', 'EmergencyHeat', 'Precooling', 'FanOnly', 'Dry', 'Sleep'];
936
936
  this.thermoAutoPresets?.log.info(`Subscribe systemMode called with: ${lookupSystemMode[newValue]} (old value: ${lookupSystemMode[oldValue]})`);
937
937
  }, this.thermoAutoPresets.log);
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge-example-dynamic-platform",
3
- "version": "2.0.15",
3
+ "version": "2.0.16-dev-20260419-d6bc639",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge-example-dynamic-platform",
9
- "version": "2.0.15",
9
+ "version": "2.0.16-dev-20260419-d6bc639",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "node-ansi-logger": "3.2.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge-example-dynamic-platform",
3
- "version": "2.0.15",
3
+ "version": "2.0.16-dev-20260419-d6bc639",
4
4
  "description": "Matterbridge dynamic plugin",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",