@basmilius/homey-common 1.0.6 → 1.0.8
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/dist/device.d.ts +5 -1
- package/dist/flow.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/src/device.ts +5 -1
- package/src/flow.ts +5 -1
package/dist/device.d.ts
CHANGED
|
@@ -2,8 +2,12 @@ import Homey from "homey";
|
|
|
2
2
|
import type HomeyNS from "homey/lib/Homey";
|
|
3
3
|
import type { App } from "./app";
|
|
4
4
|
import type { Language } from "./types";
|
|
5
|
-
export declare class Device<
|
|
5
|
+
export declare class Device<
|
|
6
|
+
TApp extends App<TApp>,
|
|
7
|
+
TDriver extends Driver<TApp>
|
|
8
|
+
> extends Homey.Device {
|
|
6
9
|
get app(): TApp;
|
|
10
|
+
get appDriver(): TDriver;
|
|
7
11
|
get id(): string;
|
|
8
12
|
get name(): string;
|
|
9
13
|
get dashboards(): HomeyNS["dashboards"];
|
package/dist/flow.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare abstract class FlowConditionEntity<
|
|
|
32
32
|
> extends FlowEntity<TApp, Homey.FlowCardCondition, TArgs, TState, boolean> {}
|
|
33
33
|
export declare abstract class FlowDeviceTriggerEntity<
|
|
34
34
|
TApp extends App<TApp>,
|
|
35
|
-
TDevice extends Device<TApp>,
|
|
35
|
+
TDevice extends Device<TApp, any>,
|
|
36
36
|
TArgs = unknown,
|
|
37
37
|
TState = unknown,
|
|
38
38
|
TTokens = unknown
|