homey-api 1.10.16 → 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/specifications/HomeyAPIV3Local.json +19 -1
- package/assets/types/homey-api.d.ts +71 -589
- package/assets/types/homey-api.private.d.ts +71 -649
- 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
|
@@ -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,
|
|
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
|
|
|
@@ -8457,6 +8427,18 @@
|
|
|
8457
8427
|
|
|
8458
8428
|
|
|
8459
8429
|
|
|
8430
|
+
}
|
|
8431
|
+
|
|
8432
|
+
export class HomeyAPIErrorNotFound extends APIError {
|
|
8433
|
+
|
|
8434
|
+
|
|
8435
|
+
|
|
8436
|
+
message: string;
|
|
8437
|
+
|
|
8438
|
+
statusCode: number;
|
|
8439
|
+
|
|
8440
|
+
|
|
8441
|
+
|
|
8460
8442
|
}
|
|
8461
8443
|
|
|
8462
8444
|
}
|
|
@@ -12143,6 +12125,8 @@
|
|
|
12143
12125
|
|
|
12144
12126
|
|
|
12145
12127
|
|
|
12128
|
+
|
|
12129
|
+
|
|
12146
12130
|
export namespace HomeyAPIV2 {
|
|
12147
12131
|
|
|
12148
12132
|
export class Manager {
|
|
@@ -12151,33 +12135,6 @@
|
|
|
12151
12135
|
|
|
12152
12136
|
|
|
12153
12137
|
|
|
12154
|
-
isConnected(
|
|
12155
|
-
|
|
12156
|
-
|
|
12157
|
-
|
|
12158
|
-
|
|
12159
|
-
|
|
12160
|
-
):
|
|
12161
|
-
Boolean;
|
|
12162
|
-
|
|
12163
|
-
connect(
|
|
12164
|
-
|
|
12165
|
-
|
|
12166
|
-
|
|
12167
|
-
|
|
12168
|
-
|
|
12169
|
-
):
|
|
12170
|
-
Promise<void>;
|
|
12171
|
-
|
|
12172
|
-
disconnect(
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12177
|
-
|
|
12178
|
-
):
|
|
12179
|
-
Promise<void>;
|
|
12180
|
-
|
|
12181
12138
|
}
|
|
12182
12139
|
|
|
12183
12140
|
export class ManagerAlarms extends HomeyAPIV2.Manager {
|
|
@@ -12271,21 +12228,6 @@
|
|
|
12271
12228
|
):
|
|
12272
12229
|
Promise<HomeyAPIV2.ManagerAlarms.Alarm>;
|
|
12273
12230
|
|
|
12274
|
-
isConnected(
|
|
12275
|
-
|
|
12276
|
-
):
|
|
12277
|
-
Boolean;
|
|
12278
|
-
|
|
12279
|
-
connect(
|
|
12280
|
-
|
|
12281
|
-
):
|
|
12282
|
-
Promise<void>;
|
|
12283
|
-
|
|
12284
|
-
disconnect(
|
|
12285
|
-
|
|
12286
|
-
):
|
|
12287
|
-
Promise<void>;
|
|
12288
|
-
|
|
12289
12231
|
}
|
|
12290
12232
|
|
|
12291
12233
|
export class ManagerApps extends HomeyAPIV2.Manager {
|
|
@@ -12597,21 +12539,6 @@
|
|
|
12597
12539
|
):
|
|
12598
12540
|
Promise<HomeyAPIV2.ManagerApps.App>;
|
|
12599
12541
|
|
|
12600
|
-
isConnected(
|
|
12601
|
-
|
|
12602
|
-
):
|
|
12603
|
-
Boolean;
|
|
12604
|
-
|
|
12605
|
-
connect(
|
|
12606
|
-
|
|
12607
|
-
):
|
|
12608
|
-
Promise<void>;
|
|
12609
|
-
|
|
12610
|
-
disconnect(
|
|
12611
|
-
|
|
12612
|
-
):
|
|
12613
|
-
Promise<void>;
|
|
12614
|
-
|
|
12615
12542
|
}
|
|
12616
12543
|
|
|
12617
12544
|
export class ManagerAudio extends HomeyAPIV2.Manager {
|
|
@@ -12654,21 +12581,6 @@
|
|
|
12654
12581
|
):
|
|
12655
12582
|
Promise<any>;
|
|
12656
12583
|
|
|
12657
|
-
isConnected(
|
|
12658
|
-
|
|
12659
|
-
):
|
|
12660
|
-
Boolean;
|
|
12661
|
-
|
|
12662
|
-
connect(
|
|
12663
|
-
|
|
12664
|
-
):
|
|
12665
|
-
Promise<void>;
|
|
12666
|
-
|
|
12667
|
-
disconnect(
|
|
12668
|
-
|
|
12669
|
-
):
|
|
12670
|
-
Promise<void>;
|
|
12671
|
-
|
|
12672
12584
|
}
|
|
12673
12585
|
|
|
12674
12586
|
export class ManagerBackup extends HomeyAPIV2.Manager {
|
|
@@ -12745,21 +12657,6 @@
|
|
|
12745
12657
|
):
|
|
12746
12658
|
Promise<any>;
|
|
12747
12659
|
|
|
12748
|
-
isConnected(
|
|
12749
|
-
|
|
12750
|
-
):
|
|
12751
|
-
Boolean;
|
|
12752
|
-
|
|
12753
|
-
connect(
|
|
12754
|
-
|
|
12755
|
-
):
|
|
12756
|
-
Promise<void>;
|
|
12757
|
-
|
|
12758
|
-
disconnect(
|
|
12759
|
-
|
|
12760
|
-
):
|
|
12761
|
-
Promise<void>;
|
|
12762
|
-
|
|
12763
12660
|
}
|
|
12764
12661
|
|
|
12765
12662
|
export class ManagerBLE extends HomeyAPIV2.Manager {
|
|
@@ -12796,21 +12693,6 @@
|
|
|
12796
12693
|
):
|
|
12797
12694
|
Promise<any>;
|
|
12798
12695
|
|
|
12799
|
-
isConnected(
|
|
12800
|
-
|
|
12801
|
-
):
|
|
12802
|
-
Boolean;
|
|
12803
|
-
|
|
12804
|
-
connect(
|
|
12805
|
-
|
|
12806
|
-
):
|
|
12807
|
-
Promise<void>;
|
|
12808
|
-
|
|
12809
|
-
disconnect(
|
|
12810
|
-
|
|
12811
|
-
):
|
|
12812
|
-
Promise<void>;
|
|
12813
|
-
|
|
12814
12696
|
}
|
|
12815
12697
|
|
|
12816
12698
|
export class ManagerCloud extends HomeyAPIV2.Manager {
|
|
@@ -12824,21 +12706,6 @@
|
|
|
12824
12706
|
):
|
|
12825
12707
|
Promise<any>;
|
|
12826
12708
|
|
|
12827
|
-
isConnected(
|
|
12828
|
-
|
|
12829
|
-
):
|
|
12830
|
-
Boolean;
|
|
12831
|
-
|
|
12832
|
-
connect(
|
|
12833
|
-
|
|
12834
|
-
):
|
|
12835
|
-
Promise<void>;
|
|
12836
|
-
|
|
12837
|
-
disconnect(
|
|
12838
|
-
|
|
12839
|
-
):
|
|
12840
|
-
Promise<void>;
|
|
12841
|
-
|
|
12842
12709
|
}
|
|
12843
12710
|
|
|
12844
12711
|
export class ManagerCoprocessor extends HomeyAPIV2.Manager {
|
|
@@ -12909,21 +12776,6 @@
|
|
|
12909
12776
|
):
|
|
12910
12777
|
Promise<any>;
|
|
12911
12778
|
|
|
12912
|
-
isConnected(
|
|
12913
|
-
|
|
12914
|
-
):
|
|
12915
|
-
Boolean;
|
|
12916
|
-
|
|
12917
|
-
connect(
|
|
12918
|
-
|
|
12919
|
-
):
|
|
12920
|
-
Promise<void>;
|
|
12921
|
-
|
|
12922
|
-
disconnect(
|
|
12923
|
-
|
|
12924
|
-
):
|
|
12925
|
-
Promise<void>;
|
|
12926
|
-
|
|
12927
12779
|
}
|
|
12928
12780
|
|
|
12929
12781
|
export class ManagerDashboards extends HomeyAPIV2.Manager {
|
|
@@ -13017,21 +12869,6 @@
|
|
|
13017
12869
|
):
|
|
13018
12870
|
Promise<HomeyAPIV2.ManagerDashboards.Dashboard>;
|
|
13019
12871
|
|
|
13020
|
-
isConnected(
|
|
13021
|
-
|
|
13022
|
-
):
|
|
13023
|
-
Boolean;
|
|
13024
|
-
|
|
13025
|
-
connect(
|
|
13026
|
-
|
|
13027
|
-
):
|
|
13028
|
-
Promise<void>;
|
|
13029
|
-
|
|
13030
|
-
disconnect(
|
|
13031
|
-
|
|
13032
|
-
):
|
|
13033
|
-
Promise<void>;
|
|
13034
|
-
|
|
13035
12872
|
}
|
|
13036
12873
|
|
|
13037
12874
|
export class ManagerDatabase extends HomeyAPIV2.Manager {
|
|
@@ -13045,21 +12882,6 @@
|
|
|
13045
12882
|
):
|
|
13046
12883
|
Promise<any>;
|
|
13047
12884
|
|
|
13048
|
-
isConnected(
|
|
13049
|
-
|
|
13050
|
-
):
|
|
13051
|
-
Boolean;
|
|
13052
|
-
|
|
13053
|
-
connect(
|
|
13054
|
-
|
|
13055
|
-
):
|
|
13056
|
-
Promise<void>;
|
|
13057
|
-
|
|
13058
|
-
disconnect(
|
|
13059
|
-
|
|
13060
|
-
):
|
|
13061
|
-
Promise<void>;
|
|
13062
|
-
|
|
13063
12885
|
}
|
|
13064
12886
|
|
|
13065
12887
|
export class ManagerDevices extends HomeyAPIV2.Manager {
|
|
@@ -13239,21 +13061,6 @@
|
|
|
13239
13061
|
):
|
|
13240
13062
|
Promise<HomeyAPIV2.ManagerDevices.Device>;
|
|
13241
13063
|
|
|
13242
|
-
isConnected(
|
|
13243
|
-
|
|
13244
|
-
):
|
|
13245
|
-
Boolean;
|
|
13246
|
-
|
|
13247
|
-
connect(
|
|
13248
|
-
|
|
13249
|
-
):
|
|
13250
|
-
Promise<void>;
|
|
13251
|
-
|
|
13252
|
-
disconnect(
|
|
13253
|
-
|
|
13254
|
-
):
|
|
13255
|
-
Promise<void>;
|
|
13256
|
-
|
|
13257
13064
|
}
|
|
13258
13065
|
|
|
13259
13066
|
export class ManagerDevkit extends HomeyAPIV2.Manager {
|
|
@@ -13398,21 +13205,6 @@
|
|
|
13398
13205
|
):
|
|
13399
13206
|
Promise<any>;
|
|
13400
13207
|
|
|
13401
|
-
isConnected(
|
|
13402
|
-
|
|
13403
|
-
):
|
|
13404
|
-
Boolean;
|
|
13405
|
-
|
|
13406
|
-
connect(
|
|
13407
|
-
|
|
13408
|
-
):
|
|
13409
|
-
Promise<void>;
|
|
13410
|
-
|
|
13411
|
-
disconnect(
|
|
13412
|
-
|
|
13413
|
-
):
|
|
13414
|
-
Promise<void>;
|
|
13415
|
-
|
|
13416
13208
|
}
|
|
13417
13209
|
|
|
13418
13210
|
export class ManagerDrivers extends HomeyAPIV2.Manager {
|
|
@@ -13626,21 +13418,6 @@
|
|
|
13626
13418
|
):
|
|
13627
13419
|
Promise<HomeyAPIV2.ManagerDrivers.Driver>;
|
|
13628
13420
|
|
|
13629
|
-
isConnected(
|
|
13630
|
-
|
|
13631
|
-
):
|
|
13632
|
-
Boolean;
|
|
13633
|
-
|
|
13634
|
-
connect(
|
|
13635
|
-
|
|
13636
|
-
):
|
|
13637
|
-
Promise<void>;
|
|
13638
|
-
|
|
13639
|
-
disconnect(
|
|
13640
|
-
|
|
13641
|
-
):
|
|
13642
|
-
Promise<void>;
|
|
13643
|
-
|
|
13644
13421
|
}
|
|
13645
13422
|
|
|
13646
13423
|
export class ManagerEnergy extends HomeyAPIV2.Manager {
|
|
@@ -13726,21 +13503,6 @@
|
|
|
13726
13503
|
):
|
|
13727
13504
|
Promise<any>;
|
|
13728
13505
|
|
|
13729
|
-
isConnected(
|
|
13730
|
-
|
|
13731
|
-
):
|
|
13732
|
-
Boolean;
|
|
13733
|
-
|
|
13734
|
-
connect(
|
|
13735
|
-
|
|
13736
|
-
):
|
|
13737
|
-
Promise<void>;
|
|
13738
|
-
|
|
13739
|
-
disconnect(
|
|
13740
|
-
|
|
13741
|
-
):
|
|
13742
|
-
Promise<void>;
|
|
13743
|
-
|
|
13744
13506
|
}
|
|
13745
13507
|
|
|
13746
13508
|
export class ManagerExperiments extends HomeyAPIV2.Manager {
|
|
@@ -13792,21 +13554,6 @@
|
|
|
13792
13554
|
):
|
|
13793
13555
|
Promise<any>;
|
|
13794
13556
|
|
|
13795
|
-
isConnected(
|
|
13796
|
-
|
|
13797
|
-
):
|
|
13798
|
-
Boolean;
|
|
13799
|
-
|
|
13800
|
-
connect(
|
|
13801
|
-
|
|
13802
|
-
):
|
|
13803
|
-
Promise<void>;
|
|
13804
|
-
|
|
13805
|
-
disconnect(
|
|
13806
|
-
|
|
13807
|
-
):
|
|
13808
|
-
Promise<void>;
|
|
13809
|
-
|
|
13810
13557
|
}
|
|
13811
13558
|
|
|
13812
13559
|
export class ManagerFlow extends HomeyAPIV2.Manager {
|
|
@@ -14359,21 +14106,6 @@
|
|
|
14359
14106
|
):
|
|
14360
14107
|
Promise<HomeyAPIV2.ManagerFlow.FlowCardTrigger>;
|
|
14361
14108
|
|
|
14362
|
-
isConnected(
|
|
14363
|
-
|
|
14364
|
-
):
|
|
14365
|
-
Boolean;
|
|
14366
|
-
|
|
14367
|
-
connect(
|
|
14368
|
-
|
|
14369
|
-
):
|
|
14370
|
-
Promise<void>;
|
|
14371
|
-
|
|
14372
|
-
disconnect(
|
|
14373
|
-
|
|
14374
|
-
):
|
|
14375
|
-
Promise<void>;
|
|
14376
|
-
|
|
14377
14109
|
}
|
|
14378
14110
|
|
|
14379
14111
|
export class ManagerFlowToken extends HomeyAPIV2.Manager {
|
|
@@ -14410,21 +14142,6 @@
|
|
|
14410
14142
|
):
|
|
14411
14143
|
Promise<HomeyAPIV2.ManagerFlowToken.FlowToken>;
|
|
14412
14144
|
|
|
14413
|
-
isConnected(
|
|
14414
|
-
|
|
14415
|
-
):
|
|
14416
|
-
Boolean;
|
|
14417
|
-
|
|
14418
|
-
connect(
|
|
14419
|
-
|
|
14420
|
-
):
|
|
14421
|
-
Promise<void>;
|
|
14422
|
-
|
|
14423
|
-
disconnect(
|
|
14424
|
-
|
|
14425
|
-
):
|
|
14426
|
-
Promise<void>;
|
|
14427
|
-
|
|
14428
14145
|
}
|
|
14429
14146
|
|
|
14430
14147
|
export class ManagerGeolocation extends HomeyAPIV2.Manager {
|
|
@@ -14491,21 +14208,6 @@
|
|
|
14491
14208
|
):
|
|
14492
14209
|
Promise<any>;
|
|
14493
14210
|
|
|
14494
|
-
isConnected(
|
|
14495
|
-
|
|
14496
|
-
):
|
|
14497
|
-
Boolean;
|
|
14498
|
-
|
|
14499
|
-
connect(
|
|
14500
|
-
|
|
14501
|
-
):
|
|
14502
|
-
Promise<void>;
|
|
14503
|
-
|
|
14504
|
-
disconnect(
|
|
14505
|
-
|
|
14506
|
-
):
|
|
14507
|
-
Promise<void>;
|
|
14508
|
-
|
|
14509
14211
|
}
|
|
14510
14212
|
|
|
14511
14213
|
export class ManagerGoogleAssistant extends HomeyAPIV2.Manager {
|
|
@@ -14548,21 +14250,6 @@
|
|
|
14548
14250
|
):
|
|
14549
14251
|
Promise<any>;
|
|
14550
14252
|
|
|
14551
|
-
isConnected(
|
|
14552
|
-
|
|
14553
|
-
):
|
|
14554
|
-
Boolean;
|
|
14555
|
-
|
|
14556
|
-
connect(
|
|
14557
|
-
|
|
14558
|
-
):
|
|
14559
|
-
Promise<void>;
|
|
14560
|
-
|
|
14561
|
-
disconnect(
|
|
14562
|
-
|
|
14563
|
-
):
|
|
14564
|
-
Promise<void>;
|
|
14565
|
-
|
|
14566
14253
|
}
|
|
14567
14254
|
|
|
14568
14255
|
export class ManagerI18n extends HomeyAPIV2.Manager {
|
|
@@ -14629,21 +14316,6 @@
|
|
|
14629
14316
|
):
|
|
14630
14317
|
Promise<any>;
|
|
14631
14318
|
|
|
14632
|
-
isConnected(
|
|
14633
|
-
|
|
14634
|
-
):
|
|
14635
|
-
Boolean;
|
|
14636
|
-
|
|
14637
|
-
connect(
|
|
14638
|
-
|
|
14639
|
-
):
|
|
14640
|
-
Promise<void>;
|
|
14641
|
-
|
|
14642
|
-
disconnect(
|
|
14643
|
-
|
|
14644
|
-
):
|
|
14645
|
-
Promise<void>;
|
|
14646
|
-
|
|
14647
14319
|
}
|
|
14648
14320
|
|
|
14649
14321
|
export class ManagerImages extends HomeyAPIV2.Manager {
|
|
@@ -14676,21 +14348,6 @@
|
|
|
14676
14348
|
):
|
|
14677
14349
|
Promise<HomeyAPIV2.ManagerImages.Image>;
|
|
14678
14350
|
|
|
14679
|
-
isConnected(
|
|
14680
|
-
|
|
14681
|
-
):
|
|
14682
|
-
Boolean;
|
|
14683
|
-
|
|
14684
|
-
connect(
|
|
14685
|
-
|
|
14686
|
-
):
|
|
14687
|
-
Promise<void>;
|
|
14688
|
-
|
|
14689
|
-
disconnect(
|
|
14690
|
-
|
|
14691
|
-
):
|
|
14692
|
-
Promise<void>;
|
|
14693
|
-
|
|
14694
14351
|
}
|
|
14695
14352
|
|
|
14696
14353
|
export class ManagerInsights extends HomeyAPIV2.Manager {
|
|
@@ -14837,21 +14494,6 @@
|
|
|
14837
14494
|
):
|
|
14838
14495
|
Promise<HomeyAPIV2.ManagerInsights.Log>;
|
|
14839
14496
|
|
|
14840
|
-
isConnected(
|
|
14841
|
-
|
|
14842
|
-
):
|
|
14843
|
-
Boolean;
|
|
14844
|
-
|
|
14845
|
-
connect(
|
|
14846
|
-
|
|
14847
|
-
):
|
|
14848
|
-
Promise<void>;
|
|
14849
|
-
|
|
14850
|
-
disconnect(
|
|
14851
|
-
|
|
14852
|
-
):
|
|
14853
|
-
Promise<void>;
|
|
14854
|
-
|
|
14855
14497
|
}
|
|
14856
14498
|
|
|
14857
14499
|
export class ManagerLedring extends HomeyAPIV2.Manager {
|
|
@@ -14928,21 +14570,6 @@
|
|
|
14928
14570
|
):
|
|
14929
14571
|
Promise<any>;
|
|
14930
14572
|
|
|
14931
|
-
isConnected(
|
|
14932
|
-
|
|
14933
|
-
):
|
|
14934
|
-
Boolean;
|
|
14935
|
-
|
|
14936
|
-
connect(
|
|
14937
|
-
|
|
14938
|
-
):
|
|
14939
|
-
Promise<void>;
|
|
14940
|
-
|
|
14941
|
-
disconnect(
|
|
14942
|
-
|
|
14943
|
-
):
|
|
14944
|
-
Promise<void>;
|
|
14945
|
-
|
|
14946
14573
|
}
|
|
14947
14574
|
|
|
14948
14575
|
export class ManagerLogic extends HomeyAPIV2.Manager {
|
|
@@ -15059,21 +14686,6 @@
|
|
|
15059
14686
|
):
|
|
15060
14687
|
Promise<HomeyAPIV2.ManagerLogic.Variable>;
|
|
15061
14688
|
|
|
15062
|
-
isConnected(
|
|
15063
|
-
|
|
15064
|
-
):
|
|
15065
|
-
Boolean;
|
|
15066
|
-
|
|
15067
|
-
connect(
|
|
15068
|
-
|
|
15069
|
-
):
|
|
15070
|
-
Promise<void>;
|
|
15071
|
-
|
|
15072
|
-
disconnect(
|
|
15073
|
-
|
|
15074
|
-
):
|
|
15075
|
-
Promise<void>;
|
|
15076
|
-
|
|
15077
14689
|
}
|
|
15078
14690
|
|
|
15079
14691
|
export class ManagerMobile extends HomeyAPIV2.Manager {
|
|
@@ -15087,21 +14699,6 @@
|
|
|
15087
14699
|
):
|
|
15088
14700
|
Promise<any>;
|
|
15089
14701
|
|
|
15090
|
-
isConnected(
|
|
15091
|
-
|
|
15092
|
-
):
|
|
15093
|
-
Boolean;
|
|
15094
|
-
|
|
15095
|
-
connect(
|
|
15096
|
-
|
|
15097
|
-
):
|
|
15098
|
-
Promise<void>;
|
|
15099
|
-
|
|
15100
|
-
disconnect(
|
|
15101
|
-
|
|
15102
|
-
):
|
|
15103
|
-
Promise<void>;
|
|
15104
|
-
|
|
15105
14702
|
}
|
|
15106
14703
|
|
|
15107
14704
|
export class ManagerMoods extends HomeyAPIV2.Manager {
|
|
@@ -15218,21 +14815,6 @@
|
|
|
15218
14815
|
):
|
|
15219
14816
|
Promise<HomeyAPIV2.ManagerMoods.Mood>;
|
|
15220
14817
|
|
|
15221
|
-
isConnected(
|
|
15222
|
-
|
|
15223
|
-
):
|
|
15224
|
-
Boolean;
|
|
15225
|
-
|
|
15226
|
-
connect(
|
|
15227
|
-
|
|
15228
|
-
):
|
|
15229
|
-
Promise<void>;
|
|
15230
|
-
|
|
15231
|
-
disconnect(
|
|
15232
|
-
|
|
15233
|
-
):
|
|
15234
|
-
Promise<void>;
|
|
15235
|
-
|
|
15236
14818
|
}
|
|
15237
14819
|
|
|
15238
14820
|
export class ManagerNotifications extends HomeyAPIV2.Manager {
|
|
@@ -15373,21 +14955,6 @@
|
|
|
15373
14955
|
):
|
|
15374
14956
|
Promise<HomeyAPIV2.ManagerNotifications.Notification>;
|
|
15375
14957
|
|
|
15376
|
-
isConnected(
|
|
15377
|
-
|
|
15378
|
-
):
|
|
15379
|
-
Boolean;
|
|
15380
|
-
|
|
15381
|
-
connect(
|
|
15382
|
-
|
|
15383
|
-
):
|
|
15384
|
-
Promise<void>;
|
|
15385
|
-
|
|
15386
|
-
disconnect(
|
|
15387
|
-
|
|
15388
|
-
):
|
|
15389
|
-
Promise<void>;
|
|
15390
|
-
|
|
15391
14958
|
}
|
|
15392
14959
|
|
|
15393
14960
|
export class ManagerPresence extends HomeyAPIV2.Manager {
|
|
@@ -15526,21 +15093,6 @@
|
|
|
15526
15093
|
):
|
|
15527
15094
|
Promise<any>;
|
|
15528
15095
|
|
|
15529
|
-
isConnected(
|
|
15530
|
-
|
|
15531
|
-
):
|
|
15532
|
-
Boolean;
|
|
15533
|
-
|
|
15534
|
-
connect(
|
|
15535
|
-
|
|
15536
|
-
):
|
|
15537
|
-
Promise<void>;
|
|
15538
|
-
|
|
15539
|
-
disconnect(
|
|
15540
|
-
|
|
15541
|
-
):
|
|
15542
|
-
Promise<void>;
|
|
15543
|
-
|
|
15544
15096
|
}
|
|
15545
15097
|
|
|
15546
15098
|
export class ManagerReports extends HomeyAPIV2.Manager {
|
|
@@ -15573,21 +15125,6 @@
|
|
|
15573
15125
|
):
|
|
15574
15126
|
Promise<any>;
|
|
15575
15127
|
|
|
15576
|
-
isConnected(
|
|
15577
|
-
|
|
15578
|
-
):
|
|
15579
|
-
Boolean;
|
|
15580
|
-
|
|
15581
|
-
connect(
|
|
15582
|
-
|
|
15583
|
-
):
|
|
15584
|
-
Promise<void>;
|
|
15585
|
-
|
|
15586
|
-
disconnect(
|
|
15587
|
-
|
|
15588
|
-
):
|
|
15589
|
-
Promise<void>;
|
|
15590
|
-
|
|
15591
15128
|
}
|
|
15592
15129
|
|
|
15593
15130
|
export class ManagerRF extends HomeyAPIV2.Manager {
|
|
@@ -15665,21 +15202,6 @@
|
|
|
15665
15202
|
):
|
|
15666
15203
|
Promise<any>;
|
|
15667
15204
|
|
|
15668
|
-
isConnected(
|
|
15669
|
-
|
|
15670
|
-
):
|
|
15671
|
-
Boolean;
|
|
15672
|
-
|
|
15673
|
-
connect(
|
|
15674
|
-
|
|
15675
|
-
):
|
|
15676
|
-
Promise<void>;
|
|
15677
|
-
|
|
15678
|
-
disconnect(
|
|
15679
|
-
|
|
15680
|
-
):
|
|
15681
|
-
Promise<void>;
|
|
15682
|
-
|
|
15683
15205
|
}
|
|
15684
15206
|
|
|
15685
15207
|
export class ManagerSessions extends HomeyAPIV2.Manager {
|
|
@@ -15717,21 +15239,6 @@
|
|
|
15717
15239
|
):
|
|
15718
15240
|
Promise<HomeyAPIV2.ManagerSessions.Session>;
|
|
15719
15241
|
|
|
15720
|
-
isConnected(
|
|
15721
|
-
|
|
15722
|
-
):
|
|
15723
|
-
Boolean;
|
|
15724
|
-
|
|
15725
|
-
connect(
|
|
15726
|
-
|
|
15727
|
-
):
|
|
15728
|
-
Promise<void>;
|
|
15729
|
-
|
|
15730
|
-
disconnect(
|
|
15731
|
-
|
|
15732
|
-
):
|
|
15733
|
-
Promise<void>;
|
|
15734
|
-
|
|
15735
15242
|
}
|
|
15736
15243
|
|
|
15737
15244
|
export class ManagerSpeechOutput extends HomeyAPIV2.Manager {
|
|
@@ -15910,21 +15417,6 @@
|
|
|
15910
15417
|
):
|
|
15911
15418
|
Promise<any>;
|
|
15912
15419
|
|
|
15913
|
-
isConnected(
|
|
15914
|
-
|
|
15915
|
-
):
|
|
15916
|
-
Boolean;
|
|
15917
|
-
|
|
15918
|
-
connect(
|
|
15919
|
-
|
|
15920
|
-
):
|
|
15921
|
-
Promise<void>;
|
|
15922
|
-
|
|
15923
|
-
disconnect(
|
|
15924
|
-
|
|
15925
|
-
):
|
|
15926
|
-
Promise<void>;
|
|
15927
|
-
|
|
15928
15420
|
}
|
|
15929
15421
|
|
|
15930
15422
|
export class ManagerSystem extends HomeyAPIV2.Manager {
|
|
@@ -16059,21 +15551,6 @@
|
|
|
16059
15551
|
):
|
|
16060
15552
|
Promise<any>;
|
|
16061
15553
|
|
|
16062
|
-
isConnected(
|
|
16063
|
-
|
|
16064
|
-
):
|
|
16065
|
-
Boolean;
|
|
16066
|
-
|
|
16067
|
-
connect(
|
|
16068
|
-
|
|
16069
|
-
):
|
|
16070
|
-
Promise<void>;
|
|
16071
|
-
|
|
16072
|
-
disconnect(
|
|
16073
|
-
|
|
16074
|
-
):
|
|
16075
|
-
Promise<void>;
|
|
16076
|
-
|
|
16077
15554
|
}
|
|
16078
15555
|
|
|
16079
15556
|
export class ManagerUpdates extends HomeyAPIV2.Manager {
|
|
@@ -16270,21 +15747,6 @@
|
|
|
16270
15747
|
):
|
|
16271
15748
|
Promise<any>;
|
|
16272
15749
|
|
|
16273
|
-
isConnected(
|
|
16274
|
-
|
|
16275
|
-
):
|
|
16276
|
-
Boolean;
|
|
16277
|
-
|
|
16278
|
-
connect(
|
|
16279
|
-
|
|
16280
|
-
):
|
|
16281
|
-
Promise<void>;
|
|
16282
|
-
|
|
16283
|
-
disconnect(
|
|
16284
|
-
|
|
16285
|
-
):
|
|
16286
|
-
Promise<void>;
|
|
16287
|
-
|
|
16288
15750
|
}
|
|
16289
15751
|
|
|
16290
15752
|
export class ManagerUsers extends HomeyAPIV2.Manager {
|
|
@@ -16496,21 +15958,6 @@
|
|
|
16496
15958
|
):
|
|
16497
15959
|
Promise<any>;
|
|
16498
15960
|
|
|
16499
|
-
isConnected(
|
|
16500
|
-
|
|
16501
|
-
):
|
|
16502
|
-
Boolean;
|
|
16503
|
-
|
|
16504
|
-
connect(
|
|
16505
|
-
|
|
16506
|
-
):
|
|
16507
|
-
Promise<void>;
|
|
16508
|
-
|
|
16509
|
-
disconnect(
|
|
16510
|
-
|
|
16511
|
-
):
|
|
16512
|
-
Promise<void>;
|
|
16513
|
-
|
|
16514
15961
|
}
|
|
16515
15962
|
|
|
16516
15963
|
export class ManagerWeather extends HomeyAPIV2.Manager {
|
|
@@ -16524,21 +15971,6 @@
|
|
|
16524
15971
|
):
|
|
16525
15972
|
Promise<any>;
|
|
16526
15973
|
|
|
16527
|
-
isConnected(
|
|
16528
|
-
|
|
16529
|
-
):
|
|
16530
|
-
Boolean;
|
|
16531
|
-
|
|
16532
|
-
connect(
|
|
16533
|
-
|
|
16534
|
-
):
|
|
16535
|
-
Promise<void>;
|
|
16536
|
-
|
|
16537
|
-
disconnect(
|
|
16538
|
-
|
|
16539
|
-
):
|
|
16540
|
-
Promise<void>;
|
|
16541
|
-
|
|
16542
15974
|
}
|
|
16543
15975
|
|
|
16544
15976
|
export class ManagerZigBee extends HomeyAPIV2.Manager {
|
|
@@ -16575,21 +16007,6 @@
|
|
|
16575
16007
|
):
|
|
16576
16008
|
Promise<any>;
|
|
16577
16009
|
|
|
16578
|
-
isConnected(
|
|
16579
|
-
|
|
16580
|
-
):
|
|
16581
|
-
Boolean;
|
|
16582
|
-
|
|
16583
|
-
connect(
|
|
16584
|
-
|
|
16585
|
-
):
|
|
16586
|
-
Promise<void>;
|
|
16587
|
-
|
|
16588
|
-
disconnect(
|
|
16589
|
-
|
|
16590
|
-
):
|
|
16591
|
-
Promise<void>;
|
|
16592
|
-
|
|
16593
16010
|
}
|
|
16594
16011
|
|
|
16595
16012
|
export class ManagerZones extends HomeyAPIV2.Manager {
|
|
@@ -16683,21 +16100,6 @@
|
|
|
16683
16100
|
):
|
|
16684
16101
|
Promise<HomeyAPIV2.ManagerZones.Zone>;
|
|
16685
16102
|
|
|
16686
|
-
isConnected(
|
|
16687
|
-
|
|
16688
|
-
):
|
|
16689
|
-
Boolean;
|
|
16690
|
-
|
|
16691
|
-
connect(
|
|
16692
|
-
|
|
16693
|
-
):
|
|
16694
|
-
Promise<void>;
|
|
16695
|
-
|
|
16696
|
-
disconnect(
|
|
16697
|
-
|
|
16698
|
-
):
|
|
16699
|
-
Promise<void>;
|
|
16700
|
-
|
|
16701
16103
|
}
|
|
16702
16104
|
|
|
16703
16105
|
export class ManagerZwave extends HomeyAPIV2.Manager {
|
|
@@ -16777,21 +16179,6 @@
|
|
|
16777
16179
|
):
|
|
16778
16180
|
Promise<any>;
|
|
16779
16181
|
|
|
16780
|
-
isConnected(
|
|
16781
|
-
|
|
16782
|
-
):
|
|
16783
|
-
Boolean;
|
|
16784
|
-
|
|
16785
|
-
connect(
|
|
16786
|
-
|
|
16787
|
-
):
|
|
16788
|
-
Promise<void>;
|
|
16789
|
-
|
|
16790
|
-
disconnect(
|
|
16791
|
-
|
|
16792
|
-
):
|
|
16793
|
-
Promise<void>;
|
|
16794
|
-
|
|
16795
16182
|
}
|
|
16796
16183
|
|
|
16797
16184
|
}
|
|
@@ -16800,7 +16187,7 @@
|
|
|
16800
16187
|
|
|
16801
16188
|
export namespace HomeyAPIV3 {
|
|
16802
16189
|
|
|
16803
|
-
export class Manager
|
|
16190
|
+
export class Manager {
|
|
16804
16191
|
|
|
16805
16192
|
|
|
16806
16193
|
|
|
@@ -16808,16 +16195,28 @@
|
|
|
16808
16195
|
|
|
16809
16196
|
isConnected(
|
|
16810
16197
|
|
|
16198
|
+
|
|
16199
|
+
|
|
16200
|
+
|
|
16201
|
+
|
|
16811
16202
|
):
|
|
16812
16203
|
Boolean;
|
|
16813
16204
|
|
|
16814
16205
|
connect(
|
|
16815
16206
|
|
|
16207
|
+
|
|
16208
|
+
|
|
16209
|
+
|
|
16210
|
+
|
|
16816
16211
|
):
|
|
16817
16212
|
Promise<void>;
|
|
16818
16213
|
|
|
16819
16214
|
disconnect(
|
|
16820
16215
|
|
|
16216
|
+
|
|
16217
|
+
|
|
16218
|
+
|
|
16219
|
+
|
|
16821
16220
|
):
|
|
16822
16221
|
Promise<void>;
|
|
16823
16222
|
|
|
@@ -17015,7 +16414,7 @@
|
|
|
17015
16414
|
|
|
17016
16415
|
|
|
17017
16416
|
|
|
17018
|
-
value:
|
|
16417
|
+
value: *,
|
|
17019
16418
|
|
|
17020
16419
|
|
|
17021
16420
|
},
|
|
@@ -17321,6 +16720,29 @@
|
|
|
17321
16720
|
|
|
17322
16721
|
getState(
|
|
17323
16722
|
|
|
16723
|
+
):
|
|
16724
|
+
Promise<any>;
|
|
16725
|
+
|
|
16726
|
+
runCommand(
|
|
16727
|
+
|
|
16728
|
+
|
|
16729
|
+
|
|
16730
|
+
|
|
16731
|
+
opts: {
|
|
16732
|
+
|
|
16733
|
+
|
|
16734
|
+
command: string,
|
|
16735
|
+
|
|
16736
|
+
|
|
16737
|
+
|
|
16738
|
+
opts: object,
|
|
16739
|
+
|
|
16740
|
+
|
|
16741
|
+
},
|
|
16742
|
+
|
|
16743
|
+
|
|
16744
|
+
|
|
16745
|
+
|
|
17324
16746
|
):
|
|
17325
16747
|
Promise<any>;
|
|
17326
16748
|
|