homey-api 1.10.17 → 3.0.0-rc.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/README.md +1 -1
- package/assets/types/homey-api.d.ts +47 -588
- package/assets/types/homey-api.private.d.ts +47 -648
- 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 +48 -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 +20 -3
- package/lib/HomeyAPI/HomeyAPIV2/ManagerDrivers/Driver.js +25 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerDrivers.js +29 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/AdvancedFlow.js +17 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/Flow.js +34 -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 +104 -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 +23 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerInsights.js +29 -0
- package/lib/HomeyAPI/HomeyAPIV2.js +12 -716
- package/lib/HomeyAPI/HomeyAPIV3/Item.js +173 -2
- package/lib/HomeyAPI/HomeyAPIV3/Manager.js +531 -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 +78 -3
- package/lib/HomeyAPI/{HomeyAPIV2 → HomeyAPIV3/ManagerDevices}/DeviceCapability.js +3 -3
- package/lib/HomeyAPI/HomeyAPIV3/ManagerDevices.js +17 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerDrivers/Driver.js +9 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerDrivers.js +15 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlow/AdvancedFlow.js +9 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlow/Flow.js +9 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlow/FlowCard.js +9 -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 +16 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlowToken.js +15 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerInsights/Log.js +9 -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,
|
|
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
|
|
|
@@ -3047,6 +3017,18 @@
|
|
|
3047
3017
|
|
|
3048
3018
|
|
|
3049
3019
|
|
|
3020
|
+
}
|
|
3021
|
+
|
|
3022
|
+
export class HomeyAPIErrorNotFound extends APIError {
|
|
3023
|
+
|
|
3024
|
+
|
|
3025
|
+
|
|
3026
|
+
message: string;
|
|
3027
|
+
|
|
3028
|
+
statusCode: number;
|
|
3029
|
+
|
|
3030
|
+
|
|
3031
|
+
|
|
3050
3032
|
}
|
|
3051
3033
|
|
|
3052
3034
|
}
|
|
@@ -6592,6 +6574,8 @@
|
|
|
6592
6574
|
|
|
6593
6575
|
|
|
6594
6576
|
|
|
6577
|
+
|
|
6578
|
+
|
|
6595
6579
|
export namespace HomeyAPIV2 {
|
|
6596
6580
|
|
|
6597
6581
|
export class Manager {
|
|
@@ -6600,33 +6584,6 @@
|
|
|
6600
6584
|
|
|
6601
6585
|
|
|
6602
6586
|
|
|
6603
|
-
isConnected(
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
):
|
|
6610
|
-
Boolean;
|
|
6611
|
-
|
|
6612
|
-
connect(
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
):
|
|
6619
|
-
Promise<void>;
|
|
6620
|
-
|
|
6621
|
-
disconnect(
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
):
|
|
6628
|
-
Promise<void>;
|
|
6629
|
-
|
|
6630
6587
|
}
|
|
6631
6588
|
|
|
6632
6589
|
export class ManagerAlarms extends HomeyAPIV2.Manager {
|
|
@@ -6720,21 +6677,6 @@
|
|
|
6720
6677
|
):
|
|
6721
6678
|
Promise<HomeyAPIV2.ManagerAlarms.Alarm>;
|
|
6722
6679
|
|
|
6723
|
-
isConnected(
|
|
6724
|
-
|
|
6725
|
-
):
|
|
6726
|
-
Boolean;
|
|
6727
|
-
|
|
6728
|
-
connect(
|
|
6729
|
-
|
|
6730
|
-
):
|
|
6731
|
-
Promise<void>;
|
|
6732
|
-
|
|
6733
|
-
disconnect(
|
|
6734
|
-
|
|
6735
|
-
):
|
|
6736
|
-
Promise<void>;
|
|
6737
|
-
|
|
6738
6680
|
}
|
|
6739
6681
|
|
|
6740
6682
|
export class ManagerApps extends HomeyAPIV2.Manager {
|
|
@@ -7046,21 +6988,6 @@
|
|
|
7046
6988
|
):
|
|
7047
6989
|
Promise<HomeyAPIV2.ManagerApps.App>;
|
|
7048
6990
|
|
|
7049
|
-
isConnected(
|
|
7050
|
-
|
|
7051
|
-
):
|
|
7052
|
-
Boolean;
|
|
7053
|
-
|
|
7054
|
-
connect(
|
|
7055
|
-
|
|
7056
|
-
):
|
|
7057
|
-
Promise<void>;
|
|
7058
|
-
|
|
7059
|
-
disconnect(
|
|
7060
|
-
|
|
7061
|
-
):
|
|
7062
|
-
Promise<void>;
|
|
7063
|
-
|
|
7064
6991
|
}
|
|
7065
6992
|
|
|
7066
6993
|
export class ManagerAudio extends HomeyAPIV2.Manager {
|
|
@@ -7103,21 +7030,6 @@
|
|
|
7103
7030
|
):
|
|
7104
7031
|
Promise<any>;
|
|
7105
7032
|
|
|
7106
|
-
isConnected(
|
|
7107
|
-
|
|
7108
|
-
):
|
|
7109
|
-
Boolean;
|
|
7110
|
-
|
|
7111
|
-
connect(
|
|
7112
|
-
|
|
7113
|
-
):
|
|
7114
|
-
Promise<void>;
|
|
7115
|
-
|
|
7116
|
-
disconnect(
|
|
7117
|
-
|
|
7118
|
-
):
|
|
7119
|
-
Promise<void>;
|
|
7120
|
-
|
|
7121
7033
|
}
|
|
7122
7034
|
|
|
7123
7035
|
export class ManagerBackup extends HomeyAPIV2.Manager {
|
|
@@ -7194,21 +7106,6 @@
|
|
|
7194
7106
|
):
|
|
7195
7107
|
Promise<any>;
|
|
7196
7108
|
|
|
7197
|
-
isConnected(
|
|
7198
|
-
|
|
7199
|
-
):
|
|
7200
|
-
Boolean;
|
|
7201
|
-
|
|
7202
|
-
connect(
|
|
7203
|
-
|
|
7204
|
-
):
|
|
7205
|
-
Promise<void>;
|
|
7206
|
-
|
|
7207
|
-
disconnect(
|
|
7208
|
-
|
|
7209
|
-
):
|
|
7210
|
-
Promise<void>;
|
|
7211
|
-
|
|
7212
7109
|
}
|
|
7213
7110
|
|
|
7214
7111
|
export class ManagerBLE extends HomeyAPIV2.Manager {
|
|
@@ -7245,21 +7142,6 @@
|
|
|
7245
7142
|
):
|
|
7246
7143
|
Promise<any>;
|
|
7247
7144
|
|
|
7248
|
-
isConnected(
|
|
7249
|
-
|
|
7250
|
-
):
|
|
7251
|
-
Boolean;
|
|
7252
|
-
|
|
7253
|
-
connect(
|
|
7254
|
-
|
|
7255
|
-
):
|
|
7256
|
-
Promise<void>;
|
|
7257
|
-
|
|
7258
|
-
disconnect(
|
|
7259
|
-
|
|
7260
|
-
):
|
|
7261
|
-
Promise<void>;
|
|
7262
|
-
|
|
7263
7145
|
}
|
|
7264
7146
|
|
|
7265
7147
|
export class ManagerCloud extends HomeyAPIV2.Manager {
|
|
@@ -7273,21 +7155,6 @@
|
|
|
7273
7155
|
):
|
|
7274
7156
|
Promise<any>;
|
|
7275
7157
|
|
|
7276
|
-
isConnected(
|
|
7277
|
-
|
|
7278
|
-
):
|
|
7279
|
-
Boolean;
|
|
7280
|
-
|
|
7281
|
-
connect(
|
|
7282
|
-
|
|
7283
|
-
):
|
|
7284
|
-
Promise<void>;
|
|
7285
|
-
|
|
7286
|
-
disconnect(
|
|
7287
|
-
|
|
7288
|
-
):
|
|
7289
|
-
Promise<void>;
|
|
7290
|
-
|
|
7291
7158
|
}
|
|
7292
7159
|
|
|
7293
7160
|
export class ManagerDatabase extends HomeyAPIV2.Manager {
|
|
@@ -7301,21 +7168,6 @@
|
|
|
7301
7168
|
):
|
|
7302
7169
|
Promise<any>;
|
|
7303
7170
|
|
|
7304
|
-
isConnected(
|
|
7305
|
-
|
|
7306
|
-
):
|
|
7307
|
-
Boolean;
|
|
7308
|
-
|
|
7309
|
-
connect(
|
|
7310
|
-
|
|
7311
|
-
):
|
|
7312
|
-
Promise<void>;
|
|
7313
|
-
|
|
7314
|
-
disconnect(
|
|
7315
|
-
|
|
7316
|
-
):
|
|
7317
|
-
Promise<void>;
|
|
7318
|
-
|
|
7319
7171
|
}
|
|
7320
7172
|
|
|
7321
7173
|
export class ManagerDevices extends HomeyAPIV2.Manager {
|
|
@@ -7495,21 +7347,6 @@
|
|
|
7495
7347
|
):
|
|
7496
7348
|
Promise<HomeyAPIV2.ManagerDevices.Device>;
|
|
7497
7349
|
|
|
7498
|
-
isConnected(
|
|
7499
|
-
|
|
7500
|
-
):
|
|
7501
|
-
Boolean;
|
|
7502
|
-
|
|
7503
|
-
connect(
|
|
7504
|
-
|
|
7505
|
-
):
|
|
7506
|
-
Promise<void>;
|
|
7507
|
-
|
|
7508
|
-
disconnect(
|
|
7509
|
-
|
|
7510
|
-
):
|
|
7511
|
-
Promise<void>;
|
|
7512
|
-
|
|
7513
7350
|
}
|
|
7514
7351
|
|
|
7515
7352
|
export class ManagerDevkit extends HomeyAPIV2.Manager {
|
|
@@ -7654,21 +7491,6 @@
|
|
|
7654
7491
|
):
|
|
7655
7492
|
Promise<any>;
|
|
7656
7493
|
|
|
7657
|
-
isConnected(
|
|
7658
|
-
|
|
7659
|
-
):
|
|
7660
|
-
Boolean;
|
|
7661
|
-
|
|
7662
|
-
connect(
|
|
7663
|
-
|
|
7664
|
-
):
|
|
7665
|
-
Promise<void>;
|
|
7666
|
-
|
|
7667
|
-
disconnect(
|
|
7668
|
-
|
|
7669
|
-
):
|
|
7670
|
-
Promise<void>;
|
|
7671
|
-
|
|
7672
7494
|
}
|
|
7673
7495
|
|
|
7674
7496
|
export class ManagerDrivers extends HomeyAPIV2.Manager {
|
|
@@ -7882,21 +7704,6 @@
|
|
|
7882
7704
|
):
|
|
7883
7705
|
Promise<HomeyAPIV2.ManagerDrivers.Driver>;
|
|
7884
7706
|
|
|
7885
|
-
isConnected(
|
|
7886
|
-
|
|
7887
|
-
):
|
|
7888
|
-
Boolean;
|
|
7889
|
-
|
|
7890
|
-
connect(
|
|
7891
|
-
|
|
7892
|
-
):
|
|
7893
|
-
Promise<void>;
|
|
7894
|
-
|
|
7895
|
-
disconnect(
|
|
7896
|
-
|
|
7897
|
-
):
|
|
7898
|
-
Promise<void>;
|
|
7899
|
-
|
|
7900
7707
|
}
|
|
7901
7708
|
|
|
7902
7709
|
export class ManagerEnergy extends HomeyAPIV2.Manager {
|
|
@@ -7982,21 +7789,6 @@
|
|
|
7982
7789
|
):
|
|
7983
7790
|
Promise<any>;
|
|
7984
7791
|
|
|
7985
|
-
isConnected(
|
|
7986
|
-
|
|
7987
|
-
):
|
|
7988
|
-
Boolean;
|
|
7989
|
-
|
|
7990
|
-
connect(
|
|
7991
|
-
|
|
7992
|
-
):
|
|
7993
|
-
Promise<void>;
|
|
7994
|
-
|
|
7995
|
-
disconnect(
|
|
7996
|
-
|
|
7997
|
-
):
|
|
7998
|
-
Promise<void>;
|
|
7999
|
-
|
|
8000
7792
|
}
|
|
8001
7793
|
|
|
8002
7794
|
export class ManagerExperiments extends HomeyAPIV2.Manager {
|
|
@@ -8048,21 +7840,6 @@
|
|
|
8048
7840
|
):
|
|
8049
7841
|
Promise<any>;
|
|
8050
7842
|
|
|
8051
|
-
isConnected(
|
|
8052
|
-
|
|
8053
|
-
):
|
|
8054
|
-
Boolean;
|
|
8055
|
-
|
|
8056
|
-
connect(
|
|
8057
|
-
|
|
8058
|
-
):
|
|
8059
|
-
Promise<void>;
|
|
8060
|
-
|
|
8061
|
-
disconnect(
|
|
8062
|
-
|
|
8063
|
-
):
|
|
8064
|
-
Promise<void>;
|
|
8065
|
-
|
|
8066
7843
|
}
|
|
8067
7844
|
|
|
8068
7845
|
export class ManagerFlow extends HomeyAPIV2.Manager {
|
|
@@ -8615,21 +8392,6 @@
|
|
|
8615
8392
|
):
|
|
8616
8393
|
Promise<HomeyAPIV2.ManagerFlow.FlowCardTrigger>;
|
|
8617
8394
|
|
|
8618
|
-
isConnected(
|
|
8619
|
-
|
|
8620
|
-
):
|
|
8621
|
-
Boolean;
|
|
8622
|
-
|
|
8623
|
-
connect(
|
|
8624
|
-
|
|
8625
|
-
):
|
|
8626
|
-
Promise<void>;
|
|
8627
|
-
|
|
8628
|
-
disconnect(
|
|
8629
|
-
|
|
8630
|
-
):
|
|
8631
|
-
Promise<void>;
|
|
8632
|
-
|
|
8633
8395
|
}
|
|
8634
8396
|
|
|
8635
8397
|
export class ManagerFlowToken extends HomeyAPIV2.Manager {
|
|
@@ -8666,21 +8428,6 @@
|
|
|
8666
8428
|
):
|
|
8667
8429
|
Promise<HomeyAPIV2.ManagerFlowToken.FlowToken>;
|
|
8668
8430
|
|
|
8669
|
-
isConnected(
|
|
8670
|
-
|
|
8671
|
-
):
|
|
8672
|
-
Boolean;
|
|
8673
|
-
|
|
8674
|
-
connect(
|
|
8675
|
-
|
|
8676
|
-
):
|
|
8677
|
-
Promise<void>;
|
|
8678
|
-
|
|
8679
|
-
disconnect(
|
|
8680
|
-
|
|
8681
|
-
):
|
|
8682
|
-
Promise<void>;
|
|
8683
|
-
|
|
8684
8431
|
}
|
|
8685
8432
|
|
|
8686
8433
|
export class ManagerGeolocation extends HomeyAPIV2.Manager {
|
|
@@ -8747,21 +8494,6 @@
|
|
|
8747
8494
|
):
|
|
8748
8495
|
Promise<any>;
|
|
8749
8496
|
|
|
8750
|
-
isConnected(
|
|
8751
|
-
|
|
8752
|
-
):
|
|
8753
|
-
Boolean;
|
|
8754
|
-
|
|
8755
|
-
connect(
|
|
8756
|
-
|
|
8757
|
-
):
|
|
8758
|
-
Promise<void>;
|
|
8759
|
-
|
|
8760
|
-
disconnect(
|
|
8761
|
-
|
|
8762
|
-
):
|
|
8763
|
-
Promise<void>;
|
|
8764
|
-
|
|
8765
8497
|
}
|
|
8766
8498
|
|
|
8767
8499
|
export class ManagerGoogleAssistant extends HomeyAPIV2.Manager {
|
|
@@ -8804,21 +8536,6 @@
|
|
|
8804
8536
|
):
|
|
8805
8537
|
Promise<any>;
|
|
8806
8538
|
|
|
8807
|
-
isConnected(
|
|
8808
|
-
|
|
8809
|
-
):
|
|
8810
|
-
Boolean;
|
|
8811
|
-
|
|
8812
|
-
connect(
|
|
8813
|
-
|
|
8814
|
-
):
|
|
8815
|
-
Promise<void>;
|
|
8816
|
-
|
|
8817
|
-
disconnect(
|
|
8818
|
-
|
|
8819
|
-
):
|
|
8820
|
-
Promise<void>;
|
|
8821
|
-
|
|
8822
8539
|
}
|
|
8823
8540
|
|
|
8824
8541
|
export class ManagerI18n extends HomeyAPIV2.Manager {
|
|
@@ -8885,21 +8602,6 @@
|
|
|
8885
8602
|
):
|
|
8886
8603
|
Promise<any>;
|
|
8887
8604
|
|
|
8888
|
-
isConnected(
|
|
8889
|
-
|
|
8890
|
-
):
|
|
8891
|
-
Boolean;
|
|
8892
|
-
|
|
8893
|
-
connect(
|
|
8894
|
-
|
|
8895
|
-
):
|
|
8896
|
-
Promise<void>;
|
|
8897
|
-
|
|
8898
|
-
disconnect(
|
|
8899
|
-
|
|
8900
|
-
):
|
|
8901
|
-
Promise<void>;
|
|
8902
|
-
|
|
8903
8605
|
}
|
|
8904
8606
|
|
|
8905
8607
|
export class ManagerImages extends HomeyAPIV2.Manager {
|
|
@@ -8932,21 +8634,6 @@
|
|
|
8932
8634
|
):
|
|
8933
8635
|
Promise<HomeyAPIV2.ManagerImages.Image>;
|
|
8934
8636
|
|
|
8935
|
-
isConnected(
|
|
8936
|
-
|
|
8937
|
-
):
|
|
8938
|
-
Boolean;
|
|
8939
|
-
|
|
8940
|
-
connect(
|
|
8941
|
-
|
|
8942
|
-
):
|
|
8943
|
-
Promise<void>;
|
|
8944
|
-
|
|
8945
|
-
disconnect(
|
|
8946
|
-
|
|
8947
|
-
):
|
|
8948
|
-
Promise<void>;
|
|
8949
|
-
|
|
8950
8637
|
}
|
|
8951
8638
|
|
|
8952
8639
|
export class ManagerInsights extends HomeyAPIV2.Manager {
|
|
@@ -9093,21 +8780,6 @@
|
|
|
9093
8780
|
):
|
|
9094
8781
|
Promise<HomeyAPIV2.ManagerInsights.Log>;
|
|
9095
8782
|
|
|
9096
|
-
isConnected(
|
|
9097
|
-
|
|
9098
|
-
):
|
|
9099
|
-
Boolean;
|
|
9100
|
-
|
|
9101
|
-
connect(
|
|
9102
|
-
|
|
9103
|
-
):
|
|
9104
|
-
Promise<void>;
|
|
9105
|
-
|
|
9106
|
-
disconnect(
|
|
9107
|
-
|
|
9108
|
-
):
|
|
9109
|
-
Promise<void>;
|
|
9110
|
-
|
|
9111
8783
|
}
|
|
9112
8784
|
|
|
9113
8785
|
export class ManagerLedring extends HomeyAPIV2.Manager {
|
|
@@ -9184,21 +8856,6 @@
|
|
|
9184
8856
|
):
|
|
9185
8857
|
Promise<any>;
|
|
9186
8858
|
|
|
9187
|
-
isConnected(
|
|
9188
|
-
|
|
9189
|
-
):
|
|
9190
|
-
Boolean;
|
|
9191
|
-
|
|
9192
|
-
connect(
|
|
9193
|
-
|
|
9194
|
-
):
|
|
9195
|
-
Promise<void>;
|
|
9196
|
-
|
|
9197
|
-
disconnect(
|
|
9198
|
-
|
|
9199
|
-
):
|
|
9200
|
-
Promise<void>;
|
|
9201
|
-
|
|
9202
8859
|
}
|
|
9203
8860
|
|
|
9204
8861
|
export class ManagerLogic extends HomeyAPIV2.Manager {
|
|
@@ -9315,21 +8972,6 @@
|
|
|
9315
8972
|
):
|
|
9316
8973
|
Promise<HomeyAPIV2.ManagerLogic.Variable>;
|
|
9317
8974
|
|
|
9318
|
-
isConnected(
|
|
9319
|
-
|
|
9320
|
-
):
|
|
9321
|
-
Boolean;
|
|
9322
|
-
|
|
9323
|
-
connect(
|
|
9324
|
-
|
|
9325
|
-
):
|
|
9326
|
-
Promise<void>;
|
|
9327
|
-
|
|
9328
|
-
disconnect(
|
|
9329
|
-
|
|
9330
|
-
):
|
|
9331
|
-
Promise<void>;
|
|
9332
|
-
|
|
9333
8975
|
}
|
|
9334
8976
|
|
|
9335
8977
|
export class ManagerMobile extends HomeyAPIV2.Manager {
|
|
@@ -9343,21 +8985,6 @@
|
|
|
9343
8985
|
):
|
|
9344
8986
|
Promise<any>;
|
|
9345
8987
|
|
|
9346
|
-
isConnected(
|
|
9347
|
-
|
|
9348
|
-
):
|
|
9349
|
-
Boolean;
|
|
9350
|
-
|
|
9351
|
-
connect(
|
|
9352
|
-
|
|
9353
|
-
):
|
|
9354
|
-
Promise<void>;
|
|
9355
|
-
|
|
9356
|
-
disconnect(
|
|
9357
|
-
|
|
9358
|
-
):
|
|
9359
|
-
Promise<void>;
|
|
9360
|
-
|
|
9361
8988
|
}
|
|
9362
8989
|
|
|
9363
8990
|
export class ManagerNotifications extends HomeyAPIV2.Manager {
|
|
@@ -9498,21 +9125,6 @@
|
|
|
9498
9125
|
):
|
|
9499
9126
|
Promise<HomeyAPIV2.ManagerNotifications.Notification>;
|
|
9500
9127
|
|
|
9501
|
-
isConnected(
|
|
9502
|
-
|
|
9503
|
-
):
|
|
9504
|
-
Boolean;
|
|
9505
|
-
|
|
9506
|
-
connect(
|
|
9507
|
-
|
|
9508
|
-
):
|
|
9509
|
-
Promise<void>;
|
|
9510
|
-
|
|
9511
|
-
disconnect(
|
|
9512
|
-
|
|
9513
|
-
):
|
|
9514
|
-
Promise<void>;
|
|
9515
|
-
|
|
9516
9128
|
}
|
|
9517
9129
|
|
|
9518
9130
|
export class ManagerPresence extends HomeyAPIV2.Manager {
|
|
@@ -9651,21 +9263,6 @@
|
|
|
9651
9263
|
):
|
|
9652
9264
|
Promise<any>;
|
|
9653
9265
|
|
|
9654
|
-
isConnected(
|
|
9655
|
-
|
|
9656
|
-
):
|
|
9657
|
-
Boolean;
|
|
9658
|
-
|
|
9659
|
-
connect(
|
|
9660
|
-
|
|
9661
|
-
):
|
|
9662
|
-
Promise<void>;
|
|
9663
|
-
|
|
9664
|
-
disconnect(
|
|
9665
|
-
|
|
9666
|
-
):
|
|
9667
|
-
Promise<void>;
|
|
9668
|
-
|
|
9669
9266
|
}
|
|
9670
9267
|
|
|
9671
9268
|
export class ManagerRF extends HomeyAPIV2.Manager {
|
|
@@ -9743,21 +9340,6 @@
|
|
|
9743
9340
|
):
|
|
9744
9341
|
Promise<any>;
|
|
9745
9342
|
|
|
9746
|
-
isConnected(
|
|
9747
|
-
|
|
9748
|
-
):
|
|
9749
|
-
Boolean;
|
|
9750
|
-
|
|
9751
|
-
connect(
|
|
9752
|
-
|
|
9753
|
-
):
|
|
9754
|
-
Promise<void>;
|
|
9755
|
-
|
|
9756
|
-
disconnect(
|
|
9757
|
-
|
|
9758
|
-
):
|
|
9759
|
-
Promise<void>;
|
|
9760
|
-
|
|
9761
9343
|
}
|
|
9762
9344
|
|
|
9763
9345
|
export class ManagerSessions extends HomeyAPIV2.Manager {
|
|
@@ -9795,21 +9377,6 @@
|
|
|
9795
9377
|
):
|
|
9796
9378
|
Promise<HomeyAPIV2.ManagerSessions.Session>;
|
|
9797
9379
|
|
|
9798
|
-
isConnected(
|
|
9799
|
-
|
|
9800
|
-
):
|
|
9801
|
-
Boolean;
|
|
9802
|
-
|
|
9803
|
-
connect(
|
|
9804
|
-
|
|
9805
|
-
):
|
|
9806
|
-
Promise<void>;
|
|
9807
|
-
|
|
9808
|
-
disconnect(
|
|
9809
|
-
|
|
9810
|
-
):
|
|
9811
|
-
Promise<void>;
|
|
9812
|
-
|
|
9813
9380
|
}
|
|
9814
9381
|
|
|
9815
9382
|
export class ManagerSpeechOutput extends HomeyAPIV2.Manager {
|
|
@@ -9988,21 +9555,6 @@
|
|
|
9988
9555
|
):
|
|
9989
9556
|
Promise<any>;
|
|
9990
9557
|
|
|
9991
|
-
isConnected(
|
|
9992
|
-
|
|
9993
|
-
):
|
|
9994
|
-
Boolean;
|
|
9995
|
-
|
|
9996
|
-
connect(
|
|
9997
|
-
|
|
9998
|
-
):
|
|
9999
|
-
Promise<void>;
|
|
10000
|
-
|
|
10001
|
-
disconnect(
|
|
10002
|
-
|
|
10003
|
-
):
|
|
10004
|
-
Promise<void>;
|
|
10005
|
-
|
|
10006
9558
|
}
|
|
10007
9559
|
|
|
10008
9560
|
export class ManagerSystem extends HomeyAPIV2.Manager {
|
|
@@ -10117,21 +9669,6 @@
|
|
|
10117
9669
|
):
|
|
10118
9670
|
Promise<any>;
|
|
10119
9671
|
|
|
10120
|
-
isConnected(
|
|
10121
|
-
|
|
10122
|
-
):
|
|
10123
|
-
Boolean;
|
|
10124
|
-
|
|
10125
|
-
connect(
|
|
10126
|
-
|
|
10127
|
-
):
|
|
10128
|
-
Promise<void>;
|
|
10129
|
-
|
|
10130
|
-
disconnect(
|
|
10131
|
-
|
|
10132
|
-
):
|
|
10133
|
-
Promise<void>;
|
|
10134
|
-
|
|
10135
9672
|
}
|
|
10136
9673
|
|
|
10137
9674
|
export class ManagerUpdates extends HomeyAPIV2.Manager {
|
|
@@ -10313,21 +9850,6 @@
|
|
|
10313
9850
|
):
|
|
10314
9851
|
Promise<any>;
|
|
10315
9852
|
|
|
10316
|
-
isConnected(
|
|
10317
|
-
|
|
10318
|
-
):
|
|
10319
|
-
Boolean;
|
|
10320
|
-
|
|
10321
|
-
connect(
|
|
10322
|
-
|
|
10323
|
-
):
|
|
10324
|
-
Promise<void>;
|
|
10325
|
-
|
|
10326
|
-
disconnect(
|
|
10327
|
-
|
|
10328
|
-
):
|
|
10329
|
-
Promise<void>;
|
|
10330
|
-
|
|
10331
9853
|
}
|
|
10332
9854
|
|
|
10333
9855
|
export class ManagerUsers extends HomeyAPIV2.Manager {
|
|
@@ -10539,21 +10061,6 @@
|
|
|
10539
10061
|
):
|
|
10540
10062
|
Promise<any>;
|
|
10541
10063
|
|
|
10542
|
-
isConnected(
|
|
10543
|
-
|
|
10544
|
-
):
|
|
10545
|
-
Boolean;
|
|
10546
|
-
|
|
10547
|
-
connect(
|
|
10548
|
-
|
|
10549
|
-
):
|
|
10550
|
-
Promise<void>;
|
|
10551
|
-
|
|
10552
|
-
disconnect(
|
|
10553
|
-
|
|
10554
|
-
):
|
|
10555
|
-
Promise<void>;
|
|
10556
|
-
|
|
10557
10064
|
}
|
|
10558
10065
|
|
|
10559
10066
|
export class ManagerWeather extends HomeyAPIV2.Manager {
|
|
@@ -10567,21 +10074,6 @@
|
|
|
10567
10074
|
):
|
|
10568
10075
|
Promise<any>;
|
|
10569
10076
|
|
|
10570
|
-
isConnected(
|
|
10571
|
-
|
|
10572
|
-
):
|
|
10573
|
-
Boolean;
|
|
10574
|
-
|
|
10575
|
-
connect(
|
|
10576
|
-
|
|
10577
|
-
):
|
|
10578
|
-
Promise<void>;
|
|
10579
|
-
|
|
10580
|
-
disconnect(
|
|
10581
|
-
|
|
10582
|
-
):
|
|
10583
|
-
Promise<void>;
|
|
10584
|
-
|
|
10585
10077
|
}
|
|
10586
10078
|
|
|
10587
10079
|
export class ManagerZigBee extends HomeyAPIV2.Manager {
|
|
@@ -10618,21 +10110,6 @@
|
|
|
10618
10110
|
):
|
|
10619
10111
|
Promise<any>;
|
|
10620
10112
|
|
|
10621
|
-
isConnected(
|
|
10622
|
-
|
|
10623
|
-
):
|
|
10624
|
-
Boolean;
|
|
10625
|
-
|
|
10626
|
-
connect(
|
|
10627
|
-
|
|
10628
|
-
):
|
|
10629
|
-
Promise<void>;
|
|
10630
|
-
|
|
10631
|
-
disconnect(
|
|
10632
|
-
|
|
10633
|
-
):
|
|
10634
|
-
Promise<void>;
|
|
10635
|
-
|
|
10636
10113
|
}
|
|
10637
10114
|
|
|
10638
10115
|
export class ManagerZones extends HomeyAPIV2.Manager {
|
|
@@ -10726,21 +10203,6 @@
|
|
|
10726
10203
|
):
|
|
10727
10204
|
Promise<HomeyAPIV2.ManagerZones.Zone>;
|
|
10728
10205
|
|
|
10729
|
-
isConnected(
|
|
10730
|
-
|
|
10731
|
-
):
|
|
10732
|
-
Boolean;
|
|
10733
|
-
|
|
10734
|
-
connect(
|
|
10735
|
-
|
|
10736
|
-
):
|
|
10737
|
-
Promise<void>;
|
|
10738
|
-
|
|
10739
|
-
disconnect(
|
|
10740
|
-
|
|
10741
|
-
):
|
|
10742
|
-
Promise<void>;
|
|
10743
|
-
|
|
10744
10206
|
}
|
|
10745
10207
|
|
|
10746
10208
|
export class ManagerZwave extends HomeyAPIV2.Manager {
|
|
@@ -10820,21 +10282,6 @@
|
|
|
10820
10282
|
):
|
|
10821
10283
|
Promise<any>;
|
|
10822
10284
|
|
|
10823
|
-
isConnected(
|
|
10824
|
-
|
|
10825
|
-
):
|
|
10826
|
-
Boolean;
|
|
10827
|
-
|
|
10828
|
-
connect(
|
|
10829
|
-
|
|
10830
|
-
):
|
|
10831
|
-
Promise<void>;
|
|
10832
|
-
|
|
10833
|
-
disconnect(
|
|
10834
|
-
|
|
10835
|
-
):
|
|
10836
|
-
Promise<void>;
|
|
10837
|
-
|
|
10838
10285
|
}
|
|
10839
10286
|
|
|
10840
10287
|
}
|
|
@@ -10843,7 +10290,7 @@
|
|
|
10843
10290
|
|
|
10844
10291
|
export namespace HomeyAPIV3 {
|
|
10845
10292
|
|
|
10846
|
-
export class Manager
|
|
10293
|
+
export class Manager {
|
|
10847
10294
|
|
|
10848
10295
|
|
|
10849
10296
|
|
|
@@ -10851,16 +10298,28 @@
|
|
|
10851
10298
|
|
|
10852
10299
|
isConnected(
|
|
10853
10300
|
|
|
10301
|
+
|
|
10302
|
+
|
|
10303
|
+
|
|
10304
|
+
|
|
10854
10305
|
):
|
|
10855
10306
|
Boolean;
|
|
10856
10307
|
|
|
10857
10308
|
connect(
|
|
10858
10309
|
|
|
10310
|
+
|
|
10311
|
+
|
|
10312
|
+
|
|
10313
|
+
|
|
10859
10314
|
):
|
|
10860
10315
|
Promise<void>;
|
|
10861
10316
|
|
|
10862
10317
|
disconnect(
|
|
10863
10318
|
|
|
10319
|
+
|
|
10320
|
+
|
|
10321
|
+
|
|
10322
|
+
|
|
10864
10323
|
):
|
|
10865
10324
|
Promise<void>;
|
|
10866
10325
|
|