matterbridge-eve-door 1.2.0-dev.1 → 1.2.1

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [1.2.0-dev.1] - 2025-02-01
5
+ ## [1.2.1] - 2025-02-01
6
6
 
7
7
  ### Changed
8
8
 
package/dist/platform.js CHANGED
@@ -1,4 +1,5 @@
1
- import { BooleanState, MatterbridgeAccessoryPlatform, powerSource, MatterbridgeEndpoint, contactSensor, PowerSource } from 'matterbridge';
1
+ import { MatterbridgeAccessoryPlatform, powerSource, MatterbridgeEndpoint, contactSensor } from 'matterbridge';
2
+ import { BooleanState, PowerSource } from 'matterbridge/matter/clusters';
2
3
  import { MatterHistory } from 'matter-history';
3
4
  export class EveDoorPlatform extends MatterbridgeAccessoryPlatform {
4
5
  door;
@@ -13,7 +14,7 @@ export class EveDoorPlatform extends MatterbridgeAccessoryPlatform {
13
14
  }
14
15
  async onStart(reason) {
15
16
  this.log.info('onStart called with reason:', reason ?? 'none');
16
- this.history = new MatterHistory(this.log, 'Eve door', { filePath: this.matterbridge.matterbridgeDirectory, edge: this.matterbridge.edge });
17
+ this.history = new MatterHistory(this.log, 'Eve door', { filePath: this.matterbridge.matterbridgeDirectory });
17
18
  this.door = new MatterbridgeEndpoint([contactSensor, powerSource], { uniqueStorageKey: 'Eve door' }, this.config.debug);
18
19
  this.door.createDefaultIdentifyClusterServer();
19
20
  this.door.createDefaultBasicInformationClusterServer('Eve door', '0x88030475', 4874, 'Eve Systems', 77, 'Eve Door 20EBN9901', 1144, '1.2.8');
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "matterbridge-eve-door",
3
- "version": "1.2.0-dev.1",
3
+ "version": "1.2.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge-eve-door",
9
- "version": "1.2.0-dev.1",
9
+ "version": "1.2.1",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "matter-history": "1.1.17-dev.8",
12
+ "matter-history": "1.1.17",
13
13
  "node-ansi-logger": "3.0.0",
14
14
  "node-persist-manager": "1.0.8"
15
15
  },
@@ -18,9 +18,9 @@
18
18
  }
19
19
  },
20
20
  "node_modules/matter-history": {
21
- "version": "1.1.17-dev.8",
22
- "resolved": "https://registry.npmjs.org/matter-history/-/matter-history-1.1.17-dev.8.tgz",
23
- "integrity": "sha512-r/qr30WlJkLbmFVhF6fbeTPZFaLaznYBZVhZuPPAeCY0Y1FN+YdqKzUd59jAeSMQQZNGmPqOuHnOlrkzczKA1g==",
21
+ "version": "1.1.17",
22
+ "resolved": "https://registry.npmjs.org/matter-history/-/matter-history-1.1.17.tgz",
23
+ "integrity": "sha512-Vi39S6HtYzugj70jsRX9Ak401UIIG01tGIT9e54zfw2g/3jtZfgC9u/DVsXTGQlRt/jpdjo3maABwa4lmoqg/A==",
24
24
  "hasShrinkwrap": true,
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge-eve-door",
3
- "version": "1.2.0-dev.1",
3
+ "version": "1.2.1",
4
4
  "description": "Matterbridge eve door with history",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  "node": ">=18.0.0 <19.0.0 || >=20.0.0 <21.0.0 || >=22.0.0 <23.0.0"
28
28
  },
29
29
  "dependencies": {
30
- "matter-history": "1.1.17-dev.8",
30
+ "matter-history": "1.1.17",
31
31
  "node-ansi-logger": "3.0.0",
32
32
  "node-persist-manager": "1.0.8"
33
33
  }