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
|
@@ -73,6 +73,18 @@
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export class APIErrorNotFound extends APIError {
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
message: string;
|
|
83
|
+
|
|
84
|
+
statusCode: number;
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
76
88
|
}
|
|
77
89
|
|
|
78
90
|
export class APIErrorTimeout extends APIError {
|
|
@@ -5347,54 +5359,19 @@
|
|
|
5347
5359
|
):
|
|
5348
5360
|
string | null;
|
|
5349
5361
|
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
export class HomeyAPIApp extends HomeyAPIV2 {
|
|
5353
|
-
|
|
5354
|
-
constructor(
|
|
5362
|
+
createAppAPI(
|
|
5355
5363
|
|
|
5356
5364
|
|
|
5357
5365
|
|
|
5358
5366
|
|
|
5359
|
-
|
|
5367
|
+
opts: {
|
|
5360
5368
|
|
|
5361
5369
|
|
|
5362
5370
|
homey: Homey,
|
|
5363
5371
|
|
|
5364
5372
|
|
|
5365
5373
|
|
|
5366
|
-
debug:
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
},
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
)
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
isConnected(
|
|
5381
|
-
|
|
5382
|
-
):
|
|
5383
|
-
Boolean;
|
|
5384
|
-
|
|
5385
|
-
__(
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
input: {
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
en: string,
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
nl: string,
|
|
5374
|
+
debug: function | null,
|
|
5398
5375
|
|
|
5399
5376
|
|
|
5400
5377
|
},
|
|
@@ -5403,7 +5380,7 @@
|
|
|
5403
5380
|
|
|
5404
5381
|
|
|
5405
5382
|
):
|
|
5406
|
-
|
|
5383
|
+
Promise<any>;
|
|
5407
5384
|
|
|
5408
5385
|
}
|
|
5409
5386
|
|
|
@@ -5444,15 +5421,6 @@
|
|
|
5444
5421
|
|
|
5445
5422
|
|
|
5446
5423
|
|
|
5447
|
-
isConnected(
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
):
|
|
5454
|
-
Boolean;
|
|
5455
|
-
|
|
5456
5424
|
__(
|
|
5457
5425
|
|
|
5458
5426
|
|
|
@@ -5486,6 +5454,10 @@
|
|
|
5486
5454
|
|
|
5487
5455
|
isConnected(
|
|
5488
5456
|
|
|
5457
|
+
|
|
5458
|
+
|
|
5459
|
+
|
|
5460
|
+
|
|
5489
5461
|
):
|
|
5490
5462
|
Boolean;
|
|
5491
5463
|
|
|
@@ -6060,8 +6032,6 @@
|
|
|
6060
6032
|
|
|
6061
6033
|
|
|
6062
6034
|
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
6035
|
|
|
6066
6036
|
|
|
6067
6037
|
|
|
@@ -6441,62 +6411,6 @@
|
|
|
6441
6411
|
|
|
6442
6412
|
|
|
6443
6413
|
|
|
6444
|
-
makeCapabilityInstance(
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
capabilityId: string,
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
listener: {
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
value: number | boolean | string,
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
},
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
):
|
|
6465
|
-
HomeyAPIV2.ManagerDevices.Device.DeviceCapability;
|
|
6466
|
-
|
|
6467
|
-
setCapabilityValue(
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
opts: {
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
capabilityId: string,
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
value: number | boolean | string,
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
opts: {
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
duration: number,
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
},
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
},
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
):
|
|
6498
|
-
Promise<void>;
|
|
6499
|
-
|
|
6500
6414
|
}
|
|
6501
6415
|
|
|
6502
6416
|
}
|
|
@@ -8473,6 +8387,18 @@
|
|
|
8473
8387
|
|
|
8474
8388
|
|
|
8475
8389
|
|
|
8390
|
+
}
|
|
8391
|
+
|
|
8392
|
+
export class HomeyAPIErrorNotFound extends APIError {
|
|
8393
|
+
|
|
8394
|
+
|
|
8395
|
+
|
|
8396
|
+
message: string;
|
|
8397
|
+
|
|
8398
|
+
statusCode: number;
|
|
8399
|
+
|
|
8400
|
+
|
|
8401
|
+
|
|
8476
8402
|
}
|
|
8477
8403
|
|
|
8478
8404
|
}
|
|
@@ -12159,6 +12085,8 @@
|
|
|
12159
12085
|
|
|
12160
12086
|
|
|
12161
12087
|
|
|
12088
|
+
|
|
12089
|
+
|
|
12162
12090
|
export namespace HomeyAPIV2 {
|
|
12163
12091
|
|
|
12164
12092
|
export class Manager {
|
|
@@ -12167,33 +12095,6 @@
|
|
|
12167
12095
|
|
|
12168
12096
|
|
|
12169
12097
|
|
|
12170
|
-
isConnected(
|
|
12171
|
-
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
):
|
|
12177
|
-
Boolean;
|
|
12178
|
-
|
|
12179
|
-
connect(
|
|
12180
|
-
|
|
12181
|
-
|
|
12182
|
-
|
|
12183
|
-
|
|
12184
|
-
|
|
12185
|
-
):
|
|
12186
|
-
Promise<void>;
|
|
12187
|
-
|
|
12188
|
-
disconnect(
|
|
12189
|
-
|
|
12190
|
-
|
|
12191
|
-
|
|
12192
|
-
|
|
12193
|
-
|
|
12194
|
-
):
|
|
12195
|
-
Promise<void>;
|
|
12196
|
-
|
|
12197
12098
|
}
|
|
12198
12099
|
|
|
12199
12100
|
export class ManagerAlarms extends HomeyAPIV2.Manager {
|
|
@@ -12287,21 +12188,6 @@
|
|
|
12287
12188
|
):
|
|
12288
12189
|
Promise<HomeyAPIV2.ManagerAlarms.Alarm>;
|
|
12289
12190
|
|
|
12290
|
-
isConnected(
|
|
12291
|
-
|
|
12292
|
-
):
|
|
12293
|
-
Boolean;
|
|
12294
|
-
|
|
12295
|
-
connect(
|
|
12296
|
-
|
|
12297
|
-
):
|
|
12298
|
-
Promise<void>;
|
|
12299
|
-
|
|
12300
|
-
disconnect(
|
|
12301
|
-
|
|
12302
|
-
):
|
|
12303
|
-
Promise<void>;
|
|
12304
|
-
|
|
12305
12191
|
}
|
|
12306
12192
|
|
|
12307
12193
|
export class ManagerApps extends HomeyAPIV2.Manager {
|
|
@@ -12613,21 +12499,6 @@
|
|
|
12613
12499
|
):
|
|
12614
12500
|
Promise<HomeyAPIV2.ManagerApps.App>;
|
|
12615
12501
|
|
|
12616
|
-
isConnected(
|
|
12617
|
-
|
|
12618
|
-
):
|
|
12619
|
-
Boolean;
|
|
12620
|
-
|
|
12621
|
-
connect(
|
|
12622
|
-
|
|
12623
|
-
):
|
|
12624
|
-
Promise<void>;
|
|
12625
|
-
|
|
12626
|
-
disconnect(
|
|
12627
|
-
|
|
12628
|
-
):
|
|
12629
|
-
Promise<void>;
|
|
12630
|
-
|
|
12631
12502
|
}
|
|
12632
12503
|
|
|
12633
12504
|
export class ManagerAudio extends HomeyAPIV2.Manager {
|
|
@@ -12670,21 +12541,6 @@
|
|
|
12670
12541
|
):
|
|
12671
12542
|
Promise<any>;
|
|
12672
12543
|
|
|
12673
|
-
isConnected(
|
|
12674
|
-
|
|
12675
|
-
):
|
|
12676
|
-
Boolean;
|
|
12677
|
-
|
|
12678
|
-
connect(
|
|
12679
|
-
|
|
12680
|
-
):
|
|
12681
|
-
Promise<void>;
|
|
12682
|
-
|
|
12683
|
-
disconnect(
|
|
12684
|
-
|
|
12685
|
-
):
|
|
12686
|
-
Promise<void>;
|
|
12687
|
-
|
|
12688
12544
|
}
|
|
12689
12545
|
|
|
12690
12546
|
export class ManagerBackup extends HomeyAPIV2.Manager {
|
|
@@ -12761,21 +12617,6 @@
|
|
|
12761
12617
|
):
|
|
12762
12618
|
Promise<any>;
|
|
12763
12619
|
|
|
12764
|
-
isConnected(
|
|
12765
|
-
|
|
12766
|
-
):
|
|
12767
|
-
Boolean;
|
|
12768
|
-
|
|
12769
|
-
connect(
|
|
12770
|
-
|
|
12771
|
-
):
|
|
12772
|
-
Promise<void>;
|
|
12773
|
-
|
|
12774
|
-
disconnect(
|
|
12775
|
-
|
|
12776
|
-
):
|
|
12777
|
-
Promise<void>;
|
|
12778
|
-
|
|
12779
12620
|
}
|
|
12780
12621
|
|
|
12781
12622
|
export class ManagerBLE extends HomeyAPIV2.Manager {
|
|
@@ -12812,21 +12653,6 @@
|
|
|
12812
12653
|
):
|
|
12813
12654
|
Promise<any>;
|
|
12814
12655
|
|
|
12815
|
-
isConnected(
|
|
12816
|
-
|
|
12817
|
-
):
|
|
12818
|
-
Boolean;
|
|
12819
|
-
|
|
12820
|
-
connect(
|
|
12821
|
-
|
|
12822
|
-
):
|
|
12823
|
-
Promise<void>;
|
|
12824
|
-
|
|
12825
|
-
disconnect(
|
|
12826
|
-
|
|
12827
|
-
):
|
|
12828
|
-
Promise<void>;
|
|
12829
|
-
|
|
12830
12656
|
}
|
|
12831
12657
|
|
|
12832
12658
|
export class ManagerCloud extends HomeyAPIV2.Manager {
|
|
@@ -12840,21 +12666,6 @@
|
|
|
12840
12666
|
):
|
|
12841
12667
|
Promise<any>;
|
|
12842
12668
|
|
|
12843
|
-
isConnected(
|
|
12844
|
-
|
|
12845
|
-
):
|
|
12846
|
-
Boolean;
|
|
12847
|
-
|
|
12848
|
-
connect(
|
|
12849
|
-
|
|
12850
|
-
):
|
|
12851
|
-
Promise<void>;
|
|
12852
|
-
|
|
12853
|
-
disconnect(
|
|
12854
|
-
|
|
12855
|
-
):
|
|
12856
|
-
Promise<void>;
|
|
12857
|
-
|
|
12858
12669
|
}
|
|
12859
12670
|
|
|
12860
12671
|
export class ManagerCoprocessor extends HomeyAPIV2.Manager {
|
|
@@ -12925,24 +12736,9 @@
|
|
|
12925
12736
|
):
|
|
12926
12737
|
Promise<any>;
|
|
12927
12738
|
|
|
12928
|
-
|
|
12929
|
-
|
|
12930
|
-
|
|
12931
|
-
Boolean;
|
|
12932
|
-
|
|
12933
|
-
connect(
|
|
12934
|
-
|
|
12935
|
-
):
|
|
12936
|
-
Promise<void>;
|
|
12937
|
-
|
|
12938
|
-
disconnect(
|
|
12939
|
-
|
|
12940
|
-
):
|
|
12941
|
-
Promise<void>;
|
|
12942
|
-
|
|
12943
|
-
}
|
|
12944
|
-
|
|
12945
|
-
export class ManagerDashboards extends HomeyAPIV2.Manager {
|
|
12739
|
+
}
|
|
12740
|
+
|
|
12741
|
+
export class ManagerDashboards extends HomeyAPIV2.Manager {
|
|
12946
12742
|
|
|
12947
12743
|
|
|
12948
12744
|
|
|
@@ -13033,21 +12829,6 @@
|
|
|
13033
12829
|
):
|
|
13034
12830
|
Promise<HomeyAPIV2.ManagerDashboards.Dashboard>;
|
|
13035
12831
|
|
|
13036
|
-
isConnected(
|
|
13037
|
-
|
|
13038
|
-
):
|
|
13039
|
-
Boolean;
|
|
13040
|
-
|
|
13041
|
-
connect(
|
|
13042
|
-
|
|
13043
|
-
):
|
|
13044
|
-
Promise<void>;
|
|
13045
|
-
|
|
13046
|
-
disconnect(
|
|
13047
|
-
|
|
13048
|
-
):
|
|
13049
|
-
Promise<void>;
|
|
13050
|
-
|
|
13051
12832
|
}
|
|
13052
12833
|
|
|
13053
12834
|
export class ManagerDatabase extends HomeyAPIV2.Manager {
|
|
@@ -13061,21 +12842,6 @@
|
|
|
13061
12842
|
):
|
|
13062
12843
|
Promise<any>;
|
|
13063
12844
|
|
|
13064
|
-
isConnected(
|
|
13065
|
-
|
|
13066
|
-
):
|
|
13067
|
-
Boolean;
|
|
13068
|
-
|
|
13069
|
-
connect(
|
|
13070
|
-
|
|
13071
|
-
):
|
|
13072
|
-
Promise<void>;
|
|
13073
|
-
|
|
13074
|
-
disconnect(
|
|
13075
|
-
|
|
13076
|
-
):
|
|
13077
|
-
Promise<void>;
|
|
13078
|
-
|
|
13079
12845
|
}
|
|
13080
12846
|
|
|
13081
12847
|
export class ManagerDevices extends HomeyAPIV2.Manager {
|
|
@@ -13255,21 +13021,6 @@
|
|
|
13255
13021
|
):
|
|
13256
13022
|
Promise<HomeyAPIV2.ManagerDevices.Device>;
|
|
13257
13023
|
|
|
13258
|
-
isConnected(
|
|
13259
|
-
|
|
13260
|
-
):
|
|
13261
|
-
Boolean;
|
|
13262
|
-
|
|
13263
|
-
connect(
|
|
13264
|
-
|
|
13265
|
-
):
|
|
13266
|
-
Promise<void>;
|
|
13267
|
-
|
|
13268
|
-
disconnect(
|
|
13269
|
-
|
|
13270
|
-
):
|
|
13271
|
-
Promise<void>;
|
|
13272
|
-
|
|
13273
13024
|
}
|
|
13274
13025
|
|
|
13275
13026
|
export class ManagerDevkit extends HomeyAPIV2.Manager {
|
|
@@ -13414,21 +13165,6 @@
|
|
|
13414
13165
|
):
|
|
13415
13166
|
Promise<any>;
|
|
13416
13167
|
|
|
13417
|
-
isConnected(
|
|
13418
|
-
|
|
13419
|
-
):
|
|
13420
|
-
Boolean;
|
|
13421
|
-
|
|
13422
|
-
connect(
|
|
13423
|
-
|
|
13424
|
-
):
|
|
13425
|
-
Promise<void>;
|
|
13426
|
-
|
|
13427
|
-
disconnect(
|
|
13428
|
-
|
|
13429
|
-
):
|
|
13430
|
-
Promise<void>;
|
|
13431
|
-
|
|
13432
13168
|
}
|
|
13433
13169
|
|
|
13434
13170
|
export class ManagerDrivers extends HomeyAPIV2.Manager {
|
|
@@ -13642,21 +13378,6 @@
|
|
|
13642
13378
|
):
|
|
13643
13379
|
Promise<HomeyAPIV2.ManagerDrivers.Driver>;
|
|
13644
13380
|
|
|
13645
|
-
isConnected(
|
|
13646
|
-
|
|
13647
|
-
):
|
|
13648
|
-
Boolean;
|
|
13649
|
-
|
|
13650
|
-
connect(
|
|
13651
|
-
|
|
13652
|
-
):
|
|
13653
|
-
Promise<void>;
|
|
13654
|
-
|
|
13655
|
-
disconnect(
|
|
13656
|
-
|
|
13657
|
-
):
|
|
13658
|
-
Promise<void>;
|
|
13659
|
-
|
|
13660
13381
|
}
|
|
13661
13382
|
|
|
13662
13383
|
export class ManagerEnergy extends HomeyAPIV2.Manager {
|
|
@@ -13742,21 +13463,6 @@
|
|
|
13742
13463
|
):
|
|
13743
13464
|
Promise<any>;
|
|
13744
13465
|
|
|
13745
|
-
isConnected(
|
|
13746
|
-
|
|
13747
|
-
):
|
|
13748
|
-
Boolean;
|
|
13749
|
-
|
|
13750
|
-
connect(
|
|
13751
|
-
|
|
13752
|
-
):
|
|
13753
|
-
Promise<void>;
|
|
13754
|
-
|
|
13755
|
-
disconnect(
|
|
13756
|
-
|
|
13757
|
-
):
|
|
13758
|
-
Promise<void>;
|
|
13759
|
-
|
|
13760
13466
|
}
|
|
13761
13467
|
|
|
13762
13468
|
export class ManagerExperiments extends HomeyAPIV2.Manager {
|
|
@@ -13808,21 +13514,6 @@
|
|
|
13808
13514
|
):
|
|
13809
13515
|
Promise<any>;
|
|
13810
13516
|
|
|
13811
|
-
isConnected(
|
|
13812
|
-
|
|
13813
|
-
):
|
|
13814
|
-
Boolean;
|
|
13815
|
-
|
|
13816
|
-
connect(
|
|
13817
|
-
|
|
13818
|
-
):
|
|
13819
|
-
Promise<void>;
|
|
13820
|
-
|
|
13821
|
-
disconnect(
|
|
13822
|
-
|
|
13823
|
-
):
|
|
13824
|
-
Promise<void>;
|
|
13825
|
-
|
|
13826
13517
|
}
|
|
13827
13518
|
|
|
13828
13519
|
export class ManagerFlow extends HomeyAPIV2.Manager {
|
|
@@ -14375,21 +14066,6 @@
|
|
|
14375
14066
|
):
|
|
14376
14067
|
Promise<HomeyAPIV2.ManagerFlow.FlowCardTrigger>;
|
|
14377
14068
|
|
|
14378
|
-
isConnected(
|
|
14379
|
-
|
|
14380
|
-
):
|
|
14381
|
-
Boolean;
|
|
14382
|
-
|
|
14383
|
-
connect(
|
|
14384
|
-
|
|
14385
|
-
):
|
|
14386
|
-
Promise<void>;
|
|
14387
|
-
|
|
14388
|
-
disconnect(
|
|
14389
|
-
|
|
14390
|
-
):
|
|
14391
|
-
Promise<void>;
|
|
14392
|
-
|
|
14393
14069
|
}
|
|
14394
14070
|
|
|
14395
14071
|
export class ManagerFlowToken extends HomeyAPIV2.Manager {
|
|
@@ -14426,21 +14102,6 @@
|
|
|
14426
14102
|
):
|
|
14427
14103
|
Promise<HomeyAPIV2.ManagerFlowToken.FlowToken>;
|
|
14428
14104
|
|
|
14429
|
-
isConnected(
|
|
14430
|
-
|
|
14431
|
-
):
|
|
14432
|
-
Boolean;
|
|
14433
|
-
|
|
14434
|
-
connect(
|
|
14435
|
-
|
|
14436
|
-
):
|
|
14437
|
-
Promise<void>;
|
|
14438
|
-
|
|
14439
|
-
disconnect(
|
|
14440
|
-
|
|
14441
|
-
):
|
|
14442
|
-
Promise<void>;
|
|
14443
|
-
|
|
14444
14105
|
}
|
|
14445
14106
|
|
|
14446
14107
|
export class ManagerGeolocation extends HomeyAPIV2.Manager {
|
|
@@ -14507,21 +14168,6 @@
|
|
|
14507
14168
|
):
|
|
14508
14169
|
Promise<any>;
|
|
14509
14170
|
|
|
14510
|
-
isConnected(
|
|
14511
|
-
|
|
14512
|
-
):
|
|
14513
|
-
Boolean;
|
|
14514
|
-
|
|
14515
|
-
connect(
|
|
14516
|
-
|
|
14517
|
-
):
|
|
14518
|
-
Promise<void>;
|
|
14519
|
-
|
|
14520
|
-
disconnect(
|
|
14521
|
-
|
|
14522
|
-
):
|
|
14523
|
-
Promise<void>;
|
|
14524
|
-
|
|
14525
14171
|
}
|
|
14526
14172
|
|
|
14527
14173
|
export class ManagerGoogleAssistant extends HomeyAPIV2.Manager {
|
|
@@ -14564,21 +14210,6 @@
|
|
|
14564
14210
|
):
|
|
14565
14211
|
Promise<any>;
|
|
14566
14212
|
|
|
14567
|
-
isConnected(
|
|
14568
|
-
|
|
14569
|
-
):
|
|
14570
|
-
Boolean;
|
|
14571
|
-
|
|
14572
|
-
connect(
|
|
14573
|
-
|
|
14574
|
-
):
|
|
14575
|
-
Promise<void>;
|
|
14576
|
-
|
|
14577
|
-
disconnect(
|
|
14578
|
-
|
|
14579
|
-
):
|
|
14580
|
-
Promise<void>;
|
|
14581
|
-
|
|
14582
14213
|
}
|
|
14583
14214
|
|
|
14584
14215
|
export class ManagerI18n extends HomeyAPIV2.Manager {
|
|
@@ -14645,21 +14276,6 @@
|
|
|
14645
14276
|
):
|
|
14646
14277
|
Promise<any>;
|
|
14647
14278
|
|
|
14648
|
-
isConnected(
|
|
14649
|
-
|
|
14650
|
-
):
|
|
14651
|
-
Boolean;
|
|
14652
|
-
|
|
14653
|
-
connect(
|
|
14654
|
-
|
|
14655
|
-
):
|
|
14656
|
-
Promise<void>;
|
|
14657
|
-
|
|
14658
|
-
disconnect(
|
|
14659
|
-
|
|
14660
|
-
):
|
|
14661
|
-
Promise<void>;
|
|
14662
|
-
|
|
14663
14279
|
}
|
|
14664
14280
|
|
|
14665
14281
|
export class ManagerImages extends HomeyAPIV2.Manager {
|
|
@@ -14692,21 +14308,6 @@
|
|
|
14692
14308
|
):
|
|
14693
14309
|
Promise<HomeyAPIV2.ManagerImages.Image>;
|
|
14694
14310
|
|
|
14695
|
-
isConnected(
|
|
14696
|
-
|
|
14697
|
-
):
|
|
14698
|
-
Boolean;
|
|
14699
|
-
|
|
14700
|
-
connect(
|
|
14701
|
-
|
|
14702
|
-
):
|
|
14703
|
-
Promise<void>;
|
|
14704
|
-
|
|
14705
|
-
disconnect(
|
|
14706
|
-
|
|
14707
|
-
):
|
|
14708
|
-
Promise<void>;
|
|
14709
|
-
|
|
14710
14311
|
}
|
|
14711
14312
|
|
|
14712
14313
|
export class ManagerInsights extends HomeyAPIV2.Manager {
|
|
@@ -14853,21 +14454,6 @@
|
|
|
14853
14454
|
):
|
|
14854
14455
|
Promise<HomeyAPIV2.ManagerInsights.Log>;
|
|
14855
14456
|
|
|
14856
|
-
isConnected(
|
|
14857
|
-
|
|
14858
|
-
):
|
|
14859
|
-
Boolean;
|
|
14860
|
-
|
|
14861
|
-
connect(
|
|
14862
|
-
|
|
14863
|
-
):
|
|
14864
|
-
Promise<void>;
|
|
14865
|
-
|
|
14866
|
-
disconnect(
|
|
14867
|
-
|
|
14868
|
-
):
|
|
14869
|
-
Promise<void>;
|
|
14870
|
-
|
|
14871
14457
|
}
|
|
14872
14458
|
|
|
14873
14459
|
export class ManagerLedring extends HomeyAPIV2.Manager {
|
|
@@ -14944,21 +14530,6 @@
|
|
|
14944
14530
|
):
|
|
14945
14531
|
Promise<any>;
|
|
14946
14532
|
|
|
14947
|
-
isConnected(
|
|
14948
|
-
|
|
14949
|
-
):
|
|
14950
|
-
Boolean;
|
|
14951
|
-
|
|
14952
|
-
connect(
|
|
14953
|
-
|
|
14954
|
-
):
|
|
14955
|
-
Promise<void>;
|
|
14956
|
-
|
|
14957
|
-
disconnect(
|
|
14958
|
-
|
|
14959
|
-
):
|
|
14960
|
-
Promise<void>;
|
|
14961
|
-
|
|
14962
14533
|
}
|
|
14963
14534
|
|
|
14964
14535
|
export class ManagerLogic extends HomeyAPIV2.Manager {
|
|
@@ -15075,21 +14646,6 @@
|
|
|
15075
14646
|
):
|
|
15076
14647
|
Promise<HomeyAPIV2.ManagerLogic.Variable>;
|
|
15077
14648
|
|
|
15078
|
-
isConnected(
|
|
15079
|
-
|
|
15080
|
-
):
|
|
15081
|
-
Boolean;
|
|
15082
|
-
|
|
15083
|
-
connect(
|
|
15084
|
-
|
|
15085
|
-
):
|
|
15086
|
-
Promise<void>;
|
|
15087
|
-
|
|
15088
|
-
disconnect(
|
|
15089
|
-
|
|
15090
|
-
):
|
|
15091
|
-
Promise<void>;
|
|
15092
|
-
|
|
15093
14649
|
}
|
|
15094
14650
|
|
|
15095
14651
|
export class ManagerMobile extends HomeyAPIV2.Manager {
|
|
@@ -15103,21 +14659,6 @@
|
|
|
15103
14659
|
):
|
|
15104
14660
|
Promise<any>;
|
|
15105
14661
|
|
|
15106
|
-
isConnected(
|
|
15107
|
-
|
|
15108
|
-
):
|
|
15109
|
-
Boolean;
|
|
15110
|
-
|
|
15111
|
-
connect(
|
|
15112
|
-
|
|
15113
|
-
):
|
|
15114
|
-
Promise<void>;
|
|
15115
|
-
|
|
15116
|
-
disconnect(
|
|
15117
|
-
|
|
15118
|
-
):
|
|
15119
|
-
Promise<void>;
|
|
15120
|
-
|
|
15121
14662
|
}
|
|
15122
14663
|
|
|
15123
14664
|
export class ManagerMoods extends HomeyAPIV2.Manager {
|
|
@@ -15234,21 +14775,6 @@
|
|
|
15234
14775
|
):
|
|
15235
14776
|
Promise<HomeyAPIV2.ManagerMoods.Mood>;
|
|
15236
14777
|
|
|
15237
|
-
isConnected(
|
|
15238
|
-
|
|
15239
|
-
):
|
|
15240
|
-
Boolean;
|
|
15241
|
-
|
|
15242
|
-
connect(
|
|
15243
|
-
|
|
15244
|
-
):
|
|
15245
|
-
Promise<void>;
|
|
15246
|
-
|
|
15247
|
-
disconnect(
|
|
15248
|
-
|
|
15249
|
-
):
|
|
15250
|
-
Promise<void>;
|
|
15251
|
-
|
|
15252
14778
|
}
|
|
15253
14779
|
|
|
15254
14780
|
export class ManagerNotifications extends HomeyAPIV2.Manager {
|
|
@@ -15389,21 +14915,6 @@
|
|
|
15389
14915
|
):
|
|
15390
14916
|
Promise<HomeyAPIV2.ManagerNotifications.Notification>;
|
|
15391
14917
|
|
|
15392
|
-
isConnected(
|
|
15393
|
-
|
|
15394
|
-
):
|
|
15395
|
-
Boolean;
|
|
15396
|
-
|
|
15397
|
-
connect(
|
|
15398
|
-
|
|
15399
|
-
):
|
|
15400
|
-
Promise<void>;
|
|
15401
|
-
|
|
15402
|
-
disconnect(
|
|
15403
|
-
|
|
15404
|
-
):
|
|
15405
|
-
Promise<void>;
|
|
15406
|
-
|
|
15407
14918
|
}
|
|
15408
14919
|
|
|
15409
14920
|
export class ManagerPresence extends HomeyAPIV2.Manager {
|
|
@@ -15542,21 +15053,6 @@
|
|
|
15542
15053
|
):
|
|
15543
15054
|
Promise<any>;
|
|
15544
15055
|
|
|
15545
|
-
isConnected(
|
|
15546
|
-
|
|
15547
|
-
):
|
|
15548
|
-
Boolean;
|
|
15549
|
-
|
|
15550
|
-
connect(
|
|
15551
|
-
|
|
15552
|
-
):
|
|
15553
|
-
Promise<void>;
|
|
15554
|
-
|
|
15555
|
-
disconnect(
|
|
15556
|
-
|
|
15557
|
-
):
|
|
15558
|
-
Promise<void>;
|
|
15559
|
-
|
|
15560
15056
|
}
|
|
15561
15057
|
|
|
15562
15058
|
export class ManagerReports extends HomeyAPIV2.Manager {
|
|
@@ -15589,21 +15085,6 @@
|
|
|
15589
15085
|
):
|
|
15590
15086
|
Promise<any>;
|
|
15591
15087
|
|
|
15592
|
-
isConnected(
|
|
15593
|
-
|
|
15594
|
-
):
|
|
15595
|
-
Boolean;
|
|
15596
|
-
|
|
15597
|
-
connect(
|
|
15598
|
-
|
|
15599
|
-
):
|
|
15600
|
-
Promise<void>;
|
|
15601
|
-
|
|
15602
|
-
disconnect(
|
|
15603
|
-
|
|
15604
|
-
):
|
|
15605
|
-
Promise<void>;
|
|
15606
|
-
|
|
15607
15088
|
}
|
|
15608
15089
|
|
|
15609
15090
|
export class ManagerRF extends HomeyAPIV2.Manager {
|
|
@@ -15681,21 +15162,6 @@
|
|
|
15681
15162
|
):
|
|
15682
15163
|
Promise<any>;
|
|
15683
15164
|
|
|
15684
|
-
isConnected(
|
|
15685
|
-
|
|
15686
|
-
):
|
|
15687
|
-
Boolean;
|
|
15688
|
-
|
|
15689
|
-
connect(
|
|
15690
|
-
|
|
15691
|
-
):
|
|
15692
|
-
Promise<void>;
|
|
15693
|
-
|
|
15694
|
-
disconnect(
|
|
15695
|
-
|
|
15696
|
-
):
|
|
15697
|
-
Promise<void>;
|
|
15698
|
-
|
|
15699
15165
|
}
|
|
15700
15166
|
|
|
15701
15167
|
export class ManagerSessions extends HomeyAPIV2.Manager {
|
|
@@ -15733,21 +15199,6 @@
|
|
|
15733
15199
|
):
|
|
15734
15200
|
Promise<HomeyAPIV2.ManagerSessions.Session>;
|
|
15735
15201
|
|
|
15736
|
-
isConnected(
|
|
15737
|
-
|
|
15738
|
-
):
|
|
15739
|
-
Boolean;
|
|
15740
|
-
|
|
15741
|
-
connect(
|
|
15742
|
-
|
|
15743
|
-
):
|
|
15744
|
-
Promise<void>;
|
|
15745
|
-
|
|
15746
|
-
disconnect(
|
|
15747
|
-
|
|
15748
|
-
):
|
|
15749
|
-
Promise<void>;
|
|
15750
|
-
|
|
15751
15202
|
}
|
|
15752
15203
|
|
|
15753
15204
|
export class ManagerSpeechOutput extends HomeyAPIV2.Manager {
|
|
@@ -15926,21 +15377,6 @@
|
|
|
15926
15377
|
):
|
|
15927
15378
|
Promise<any>;
|
|
15928
15379
|
|
|
15929
|
-
isConnected(
|
|
15930
|
-
|
|
15931
|
-
):
|
|
15932
|
-
Boolean;
|
|
15933
|
-
|
|
15934
|
-
connect(
|
|
15935
|
-
|
|
15936
|
-
):
|
|
15937
|
-
Promise<void>;
|
|
15938
|
-
|
|
15939
|
-
disconnect(
|
|
15940
|
-
|
|
15941
|
-
):
|
|
15942
|
-
Promise<void>;
|
|
15943
|
-
|
|
15944
15380
|
}
|
|
15945
15381
|
|
|
15946
15382
|
export class ManagerSystem extends HomeyAPIV2.Manager {
|
|
@@ -16075,21 +15511,6 @@
|
|
|
16075
15511
|
):
|
|
16076
15512
|
Promise<any>;
|
|
16077
15513
|
|
|
16078
|
-
isConnected(
|
|
16079
|
-
|
|
16080
|
-
):
|
|
16081
|
-
Boolean;
|
|
16082
|
-
|
|
16083
|
-
connect(
|
|
16084
|
-
|
|
16085
|
-
):
|
|
16086
|
-
Promise<void>;
|
|
16087
|
-
|
|
16088
|
-
disconnect(
|
|
16089
|
-
|
|
16090
|
-
):
|
|
16091
|
-
Promise<void>;
|
|
16092
|
-
|
|
16093
15514
|
}
|
|
16094
15515
|
|
|
16095
15516
|
export class ManagerUpdates extends HomeyAPIV2.Manager {
|
|
@@ -16286,21 +15707,6 @@
|
|
|
16286
15707
|
):
|
|
16287
15708
|
Promise<any>;
|
|
16288
15709
|
|
|
16289
|
-
isConnected(
|
|
16290
|
-
|
|
16291
|
-
):
|
|
16292
|
-
Boolean;
|
|
16293
|
-
|
|
16294
|
-
connect(
|
|
16295
|
-
|
|
16296
|
-
):
|
|
16297
|
-
Promise<void>;
|
|
16298
|
-
|
|
16299
|
-
disconnect(
|
|
16300
|
-
|
|
16301
|
-
):
|
|
16302
|
-
Promise<void>;
|
|
16303
|
-
|
|
16304
15710
|
}
|
|
16305
15711
|
|
|
16306
15712
|
export class ManagerUsers extends HomeyAPIV2.Manager {
|
|
@@ -16512,21 +15918,6 @@
|
|
|
16512
15918
|
):
|
|
16513
15919
|
Promise<any>;
|
|
16514
15920
|
|
|
16515
|
-
isConnected(
|
|
16516
|
-
|
|
16517
|
-
):
|
|
16518
|
-
Boolean;
|
|
16519
|
-
|
|
16520
|
-
connect(
|
|
16521
|
-
|
|
16522
|
-
):
|
|
16523
|
-
Promise<void>;
|
|
16524
|
-
|
|
16525
|
-
disconnect(
|
|
16526
|
-
|
|
16527
|
-
):
|
|
16528
|
-
Promise<void>;
|
|
16529
|
-
|
|
16530
15921
|
}
|
|
16531
15922
|
|
|
16532
15923
|
export class ManagerWeather extends HomeyAPIV2.Manager {
|
|
@@ -16540,21 +15931,6 @@
|
|
|
16540
15931
|
):
|
|
16541
15932
|
Promise<any>;
|
|
16542
15933
|
|
|
16543
|
-
isConnected(
|
|
16544
|
-
|
|
16545
|
-
):
|
|
16546
|
-
Boolean;
|
|
16547
|
-
|
|
16548
|
-
connect(
|
|
16549
|
-
|
|
16550
|
-
):
|
|
16551
|
-
Promise<void>;
|
|
16552
|
-
|
|
16553
|
-
disconnect(
|
|
16554
|
-
|
|
16555
|
-
):
|
|
16556
|
-
Promise<void>;
|
|
16557
|
-
|
|
16558
15934
|
}
|
|
16559
15935
|
|
|
16560
15936
|
export class ManagerZigBee extends HomeyAPIV2.Manager {
|
|
@@ -16591,21 +15967,6 @@
|
|
|
16591
15967
|
):
|
|
16592
15968
|
Promise<any>;
|
|
16593
15969
|
|
|
16594
|
-
isConnected(
|
|
16595
|
-
|
|
16596
|
-
):
|
|
16597
|
-
Boolean;
|
|
16598
|
-
|
|
16599
|
-
connect(
|
|
16600
|
-
|
|
16601
|
-
):
|
|
16602
|
-
Promise<void>;
|
|
16603
|
-
|
|
16604
|
-
disconnect(
|
|
16605
|
-
|
|
16606
|
-
):
|
|
16607
|
-
Promise<void>;
|
|
16608
|
-
|
|
16609
15970
|
}
|
|
16610
15971
|
|
|
16611
15972
|
export class ManagerZones extends HomeyAPIV2.Manager {
|
|
@@ -16699,21 +16060,6 @@
|
|
|
16699
16060
|
):
|
|
16700
16061
|
Promise<HomeyAPIV2.ManagerZones.Zone>;
|
|
16701
16062
|
|
|
16702
|
-
isConnected(
|
|
16703
|
-
|
|
16704
|
-
):
|
|
16705
|
-
Boolean;
|
|
16706
|
-
|
|
16707
|
-
connect(
|
|
16708
|
-
|
|
16709
|
-
):
|
|
16710
|
-
Promise<void>;
|
|
16711
|
-
|
|
16712
|
-
disconnect(
|
|
16713
|
-
|
|
16714
|
-
):
|
|
16715
|
-
Promise<void>;
|
|
16716
|
-
|
|
16717
16063
|
}
|
|
16718
16064
|
|
|
16719
16065
|
export class ManagerZwave extends HomeyAPIV2.Manager {
|
|
@@ -16793,21 +16139,6 @@
|
|
|
16793
16139
|
):
|
|
16794
16140
|
Promise<any>;
|
|
16795
16141
|
|
|
16796
|
-
isConnected(
|
|
16797
|
-
|
|
16798
|
-
):
|
|
16799
|
-
Boolean;
|
|
16800
|
-
|
|
16801
|
-
connect(
|
|
16802
|
-
|
|
16803
|
-
):
|
|
16804
|
-
Promise<void>;
|
|
16805
|
-
|
|
16806
|
-
disconnect(
|
|
16807
|
-
|
|
16808
|
-
):
|
|
16809
|
-
Promise<void>;
|
|
16810
|
-
|
|
16811
16142
|
}
|
|
16812
16143
|
|
|
16813
16144
|
}
|
|
@@ -16816,7 +16147,7 @@
|
|
|
16816
16147
|
|
|
16817
16148
|
export namespace HomeyAPIV3 {
|
|
16818
16149
|
|
|
16819
|
-
export class Manager
|
|
16150
|
+
export class Manager {
|
|
16820
16151
|
|
|
16821
16152
|
|
|
16822
16153
|
|
|
@@ -16824,16 +16155,28 @@
|
|
|
16824
16155
|
|
|
16825
16156
|
isConnected(
|
|
16826
16157
|
|
|
16158
|
+
|
|
16159
|
+
|
|
16160
|
+
|
|
16161
|
+
|
|
16827
16162
|
):
|
|
16828
16163
|
Boolean;
|
|
16829
16164
|
|
|
16830
16165
|
connect(
|
|
16831
16166
|
|
|
16167
|
+
|
|
16168
|
+
|
|
16169
|
+
|
|
16170
|
+
|
|
16832
16171
|
):
|
|
16833
16172
|
Promise<void>;
|
|
16834
16173
|
|
|
16835
16174
|
disconnect(
|
|
16836
16175
|
|
|
16176
|
+
|
|
16177
|
+
|
|
16178
|
+
|
|
16179
|
+
|
|
16837
16180
|
):
|
|
16838
16181
|
Promise<void>;
|
|
16839
16182
|
|
|
@@ -21482,6 +20825,10 @@
|
|
|
21482
20825
|
|
|
21483
20826
|
|
|
21484
20827
|
|
|
20828
|
+
|
|
20829
|
+
|
|
20830
|
+
|
|
20831
|
+
|
|
21485
20832
|
|
|
21486
20833
|
|
|
21487
20834
|
|