homey-api 1.10.20 → 3.0.0-rc.10
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/README.md +1 -1
- package/assets/types/homey-api.d.ts +54 -647
- package/assets/types/homey-api.private.d.ts +54 -707
- package/index.js +1 -1
- package/lib/APIErrorNotFound.js +20 -0
- package/lib/AthomCloudAPI/Homey.js +3 -1
- package/lib/EventEmitter.js +0 -6
- package/lib/HomeyAPI/HomeyAPI.js +53 -5
- package/lib/HomeyAPI/HomeyAPIErrorNotFound.js +21 -0
- package/lib/HomeyAPI/HomeyAPIV2/Manager.js +2 -575
- package/lib/HomeyAPI/HomeyAPIV2/ManagerDevices/Capability.js +20 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerDevices/Device.js +18 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerDevices.js +6 -3
- package/lib/HomeyAPI/HomeyAPIV2/ManagerDrivers/Driver.js +25 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerDrivers/PairSession.js +20 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerDrivers.js +46 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/AdvancedFlow.js +30 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/Flow.js +57 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/FlowCardAction.js +25 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/FlowCardCondition.js +25 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/FlowCardTrigger.js +25 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlow.js +127 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlowToken/FlowToken.js +24 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlowToken.js +29 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerInsights/Log.js +22 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerInsights.js +46 -0
- package/lib/HomeyAPI/HomeyAPIV2.js +12 -716
- package/lib/HomeyAPI/HomeyAPIV3/Item.js +186 -2
- package/lib/HomeyAPI/HomeyAPIV3/Manager.js +513 -3
- package/lib/HomeyAPI/{HomeyAPIV2 → HomeyAPIV3/ManagerApps}/App.js +1 -1
- package/lib/HomeyAPI/{HomeyAPIV2 → HomeyAPIV3}/ManagerApps.js +4 -3
- package/lib/HomeyAPI/HomeyAPIV3/ManagerDevices/Capability.js +9 -0
- package/lib/HomeyAPI/{HomeyAPIV2 → HomeyAPIV3/ManagerDevices}/Device.js +82 -7
- package/lib/HomeyAPI/{HomeyAPIV2 → HomeyAPIV3/ManagerDevices}/DeviceCapability.js +4 -4
- package/lib/HomeyAPI/HomeyAPIV3/ManagerDevices.js +17 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerDrivers/Driver.js +9 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerDrivers/PairSession.js +9 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerDrivers.js +17 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlow/AdvancedFlow.js +9 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlow/Flow.js +17 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlow/FlowCard.js +17 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlow/FlowCardAction.js +9 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlow/FlowCardCondition.js +9 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlow/FlowCardTrigger.js +9 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlow.js +12 -23
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlowToken/FlowToken.js +19 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlowToken.js +15 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerInsights/Log.js +23 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerInsights.js +15 -0
- package/lib/HomeyAPI/HomeyAPIV3.js +728 -4
- package/lib/HomeyAPI/HomeyAPIV3Cloud.js +1 -1
- package/lib/HomeyAPI/HomeyAPIV3Local.js +1 -1
- package/package.json +1 -1
- package/lib/HomeyAPI/HomeyAPIApp.js +0 -127
- package/lib/HomeyAPI/HomeyAPIV2/Item.js +0 -177
|
@@ -43,6 +43,18 @@
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export class APIErrorNotFound extends APIError {
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
message: string;
|
|
53
|
+
|
|
54
|
+
statusCode: number;
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
46
58
|
}
|
|
47
59
|
|
|
48
60
|
export class APIErrorTimeout extends APIError {
|
|
@@ -255,54 +267,19 @@
|
|
|
255
267
|
):
|
|
256
268
|
string | null;
|
|
257
269
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
export class HomeyAPIApp extends HomeyAPIV2 {
|
|
261
|
-
|
|
262
|
-
constructor(
|
|
270
|
+
createAppAPI(
|
|
263
271
|
|
|
264
272
|
|
|
265
273
|
|
|
266
274
|
|
|
267
|
-
|
|
275
|
+
opts: {
|
|
268
276
|
|
|
269
277
|
|
|
270
278
|
homey: Homey,
|
|
271
279
|
|
|
272
280
|
|
|
273
281
|
|
|
274
|
-
debug:
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
},
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
)
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
isConnected(
|
|
289
|
-
|
|
290
|
-
):
|
|
291
|
-
Boolean;
|
|
292
|
-
|
|
293
|
-
__(
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
input: {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
en: string,
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
nl: string,
|
|
282
|
+
debug: function | null,
|
|
306
283
|
|
|
307
284
|
|
|
308
285
|
},
|
|
@@ -311,7 +288,7 @@
|
|
|
311
288
|
|
|
312
289
|
|
|
313
290
|
):
|
|
314
|
-
|
|
291
|
+
Promise<any>;
|
|
315
292
|
|
|
316
293
|
}
|
|
317
294
|
|
|
@@ -352,15 +329,6 @@
|
|
|
352
329
|
|
|
353
330
|
|
|
354
331
|
|
|
355
|
-
isConnected(
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
):
|
|
362
|
-
Boolean;
|
|
363
|
-
|
|
364
332
|
__(
|
|
365
333
|
|
|
366
334
|
|
|
@@ -394,6 +362,10 @@
|
|
|
394
362
|
|
|
395
363
|
isConnected(
|
|
396
364
|
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
397
369
|
):
|
|
398
370
|
Boolean;
|
|
399
371
|
|
|
@@ -732,8 +704,6 @@
|
|
|
732
704
|
|
|
733
705
|
|
|
734
706
|
|
|
735
|
-
|
|
736
|
-
|
|
737
707
|
|
|
738
708
|
|
|
739
709
|
|
|
@@ -1093,62 +1063,6 @@
|
|
|
1093
1063
|
|
|
1094
1064
|
|
|
1095
1065
|
|
|
1096
|
-
makeCapabilityInstance(
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
capabilityId: string,
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
listener: {
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
value: number | boolean | string,
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
},
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
):
|
|
1117
|
-
HomeyAPIV2.ManagerDevices.Device.DeviceCapability;
|
|
1118
|
-
|
|
1119
|
-
setCapabilityValue(
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
opts: {
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
capabilityId: string,
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
value: number | boolean | string,
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
opts: {
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
duration: number,
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
},
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
},
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
):
|
|
1150
|
-
Promise<void>;
|
|
1151
|
-
|
|
1152
1066
|
}
|
|
1153
1067
|
|
|
1154
1068
|
}
|
|
@@ -3063,6 +2977,18 @@
|
|
|
3063
2977
|
|
|
3064
2978
|
|
|
3065
2979
|
|
|
2980
|
+
}
|
|
2981
|
+
|
|
2982
|
+
export class HomeyAPIErrorNotFound extends APIError {
|
|
2983
|
+
|
|
2984
|
+
|
|
2985
|
+
|
|
2986
|
+
message: string;
|
|
2987
|
+
|
|
2988
|
+
statusCode: number;
|
|
2989
|
+
|
|
2990
|
+
|
|
2991
|
+
|
|
3066
2992
|
}
|
|
3067
2993
|
|
|
3068
2994
|
}
|
|
@@ -6608,6 +6534,8 @@
|
|
|
6608
6534
|
|
|
6609
6535
|
|
|
6610
6536
|
|
|
6537
|
+
|
|
6538
|
+
|
|
6611
6539
|
export namespace HomeyAPIV2 {
|
|
6612
6540
|
|
|
6613
6541
|
export class Manager {
|
|
@@ -6616,33 +6544,6 @@
|
|
|
6616
6544
|
|
|
6617
6545
|
|
|
6618
6546
|
|
|
6619
|
-
isConnected(
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
):
|
|
6626
|
-
Boolean;
|
|
6627
|
-
|
|
6628
|
-
connect(
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
):
|
|
6635
|
-
Promise<void>;
|
|
6636
|
-
|
|
6637
|
-
disconnect(
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
):
|
|
6644
|
-
Promise<void>;
|
|
6645
|
-
|
|
6646
6547
|
}
|
|
6647
6548
|
|
|
6648
6549
|
export class ManagerAlarms extends HomeyAPIV2.Manager {
|
|
@@ -6736,21 +6637,6 @@
|
|
|
6736
6637
|
):
|
|
6737
6638
|
Promise<HomeyAPIV2.ManagerAlarms.Alarm>;
|
|
6738
6639
|
|
|
6739
|
-
isConnected(
|
|
6740
|
-
|
|
6741
|
-
):
|
|
6742
|
-
Boolean;
|
|
6743
|
-
|
|
6744
|
-
connect(
|
|
6745
|
-
|
|
6746
|
-
):
|
|
6747
|
-
Promise<void>;
|
|
6748
|
-
|
|
6749
|
-
disconnect(
|
|
6750
|
-
|
|
6751
|
-
):
|
|
6752
|
-
Promise<void>;
|
|
6753
|
-
|
|
6754
6640
|
}
|
|
6755
6641
|
|
|
6756
6642
|
export class ManagerApps extends HomeyAPIV2.Manager {
|
|
@@ -7062,21 +6948,6 @@
|
|
|
7062
6948
|
):
|
|
7063
6949
|
Promise<HomeyAPIV2.ManagerApps.App>;
|
|
7064
6950
|
|
|
7065
|
-
isConnected(
|
|
7066
|
-
|
|
7067
|
-
):
|
|
7068
|
-
Boolean;
|
|
7069
|
-
|
|
7070
|
-
connect(
|
|
7071
|
-
|
|
7072
|
-
):
|
|
7073
|
-
Promise<void>;
|
|
7074
|
-
|
|
7075
|
-
disconnect(
|
|
7076
|
-
|
|
7077
|
-
):
|
|
7078
|
-
Promise<void>;
|
|
7079
|
-
|
|
7080
6951
|
}
|
|
7081
6952
|
|
|
7082
6953
|
export class ManagerAudio extends HomeyAPIV2.Manager {
|
|
@@ -7119,21 +6990,6 @@
|
|
|
7119
6990
|
):
|
|
7120
6991
|
Promise<any>;
|
|
7121
6992
|
|
|
7122
|
-
isConnected(
|
|
7123
|
-
|
|
7124
|
-
):
|
|
7125
|
-
Boolean;
|
|
7126
|
-
|
|
7127
|
-
connect(
|
|
7128
|
-
|
|
7129
|
-
):
|
|
7130
|
-
Promise<void>;
|
|
7131
|
-
|
|
7132
|
-
disconnect(
|
|
7133
|
-
|
|
7134
|
-
):
|
|
7135
|
-
Promise<void>;
|
|
7136
|
-
|
|
7137
6993
|
}
|
|
7138
6994
|
|
|
7139
6995
|
export class ManagerBackup extends HomeyAPIV2.Manager {
|
|
@@ -7210,21 +7066,6 @@
|
|
|
7210
7066
|
):
|
|
7211
7067
|
Promise<any>;
|
|
7212
7068
|
|
|
7213
|
-
isConnected(
|
|
7214
|
-
|
|
7215
|
-
):
|
|
7216
|
-
Boolean;
|
|
7217
|
-
|
|
7218
|
-
connect(
|
|
7219
|
-
|
|
7220
|
-
):
|
|
7221
|
-
Promise<void>;
|
|
7222
|
-
|
|
7223
|
-
disconnect(
|
|
7224
|
-
|
|
7225
|
-
):
|
|
7226
|
-
Promise<void>;
|
|
7227
|
-
|
|
7228
7069
|
}
|
|
7229
7070
|
|
|
7230
7071
|
export class ManagerBLE extends HomeyAPIV2.Manager {
|
|
@@ -7261,21 +7102,6 @@
|
|
|
7261
7102
|
):
|
|
7262
7103
|
Promise<any>;
|
|
7263
7104
|
|
|
7264
|
-
isConnected(
|
|
7265
|
-
|
|
7266
|
-
):
|
|
7267
|
-
Boolean;
|
|
7268
|
-
|
|
7269
|
-
connect(
|
|
7270
|
-
|
|
7271
|
-
):
|
|
7272
|
-
Promise<void>;
|
|
7273
|
-
|
|
7274
|
-
disconnect(
|
|
7275
|
-
|
|
7276
|
-
):
|
|
7277
|
-
Promise<void>;
|
|
7278
|
-
|
|
7279
7105
|
}
|
|
7280
7106
|
|
|
7281
7107
|
export class ManagerCloud extends HomeyAPIV2.Manager {
|
|
@@ -7289,21 +7115,6 @@
|
|
|
7289
7115
|
):
|
|
7290
7116
|
Promise<any>;
|
|
7291
7117
|
|
|
7292
|
-
isConnected(
|
|
7293
|
-
|
|
7294
|
-
):
|
|
7295
|
-
Boolean;
|
|
7296
|
-
|
|
7297
|
-
connect(
|
|
7298
|
-
|
|
7299
|
-
):
|
|
7300
|
-
Promise<void>;
|
|
7301
|
-
|
|
7302
|
-
disconnect(
|
|
7303
|
-
|
|
7304
|
-
):
|
|
7305
|
-
Promise<void>;
|
|
7306
|
-
|
|
7307
7118
|
}
|
|
7308
7119
|
|
|
7309
7120
|
export class ManagerDatabase extends HomeyAPIV2.Manager {
|
|
@@ -7317,24 +7128,9 @@
|
|
|
7317
7128
|
):
|
|
7318
7129
|
Promise<any>;
|
|
7319
7130
|
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
Boolean;
|
|
7324
|
-
|
|
7325
|
-
connect(
|
|
7326
|
-
|
|
7327
|
-
):
|
|
7328
|
-
Promise<void>;
|
|
7329
|
-
|
|
7330
|
-
disconnect(
|
|
7331
|
-
|
|
7332
|
-
):
|
|
7333
|
-
Promise<void>;
|
|
7334
|
-
|
|
7335
|
-
}
|
|
7336
|
-
|
|
7337
|
-
export class ManagerDevices extends HomeyAPIV2.Manager {
|
|
7131
|
+
}
|
|
7132
|
+
|
|
7133
|
+
export class ManagerDevices extends HomeyAPIV2.Manager {
|
|
7338
7134
|
|
|
7339
7135
|
|
|
7340
7136
|
|
|
@@ -7511,21 +7307,6 @@
|
|
|
7511
7307
|
):
|
|
7512
7308
|
Promise<HomeyAPIV2.ManagerDevices.Device>;
|
|
7513
7309
|
|
|
7514
|
-
isConnected(
|
|
7515
|
-
|
|
7516
|
-
):
|
|
7517
|
-
Boolean;
|
|
7518
|
-
|
|
7519
|
-
connect(
|
|
7520
|
-
|
|
7521
|
-
):
|
|
7522
|
-
Promise<void>;
|
|
7523
|
-
|
|
7524
|
-
disconnect(
|
|
7525
|
-
|
|
7526
|
-
):
|
|
7527
|
-
Promise<void>;
|
|
7528
|
-
|
|
7529
7310
|
}
|
|
7530
7311
|
|
|
7531
7312
|
export class ManagerDevkit extends HomeyAPIV2.Manager {
|
|
@@ -7670,21 +7451,6 @@
|
|
|
7670
7451
|
):
|
|
7671
7452
|
Promise<any>;
|
|
7672
7453
|
|
|
7673
|
-
isConnected(
|
|
7674
|
-
|
|
7675
|
-
):
|
|
7676
|
-
Boolean;
|
|
7677
|
-
|
|
7678
|
-
connect(
|
|
7679
|
-
|
|
7680
|
-
):
|
|
7681
|
-
Promise<void>;
|
|
7682
|
-
|
|
7683
|
-
disconnect(
|
|
7684
|
-
|
|
7685
|
-
):
|
|
7686
|
-
Promise<void>;
|
|
7687
|
-
|
|
7688
7454
|
}
|
|
7689
7455
|
|
|
7690
7456
|
export class ManagerDrivers extends HomeyAPIV2.Manager {
|
|
@@ -7898,21 +7664,6 @@
|
|
|
7898
7664
|
):
|
|
7899
7665
|
Promise<HomeyAPIV2.ManagerDrivers.Driver>;
|
|
7900
7666
|
|
|
7901
|
-
isConnected(
|
|
7902
|
-
|
|
7903
|
-
):
|
|
7904
|
-
Boolean;
|
|
7905
|
-
|
|
7906
|
-
connect(
|
|
7907
|
-
|
|
7908
|
-
):
|
|
7909
|
-
Promise<void>;
|
|
7910
|
-
|
|
7911
|
-
disconnect(
|
|
7912
|
-
|
|
7913
|
-
):
|
|
7914
|
-
Promise<void>;
|
|
7915
|
-
|
|
7916
7667
|
}
|
|
7917
7668
|
|
|
7918
7669
|
export class ManagerEnergy extends HomeyAPIV2.Manager {
|
|
@@ -7998,21 +7749,6 @@
|
|
|
7998
7749
|
):
|
|
7999
7750
|
Promise<any>;
|
|
8000
7751
|
|
|
8001
|
-
isConnected(
|
|
8002
|
-
|
|
8003
|
-
):
|
|
8004
|
-
Boolean;
|
|
8005
|
-
|
|
8006
|
-
connect(
|
|
8007
|
-
|
|
8008
|
-
):
|
|
8009
|
-
Promise<void>;
|
|
8010
|
-
|
|
8011
|
-
disconnect(
|
|
8012
|
-
|
|
8013
|
-
):
|
|
8014
|
-
Promise<void>;
|
|
8015
|
-
|
|
8016
7752
|
}
|
|
8017
7753
|
|
|
8018
7754
|
export class ManagerExperiments extends HomeyAPIV2.Manager {
|
|
@@ -8064,21 +7800,6 @@
|
|
|
8064
7800
|
):
|
|
8065
7801
|
Promise<any>;
|
|
8066
7802
|
|
|
8067
|
-
isConnected(
|
|
8068
|
-
|
|
8069
|
-
):
|
|
8070
|
-
Boolean;
|
|
8071
|
-
|
|
8072
|
-
connect(
|
|
8073
|
-
|
|
8074
|
-
):
|
|
8075
|
-
Promise<void>;
|
|
8076
|
-
|
|
8077
|
-
disconnect(
|
|
8078
|
-
|
|
8079
|
-
):
|
|
8080
|
-
Promise<void>;
|
|
8081
|
-
|
|
8082
7803
|
}
|
|
8083
7804
|
|
|
8084
7805
|
export class ManagerFlow extends HomeyAPIV2.Manager {
|
|
@@ -8631,21 +8352,6 @@
|
|
|
8631
8352
|
):
|
|
8632
8353
|
Promise<HomeyAPIV2.ManagerFlow.FlowCardTrigger>;
|
|
8633
8354
|
|
|
8634
|
-
isConnected(
|
|
8635
|
-
|
|
8636
|
-
):
|
|
8637
|
-
Boolean;
|
|
8638
|
-
|
|
8639
|
-
connect(
|
|
8640
|
-
|
|
8641
|
-
):
|
|
8642
|
-
Promise<void>;
|
|
8643
|
-
|
|
8644
|
-
disconnect(
|
|
8645
|
-
|
|
8646
|
-
):
|
|
8647
|
-
Promise<void>;
|
|
8648
|
-
|
|
8649
8355
|
}
|
|
8650
8356
|
|
|
8651
8357
|
export class ManagerFlowToken extends HomeyAPIV2.Manager {
|
|
@@ -8682,21 +8388,6 @@
|
|
|
8682
8388
|
):
|
|
8683
8389
|
Promise<HomeyAPIV2.ManagerFlowToken.FlowToken>;
|
|
8684
8390
|
|
|
8685
|
-
isConnected(
|
|
8686
|
-
|
|
8687
|
-
):
|
|
8688
|
-
Boolean;
|
|
8689
|
-
|
|
8690
|
-
connect(
|
|
8691
|
-
|
|
8692
|
-
):
|
|
8693
|
-
Promise<void>;
|
|
8694
|
-
|
|
8695
|
-
disconnect(
|
|
8696
|
-
|
|
8697
|
-
):
|
|
8698
|
-
Promise<void>;
|
|
8699
|
-
|
|
8700
8391
|
}
|
|
8701
8392
|
|
|
8702
8393
|
export class ManagerGeolocation extends HomeyAPIV2.Manager {
|
|
@@ -8763,21 +8454,6 @@
|
|
|
8763
8454
|
):
|
|
8764
8455
|
Promise<any>;
|
|
8765
8456
|
|
|
8766
|
-
isConnected(
|
|
8767
|
-
|
|
8768
|
-
):
|
|
8769
|
-
Boolean;
|
|
8770
|
-
|
|
8771
|
-
connect(
|
|
8772
|
-
|
|
8773
|
-
):
|
|
8774
|
-
Promise<void>;
|
|
8775
|
-
|
|
8776
|
-
disconnect(
|
|
8777
|
-
|
|
8778
|
-
):
|
|
8779
|
-
Promise<void>;
|
|
8780
|
-
|
|
8781
8457
|
}
|
|
8782
8458
|
|
|
8783
8459
|
export class ManagerGoogleAssistant extends HomeyAPIV2.Manager {
|
|
@@ -8820,21 +8496,6 @@
|
|
|
8820
8496
|
):
|
|
8821
8497
|
Promise<any>;
|
|
8822
8498
|
|
|
8823
|
-
isConnected(
|
|
8824
|
-
|
|
8825
|
-
):
|
|
8826
|
-
Boolean;
|
|
8827
|
-
|
|
8828
|
-
connect(
|
|
8829
|
-
|
|
8830
|
-
):
|
|
8831
|
-
Promise<void>;
|
|
8832
|
-
|
|
8833
|
-
disconnect(
|
|
8834
|
-
|
|
8835
|
-
):
|
|
8836
|
-
Promise<void>;
|
|
8837
|
-
|
|
8838
8499
|
}
|
|
8839
8500
|
|
|
8840
8501
|
export class ManagerI18n extends HomeyAPIV2.Manager {
|
|
@@ -8901,21 +8562,6 @@
|
|
|
8901
8562
|
):
|
|
8902
8563
|
Promise<any>;
|
|
8903
8564
|
|
|
8904
|
-
isConnected(
|
|
8905
|
-
|
|
8906
|
-
):
|
|
8907
|
-
Boolean;
|
|
8908
|
-
|
|
8909
|
-
connect(
|
|
8910
|
-
|
|
8911
|
-
):
|
|
8912
|
-
Promise<void>;
|
|
8913
|
-
|
|
8914
|
-
disconnect(
|
|
8915
|
-
|
|
8916
|
-
):
|
|
8917
|
-
Promise<void>;
|
|
8918
|
-
|
|
8919
8565
|
}
|
|
8920
8566
|
|
|
8921
8567
|
export class ManagerImages extends HomeyAPIV2.Manager {
|
|
@@ -8948,21 +8594,6 @@
|
|
|
8948
8594
|
):
|
|
8949
8595
|
Promise<HomeyAPIV2.ManagerImages.Image>;
|
|
8950
8596
|
|
|
8951
|
-
isConnected(
|
|
8952
|
-
|
|
8953
|
-
):
|
|
8954
|
-
Boolean;
|
|
8955
|
-
|
|
8956
|
-
connect(
|
|
8957
|
-
|
|
8958
|
-
):
|
|
8959
|
-
Promise<void>;
|
|
8960
|
-
|
|
8961
|
-
disconnect(
|
|
8962
|
-
|
|
8963
|
-
):
|
|
8964
|
-
Promise<void>;
|
|
8965
|
-
|
|
8966
8597
|
}
|
|
8967
8598
|
|
|
8968
8599
|
export class ManagerInsights extends HomeyAPIV2.Manager {
|
|
@@ -9109,21 +8740,6 @@
|
|
|
9109
8740
|
):
|
|
9110
8741
|
Promise<HomeyAPIV2.ManagerInsights.Log>;
|
|
9111
8742
|
|
|
9112
|
-
isConnected(
|
|
9113
|
-
|
|
9114
|
-
):
|
|
9115
|
-
Boolean;
|
|
9116
|
-
|
|
9117
|
-
connect(
|
|
9118
|
-
|
|
9119
|
-
):
|
|
9120
|
-
Promise<void>;
|
|
9121
|
-
|
|
9122
|
-
disconnect(
|
|
9123
|
-
|
|
9124
|
-
):
|
|
9125
|
-
Promise<void>;
|
|
9126
|
-
|
|
9127
8743
|
}
|
|
9128
8744
|
|
|
9129
8745
|
export class ManagerLedring extends HomeyAPIV2.Manager {
|
|
@@ -9200,21 +8816,6 @@
|
|
|
9200
8816
|
):
|
|
9201
8817
|
Promise<any>;
|
|
9202
8818
|
|
|
9203
|
-
isConnected(
|
|
9204
|
-
|
|
9205
|
-
):
|
|
9206
|
-
Boolean;
|
|
9207
|
-
|
|
9208
|
-
connect(
|
|
9209
|
-
|
|
9210
|
-
):
|
|
9211
|
-
Promise<void>;
|
|
9212
|
-
|
|
9213
|
-
disconnect(
|
|
9214
|
-
|
|
9215
|
-
):
|
|
9216
|
-
Promise<void>;
|
|
9217
|
-
|
|
9218
8819
|
}
|
|
9219
8820
|
|
|
9220
8821
|
export class ManagerLogic extends HomeyAPIV2.Manager {
|
|
@@ -9331,21 +8932,6 @@
|
|
|
9331
8932
|
):
|
|
9332
8933
|
Promise<HomeyAPIV2.ManagerLogic.Variable>;
|
|
9333
8934
|
|
|
9334
|
-
isConnected(
|
|
9335
|
-
|
|
9336
|
-
):
|
|
9337
|
-
Boolean;
|
|
9338
|
-
|
|
9339
|
-
connect(
|
|
9340
|
-
|
|
9341
|
-
):
|
|
9342
|
-
Promise<void>;
|
|
9343
|
-
|
|
9344
|
-
disconnect(
|
|
9345
|
-
|
|
9346
|
-
):
|
|
9347
|
-
Promise<void>;
|
|
9348
|
-
|
|
9349
8935
|
}
|
|
9350
8936
|
|
|
9351
8937
|
export class ManagerMobile extends HomeyAPIV2.Manager {
|
|
@@ -9359,21 +8945,6 @@
|
|
|
9359
8945
|
):
|
|
9360
8946
|
Promise<any>;
|
|
9361
8947
|
|
|
9362
|
-
isConnected(
|
|
9363
|
-
|
|
9364
|
-
):
|
|
9365
|
-
Boolean;
|
|
9366
|
-
|
|
9367
|
-
connect(
|
|
9368
|
-
|
|
9369
|
-
):
|
|
9370
|
-
Promise<void>;
|
|
9371
|
-
|
|
9372
|
-
disconnect(
|
|
9373
|
-
|
|
9374
|
-
):
|
|
9375
|
-
Promise<void>;
|
|
9376
|
-
|
|
9377
8948
|
}
|
|
9378
8949
|
|
|
9379
8950
|
export class ManagerNotifications extends HomeyAPIV2.Manager {
|
|
@@ -9514,21 +9085,6 @@
|
|
|
9514
9085
|
):
|
|
9515
9086
|
Promise<HomeyAPIV2.ManagerNotifications.Notification>;
|
|
9516
9087
|
|
|
9517
|
-
isConnected(
|
|
9518
|
-
|
|
9519
|
-
):
|
|
9520
|
-
Boolean;
|
|
9521
|
-
|
|
9522
|
-
connect(
|
|
9523
|
-
|
|
9524
|
-
):
|
|
9525
|
-
Promise<void>;
|
|
9526
|
-
|
|
9527
|
-
disconnect(
|
|
9528
|
-
|
|
9529
|
-
):
|
|
9530
|
-
Promise<void>;
|
|
9531
|
-
|
|
9532
9088
|
}
|
|
9533
9089
|
|
|
9534
9090
|
export class ManagerPresence extends HomeyAPIV2.Manager {
|
|
@@ -9667,21 +9223,6 @@
|
|
|
9667
9223
|
):
|
|
9668
9224
|
Promise<any>;
|
|
9669
9225
|
|
|
9670
|
-
isConnected(
|
|
9671
|
-
|
|
9672
|
-
):
|
|
9673
|
-
Boolean;
|
|
9674
|
-
|
|
9675
|
-
connect(
|
|
9676
|
-
|
|
9677
|
-
):
|
|
9678
|
-
Promise<void>;
|
|
9679
|
-
|
|
9680
|
-
disconnect(
|
|
9681
|
-
|
|
9682
|
-
):
|
|
9683
|
-
Promise<void>;
|
|
9684
|
-
|
|
9685
9226
|
}
|
|
9686
9227
|
|
|
9687
9228
|
export class ManagerRF extends HomeyAPIV2.Manager {
|
|
@@ -9759,21 +9300,6 @@
|
|
|
9759
9300
|
):
|
|
9760
9301
|
Promise<any>;
|
|
9761
9302
|
|
|
9762
|
-
isConnected(
|
|
9763
|
-
|
|
9764
|
-
):
|
|
9765
|
-
Boolean;
|
|
9766
|
-
|
|
9767
|
-
connect(
|
|
9768
|
-
|
|
9769
|
-
):
|
|
9770
|
-
Promise<void>;
|
|
9771
|
-
|
|
9772
|
-
disconnect(
|
|
9773
|
-
|
|
9774
|
-
):
|
|
9775
|
-
Promise<void>;
|
|
9776
|
-
|
|
9777
9303
|
}
|
|
9778
9304
|
|
|
9779
9305
|
export class ManagerSessions extends HomeyAPIV2.Manager {
|
|
@@ -9811,21 +9337,6 @@
|
|
|
9811
9337
|
):
|
|
9812
9338
|
Promise<HomeyAPIV2.ManagerSessions.Session>;
|
|
9813
9339
|
|
|
9814
|
-
isConnected(
|
|
9815
|
-
|
|
9816
|
-
):
|
|
9817
|
-
Boolean;
|
|
9818
|
-
|
|
9819
|
-
connect(
|
|
9820
|
-
|
|
9821
|
-
):
|
|
9822
|
-
Promise<void>;
|
|
9823
|
-
|
|
9824
|
-
disconnect(
|
|
9825
|
-
|
|
9826
|
-
):
|
|
9827
|
-
Promise<void>;
|
|
9828
|
-
|
|
9829
9340
|
}
|
|
9830
9341
|
|
|
9831
9342
|
export class ManagerSpeechOutput extends HomeyAPIV2.Manager {
|
|
@@ -10004,21 +9515,6 @@
|
|
|
10004
9515
|
):
|
|
10005
9516
|
Promise<any>;
|
|
10006
9517
|
|
|
10007
|
-
isConnected(
|
|
10008
|
-
|
|
10009
|
-
):
|
|
10010
|
-
Boolean;
|
|
10011
|
-
|
|
10012
|
-
connect(
|
|
10013
|
-
|
|
10014
|
-
):
|
|
10015
|
-
Promise<void>;
|
|
10016
|
-
|
|
10017
|
-
disconnect(
|
|
10018
|
-
|
|
10019
|
-
):
|
|
10020
|
-
Promise<void>;
|
|
10021
|
-
|
|
10022
9518
|
}
|
|
10023
9519
|
|
|
10024
9520
|
export class ManagerSystem extends HomeyAPIV2.Manager {
|
|
@@ -10133,21 +9629,6 @@
|
|
|
10133
9629
|
):
|
|
10134
9630
|
Promise<any>;
|
|
10135
9631
|
|
|
10136
|
-
isConnected(
|
|
10137
|
-
|
|
10138
|
-
):
|
|
10139
|
-
Boolean;
|
|
10140
|
-
|
|
10141
|
-
connect(
|
|
10142
|
-
|
|
10143
|
-
):
|
|
10144
|
-
Promise<void>;
|
|
10145
|
-
|
|
10146
|
-
disconnect(
|
|
10147
|
-
|
|
10148
|
-
):
|
|
10149
|
-
Promise<void>;
|
|
10150
|
-
|
|
10151
9632
|
}
|
|
10152
9633
|
|
|
10153
9634
|
export class ManagerUpdates extends HomeyAPIV2.Manager {
|
|
@@ -10329,21 +9810,6 @@
|
|
|
10329
9810
|
):
|
|
10330
9811
|
Promise<any>;
|
|
10331
9812
|
|
|
10332
|
-
isConnected(
|
|
10333
|
-
|
|
10334
|
-
):
|
|
10335
|
-
Boolean;
|
|
10336
|
-
|
|
10337
|
-
connect(
|
|
10338
|
-
|
|
10339
|
-
):
|
|
10340
|
-
Promise<void>;
|
|
10341
|
-
|
|
10342
|
-
disconnect(
|
|
10343
|
-
|
|
10344
|
-
):
|
|
10345
|
-
Promise<void>;
|
|
10346
|
-
|
|
10347
9813
|
}
|
|
10348
9814
|
|
|
10349
9815
|
export class ManagerUsers extends HomeyAPIV2.Manager {
|
|
@@ -10555,21 +10021,6 @@
|
|
|
10555
10021
|
):
|
|
10556
10022
|
Promise<any>;
|
|
10557
10023
|
|
|
10558
|
-
isConnected(
|
|
10559
|
-
|
|
10560
|
-
):
|
|
10561
|
-
Boolean;
|
|
10562
|
-
|
|
10563
|
-
connect(
|
|
10564
|
-
|
|
10565
|
-
):
|
|
10566
|
-
Promise<void>;
|
|
10567
|
-
|
|
10568
|
-
disconnect(
|
|
10569
|
-
|
|
10570
|
-
):
|
|
10571
|
-
Promise<void>;
|
|
10572
|
-
|
|
10573
10024
|
}
|
|
10574
10025
|
|
|
10575
10026
|
export class ManagerWeather extends HomeyAPIV2.Manager {
|
|
@@ -10583,21 +10034,6 @@
|
|
|
10583
10034
|
):
|
|
10584
10035
|
Promise<any>;
|
|
10585
10036
|
|
|
10586
|
-
isConnected(
|
|
10587
|
-
|
|
10588
|
-
):
|
|
10589
|
-
Boolean;
|
|
10590
|
-
|
|
10591
|
-
connect(
|
|
10592
|
-
|
|
10593
|
-
):
|
|
10594
|
-
Promise<void>;
|
|
10595
|
-
|
|
10596
|
-
disconnect(
|
|
10597
|
-
|
|
10598
|
-
):
|
|
10599
|
-
Promise<void>;
|
|
10600
|
-
|
|
10601
10037
|
}
|
|
10602
10038
|
|
|
10603
10039
|
export class ManagerZigBee extends HomeyAPIV2.Manager {
|
|
@@ -10634,21 +10070,6 @@
|
|
|
10634
10070
|
):
|
|
10635
10071
|
Promise<any>;
|
|
10636
10072
|
|
|
10637
|
-
isConnected(
|
|
10638
|
-
|
|
10639
|
-
):
|
|
10640
|
-
Boolean;
|
|
10641
|
-
|
|
10642
|
-
connect(
|
|
10643
|
-
|
|
10644
|
-
):
|
|
10645
|
-
Promise<void>;
|
|
10646
|
-
|
|
10647
|
-
disconnect(
|
|
10648
|
-
|
|
10649
|
-
):
|
|
10650
|
-
Promise<void>;
|
|
10651
|
-
|
|
10652
10073
|
}
|
|
10653
10074
|
|
|
10654
10075
|
export class ManagerZones extends HomeyAPIV2.Manager {
|
|
@@ -10742,21 +10163,6 @@
|
|
|
10742
10163
|
):
|
|
10743
10164
|
Promise<HomeyAPIV2.ManagerZones.Zone>;
|
|
10744
10165
|
|
|
10745
|
-
isConnected(
|
|
10746
|
-
|
|
10747
|
-
):
|
|
10748
|
-
Boolean;
|
|
10749
|
-
|
|
10750
|
-
connect(
|
|
10751
|
-
|
|
10752
|
-
):
|
|
10753
|
-
Promise<void>;
|
|
10754
|
-
|
|
10755
|
-
disconnect(
|
|
10756
|
-
|
|
10757
|
-
):
|
|
10758
|
-
Promise<void>;
|
|
10759
|
-
|
|
10760
10166
|
}
|
|
10761
10167
|
|
|
10762
10168
|
export class ManagerZwave extends HomeyAPIV2.Manager {
|
|
@@ -10836,21 +10242,6 @@
|
|
|
10836
10242
|
):
|
|
10837
10243
|
Promise<any>;
|
|
10838
10244
|
|
|
10839
|
-
isConnected(
|
|
10840
|
-
|
|
10841
|
-
):
|
|
10842
|
-
Boolean;
|
|
10843
|
-
|
|
10844
|
-
connect(
|
|
10845
|
-
|
|
10846
|
-
):
|
|
10847
|
-
Promise<void>;
|
|
10848
|
-
|
|
10849
|
-
disconnect(
|
|
10850
|
-
|
|
10851
|
-
):
|
|
10852
|
-
Promise<void>;
|
|
10853
|
-
|
|
10854
10245
|
}
|
|
10855
10246
|
|
|
10856
10247
|
}
|
|
@@ -10859,7 +10250,7 @@
|
|
|
10859
10250
|
|
|
10860
10251
|
export namespace HomeyAPIV3 {
|
|
10861
10252
|
|
|
10862
|
-
export class Manager
|
|
10253
|
+
export class Manager {
|
|
10863
10254
|
|
|
10864
10255
|
|
|
10865
10256
|
|
|
@@ -10867,16 +10258,28 @@
|
|
|
10867
10258
|
|
|
10868
10259
|
isConnected(
|
|
10869
10260
|
|
|
10261
|
+
|
|
10262
|
+
|
|
10263
|
+
|
|
10264
|
+
|
|
10870
10265
|
):
|
|
10871
10266
|
Boolean;
|
|
10872
10267
|
|
|
10873
10268
|
connect(
|
|
10874
10269
|
|
|
10270
|
+
|
|
10271
|
+
|
|
10272
|
+
|
|
10273
|
+
|
|
10875
10274
|
):
|
|
10876
10275
|
Promise<void>;
|
|
10877
10276
|
|
|
10878
10277
|
disconnect(
|
|
10879
10278
|
|
|
10279
|
+
|
|
10280
|
+
|
|
10281
|
+
|
|
10282
|
+
|
|
10880
10283
|
):
|
|
10881
10284
|
Promise<void>;
|
|
10882
10285
|
|
|
@@ -15374,6 +14777,10 @@
|
|
|
15374
14777
|
|
|
15375
14778
|
|
|
15376
14779
|
|
|
14780
|
+
|
|
14781
|
+
|
|
14782
|
+
|
|
14783
|
+
|
|
15377
14784
|
|
|
15378
14785
|
|
|
15379
14786
|
|