matterbridge-example-dynamic-platform 1.0.23 → 1.1.0

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
@@ -4,6 +4,29 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  If you like this project and find it useful, please consider giving it a star on GitHub at https://github.com/Luligu/matterbridge-example-dynamic-platform and sponsoring it.
6
6
 
7
+ ## [1.1.0] - 2024-11-25
8
+
9
+ ### Changed
10
+
11
+ - [package]: Verified to work with matterbridge edge (matter.js new API).
12
+ - [package]: Require matterbridge 1.6.2
13
+ - [package]: Updated dependencies.
14
+
15
+ <a href="https://www.buymeacoffee.com/luligugithub">
16
+ <img src="./yellow-button.png" alt="Buy me a coffee" width="120">
17
+ </a>
18
+
19
+ ## [1.0.24] - 2024-11-10
20
+
21
+ ### Changed
22
+
23
+ - [package]: Update to matterbridge edge.
24
+ - [package]: Updated dependencies.
25
+
26
+ <a href="https://www.buymeacoffee.com/luligugithub">
27
+ <img src="./yellow-button.png" alt="Buy me a coffee" width="120">
28
+ </a>
29
+
7
30
  ## [1.0.23] - 2024-10-28
8
31
 
9
32
  ### Changed
@@ -1,5 +1,5 @@
1
- import { PlatformConfig } from 'matterbridge';
2
- import { Matterbridge, MatterbridgeDevice, MatterbridgeDynamicPlatform } from 'matterbridge';
1
+ import { AtLeastOne, DeviceTypeDefinition, EndpointOptions, PlatformConfig } from 'matterbridge';
2
+ import { Matterbridge, /* MatterbridgeEndpoint as */ MatterbridgeDevice, MatterbridgeDynamicPlatform } from 'matterbridge';
3
3
  import { AnsiLogger } from 'matterbridge/logger';
4
4
  export declare class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatform {
5
5
  switch: MatterbridgeDevice | undefined;
@@ -31,6 +31,7 @@ export declare class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDyna
31
31
  rainInterval: NodeJS.Timeout | undefined;
32
32
  smokeInterval: NodeJS.Timeout | undefined;
33
33
  airQualityInterval: NodeJS.Timeout | undefined;
34
+ createMutableDevice(definition: DeviceTypeDefinition | AtLeastOne<DeviceTypeDefinition>, options?: EndpointOptions, debug?: boolean): Promise<MatterbridgeDevice>;
34
35
  constructor(matterbridge: Matterbridge, log: AnsiLogger, config: PlatformConfig);
35
36
  onStart(reason?: string): Promise<void>;
36
37
  onConfigure(): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAoBL,cAAc,EAsBf,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAE7F,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,qBAAa,kCAAmC,SAAQ,2BAA2B;IACjF,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACvC,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC3C,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACvC,KAAK,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACtC,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxC,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxC,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxC,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACvC,KAAK,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACtC,IAAI,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACrC,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACvC,GAAG,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACpC,SAAS,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC1C,WAAW,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC5C,IAAI,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACrC,KAAK,EAAE,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