homey-api 3.0.0-rc.9 → 3.0.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/AthomCloudAPI.json +16 -0
- package/assets/specifications/HomeyAPIV3Local.json +173 -7
- package/assets/types/homey-api.d.ts +496 -223
- package/assets/types/homey-api.private.d.ts +542 -223
- package/index.browser.js +1 -0
- package/index.js +39 -20
- package/lib/API.js +6 -0
- package/lib/AthomCloudAPI/StorageAdapter.js +1 -0
- package/lib/AthomCloudAPI/User.js +4 -0
- package/lib/HomeyAPI/HomeyAPI.js +123 -9
- package/lib/HomeyAPI/HomeyAPIV1.js +8 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerDevices/Device.js +2 -1
- package/lib/HomeyAPI/HomeyAPIV2/ManagerDevkit.js +9 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/AdvancedFlow.js +3 -1
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/Flow.js +2 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlow.js +1 -1
- package/lib/HomeyAPI/HomeyAPIV2.js +10 -0
- package/lib/HomeyAPI/HomeyAPIV3/Manager.js +10 -4
- package/lib/HomeyAPI/HomeyAPIV3/ManagerDevices/Device.js +2 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerDevices/DeviceCapability.js +3 -3
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlow/AdvancedFlow.js +119 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlow/Flow.js +96 -1
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlowToken/FlowToken.js +8 -3
- package/lib/HomeyAPI/HomeyAPIV3.js +22 -17
- package/lib/HomeyAPI/HomeyAPIV3Cloud.js +8 -0
- package/lib/HomeyAPI/HomeyAPIV3Local/ManagerDevkit.js +32 -0
- package/lib/HomeyAPI/HomeyAPIV3Local.js +14 -0
- package/package.json +4 -3
|
@@ -2628,6 +2628,29 @@
|
|
|
2628
2628
|
|
|
2629
2629
|
|
|
2630
2630
|
|
|
2631
|
+
):
|
|
2632
|
+
Promise<any>;
|
|
2633
|
+
|
|
2634
|
+
activateHomey(
|
|
2635
|
+
|
|
2636
|
+
|
|
2637
|
+
|
|
2638
|
+
|
|
2639
|
+
opts: {
|
|
2640
|
+
|
|
2641
|
+
|
|
2642
|
+
id: string,
|
|
2643
|
+
|
|
2644
|
+
|
|
2645
|
+
|
|
2646
|
+
userId: string,
|
|
2647
|
+
|
|
2648
|
+
|
|
2649
|
+
},
|
|
2650
|
+
|
|
2651
|
+
|
|
2652
|
+
|
|
2653
|
+
|
|
2631
2654
|
):
|
|
2632
2655
|
Promise<any>;
|
|
2633
2656
|
|
|
@@ -5359,6 +5382,19 @@
|
|
|
5359
5382
|
):
|
|
5360
5383
|
string | null;
|
|
5361
5384
|
|
|
5385
|
+
hasRole(
|
|
5386
|
+
|
|
5387
|
+
|
|
5388
|
+
|
|
5389
|
+
|
|
5390
|
+
roleId: string,
|
|
5391
|
+
|
|
5392
|
+
|
|
5393
|
+
|
|
5394
|
+
|
|
5395
|
+
):
|
|
5396
|
+
any;
|
|
5397
|
+
|
|
5362
5398
|
createAppAPI(
|
|
5363
5399
|
|
|
5364
5400
|
|
|
@@ -5379,6 +5415,33 @@
|
|
|
5379
5415
|
|
|
5380
5416
|
|
|
5381
5417
|
|
|
5418
|
+
):
|
|
5419
|
+
Promise<any>;
|
|
5420
|
+
|
|
5421
|
+
createLocalAPI(
|
|
5422
|
+
|
|
5423
|
+
|
|
5424
|
+
|
|
5425
|
+
|
|
5426
|
+
opts: {
|
|
5427
|
+
|
|
5428
|
+
|
|
5429
|
+
address: String,
|
|
5430
|
+
|
|
5431
|
+
|
|
5432
|
+
|
|
5433
|
+
token: String,
|
|
5434
|
+
|
|
5435
|
+
|
|
5436
|
+
|
|
5437
|
+
debug: function | null,
|
|
5438
|
+
|
|
5439
|
+
|
|
5440
|
+
},
|
|
5441
|
+
|
|
5442
|
+
|
|
5443
|
+
|
|
5444
|
+
|
|
5382
5445
|
):
|
|
5383
5446
|
Promise<any>;
|
|
5384
5447
|
|
|
@@ -5413,6 +5476,19 @@
|
|
|
5413
5476
|
):
|
|
5414
5477
|
string | null;
|
|
5415
5478
|
|
|
5479
|
+
hasRole(
|
|
5480
|
+
|
|
5481
|
+
|
|
5482
|
+
|
|
5483
|
+
|
|
5484
|
+
roleId: string,
|
|
5485
|
+
|
|
5486
|
+
|
|
5487
|
+
|
|
5488
|
+
|
|
5489
|
+
):
|
|
5490
|
+
any;
|
|
5491
|
+
|
|
5416
5492
|
}
|
|
5417
5493
|
|
|
5418
5494
|
export class HomeyAPIV2 extends HomeyAPI {
|
|
@@ -5444,6 +5520,19 @@
|
|
|
5444
5520
|
):
|
|
5445
5521
|
string | null;
|
|
5446
5522
|
|
|
5523
|
+
hasRole(
|
|
5524
|
+
|
|
5525
|
+
|
|
5526
|
+
|
|
5527
|
+
|
|
5528
|
+
roleId: string,
|
|
5529
|
+
|
|
5530
|
+
|
|
5531
|
+
|
|
5532
|
+
|
|
5533
|
+
):
|
|
5534
|
+
any;
|
|
5535
|
+
|
|
5447
5536
|
}
|
|
5448
5537
|
|
|
5449
5538
|
export class HomeyAPIV3 extends HomeyAPIV2 {
|
|
@@ -5484,6 +5573,19 @@
|
|
|
5484
5573
|
):
|
|
5485
5574
|
string | null;
|
|
5486
5575
|
|
|
5576
|
+
hasRole(
|
|
5577
|
+
|
|
5578
|
+
|
|
5579
|
+
|
|
5580
|
+
|
|
5581
|
+
roleId: string,
|
|
5582
|
+
|
|
5583
|
+
|
|
5584
|
+
|
|
5585
|
+
|
|
5586
|
+
):
|
|
5587
|
+
any;
|
|
5588
|
+
|
|
5487
5589
|
}
|
|
5488
5590
|
|
|
5489
5591
|
export class HomeyAPIV3Cloud extends HomeyAPIV3 {
|
|
@@ -5520,6 +5622,19 @@
|
|
|
5520
5622
|
):
|
|
5521
5623
|
string | null;
|
|
5522
5624
|
|
|
5625
|
+
hasRole(
|
|
5626
|
+
|
|
5627
|
+
|
|
5628
|
+
|
|
5629
|
+
|
|
5630
|
+
roleId: string,
|
|
5631
|
+
|
|
5632
|
+
|
|
5633
|
+
|
|
5634
|
+
|
|
5635
|
+
):
|
|
5636
|
+
any;
|
|
5637
|
+
|
|
5523
5638
|
}
|
|
5524
5639
|
|
|
5525
5640
|
export class HomeyAPIV3Local extends HomeyAPIV3 {
|
|
@@ -5556,6 +5671,19 @@
|
|
|
5556
5671
|
):
|
|
5557
5672
|
string | null;
|
|
5558
5673
|
|
|
5674
|
+
hasRole(
|
|
5675
|
+
|
|
5676
|
+
|
|
5677
|
+
|
|
5678
|
+
|
|
5679
|
+
roleId: string,
|
|
5680
|
+
|
|
5681
|
+
|
|
5682
|
+
|
|
5683
|
+
|
|
5684
|
+
):
|
|
5685
|
+
any;
|
|
5686
|
+
|
|
5559
5687
|
}
|
|
5560
5688
|
|
|
5561
5689
|
export class HomeyCloudAPI {
|
|
@@ -6014,78 +6142,6 @@
|
|
|
6014
6142
|
|
|
6015
6143
|
|
|
6016
6144
|
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
export namespace HomeyAPIV2.ManagerDevices.Device {
|
|
6039
|
-
|
|
6040
|
-
export class DeviceCapability {
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
value: boolean | number | string | null;
|
|
6045
|
-
|
|
6046
|
-
lastChanged: Date | null;
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
destroy(
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
):
|
|
6057
|
-
any;
|
|
6058
|
-
|
|
6059
|
-
setValue(
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
value: boolean | number | string,
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
opts: object,
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
):
|
|
6074
|
-
Promise<any>;
|
|
6075
|
-
|
|
6076
|
-
}
|
|
6077
|
-
|
|
6078
|
-
}
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
6145
|
|
|
6090
6146
|
|
|
6091
6147
|
|
|
@@ -6123,6 +6179,8 @@
|
|
|
6123
6179
|
|
|
6124
6180
|
|
|
6125
6181
|
|
|
6182
|
+
|
|
6183
|
+
|
|
6126
6184
|
export namespace HomeyAPIV2.ManagerApps {
|
|
6127
6185
|
|
|
6128
6186
|
export class App {
|
|
@@ -6285,6 +6343,8 @@
|
|
|
6285
6343
|
|
|
6286
6344
|
|
|
6287
6345
|
|
|
6346
|
+
|
|
6347
|
+
|
|
6288
6348
|
export namespace HomeyAPIV2.ManagerDashboards {
|
|
6289
6349
|
|
|
6290
6350
|
export class Dashboard {
|
|
@@ -6309,6 +6369,8 @@
|
|
|
6309
6369
|
|
|
6310
6370
|
|
|
6311
6371
|
|
|
6372
|
+
|
|
6373
|
+
|
|
6312
6374
|
export namespace HomeyAPIV2.ManagerDevices {
|
|
6313
6375
|
|
|
6314
6376
|
export class Capability {
|
|
@@ -6419,6 +6481,10 @@
|
|
|
6419
6481
|
|
|
6420
6482
|
|
|
6421
6483
|
|
|
6484
|
+
|
|
6485
|
+
|
|
6486
|
+
|
|
6487
|
+
|
|
6422
6488
|
export namespace HomeyAPIV2.ManagerDrivers {
|
|
6423
6489
|
|
|
6424
6490
|
export class Driver {
|
|
@@ -6485,6 +6551,10 @@
|
|
|
6485
6551
|
|
|
6486
6552
|
|
|
6487
6553
|
|
|
6554
|
+
|
|
6555
|
+
|
|
6556
|
+
|
|
6557
|
+
|
|
6488
6558
|
export namespace HomeyAPIV2.ManagerFlow {
|
|
6489
6559
|
|
|
6490
6560
|
export class AdvancedFlow {
|
|
@@ -6651,6 +6721,18 @@
|
|
|
6651
6721
|
|
|
6652
6722
|
|
|
6653
6723
|
|
|
6724
|
+
|
|
6725
|
+
|
|
6726
|
+
|
|
6727
|
+
|
|
6728
|
+
|
|
6729
|
+
|
|
6730
|
+
|
|
6731
|
+
|
|
6732
|
+
|
|
6733
|
+
|
|
6734
|
+
|
|
6735
|
+
|
|
6654
6736
|
export namespace HomeyAPIV2.ManagerFlowToken {
|
|
6655
6737
|
|
|
6656
6738
|
export class FlowToken {
|
|
@@ -6683,6 +6765,8 @@
|
|
|
6683
6765
|
|
|
6684
6766
|
|
|
6685
6767
|
|
|
6768
|
+
|
|
6769
|
+
|
|
6686
6770
|
export namespace HomeyAPIV2.ManagerImages {
|
|
6687
6771
|
|
|
6688
6772
|
export class Image {
|
|
@@ -6705,6 +6789,8 @@
|
|
|
6705
6789
|
|
|
6706
6790
|
|
|
6707
6791
|
|
|
6792
|
+
|
|
6793
|
+
|
|
6708
6794
|
export namespace HomeyAPIV2.ManagerInsights {
|
|
6709
6795
|
|
|
6710
6796
|
export class Log {
|
|
@@ -6735,6 +6821,8 @@
|
|
|
6735
6821
|
|
|
6736
6822
|
|
|
6737
6823
|
|
|
6824
|
+
|
|
6825
|
+
|
|
6738
6826
|
export namespace HomeyAPIV2.ManagerLogic {
|
|
6739
6827
|
|
|
6740
6828
|
export class Variable {
|
|
@@ -6757,6 +6845,8 @@
|
|
|
6757
6845
|
|
|
6758
6846
|
|
|
6759
6847
|
|
|
6848
|
+
|
|
6849
|
+
|
|
6760
6850
|
export namespace HomeyAPIV2.ManagerMoods {
|
|
6761
6851
|
|
|
6762
6852
|
export class Mood {
|
|
@@ -6781,6 +6871,8 @@
|
|
|
6781
6871
|
|
|
6782
6872
|
|
|
6783
6873
|
|
|
6874
|
+
|
|
6875
|
+
|
|
6784
6876
|
export namespace HomeyAPIV2.ManagerNotifications {
|
|
6785
6877
|
|
|
6786
6878
|
export class Notification {
|
|
@@ -6823,6 +6915,8 @@
|
|
|
6823
6915
|
|
|
6824
6916
|
|
|
6825
6917
|
|
|
6918
|
+
|
|
6919
|
+
|
|
6826
6920
|
export namespace HomeyAPIV2.ManagerSessions {
|
|
6827
6921
|
|
|
6828
6922
|
export class Session {
|
|
@@ -6855,6 +6949,8 @@
|
|
|
6855
6949
|
|
|
6856
6950
|
|
|
6857
6951
|
|
|
6952
|
+
|
|
6953
|
+
|
|
6858
6954
|
export namespace HomeyAPIV2.ManagerSpeechOutput {
|
|
6859
6955
|
|
|
6860
6956
|
export class Voice {
|
|
@@ -6883,6 +6979,8 @@
|
|
|
6883
6979
|
|
|
6884
6980
|
|
|
6885
6981
|
|
|
6982
|
+
|
|
6983
|
+
|
|
6886
6984
|
export namespace HomeyAPIV2.ManagerUsers {
|
|
6887
6985
|
|
|
6888
6986
|
export class User {
|
|
@@ -6919,6 +7017,8 @@
|
|
|
6919
7017
|
|
|
6920
7018
|
|
|
6921
7019
|
|
|
7020
|
+
|
|
7021
|
+
|
|
6922
7022
|
export namespace HomeyAPIV2.ManagerZones {
|
|
6923
7023
|
|
|
6924
7024
|
export class Zone {
|
|
@@ -6951,56 +7051,6 @@
|
|
|
6951
7051
|
|
|
6952
7052
|
|
|
6953
7053
|
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
|
|
6964
|
-
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
|
|
6970
|
-
|
|
6971
|
-
|
|
6972
|
-
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
|
|
6978
|
-
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
7054
|
export namespace HomeyAPIV3Cloud.ManagerApps {
|
|
7005
7055
|
|
|
7006
7056
|
export class App {
|
|
@@ -7031,6 +7081,10 @@
|
|
|
7031
7081
|
|
|
7032
7082
|
|
|
7033
7083
|
|
|
7084
|
+
|
|
7085
|
+
|
|
7086
|
+
|
|
7087
|
+
|
|
7034
7088
|
export namespace HomeyAPIV3Cloud.ManagerCloud {
|
|
7035
7089
|
|
|
7036
7090
|
export class Webhook {
|
|
@@ -7049,6 +7103,8 @@
|
|
|
7049
7103
|
|
|
7050
7104
|
|
|
7051
7105
|
|
|
7106
|
+
|
|
7107
|
+
|
|
7052
7108
|
export namespace HomeyAPIV3Cloud.ManagerCron {
|
|
7053
7109
|
|
|
7054
7110
|
export class Cronjob {
|
|
@@ -7065,6 +7121,8 @@
|
|
|
7065
7121
|
|
|
7066
7122
|
|
|
7067
7123
|
|
|
7124
|
+
|
|
7125
|
+
|
|
7068
7126
|
export namespace HomeyAPIV3Cloud.ManagerDashboards {
|
|
7069
7127
|
|
|
7070
7128
|
export class Dashboard {
|
|
@@ -7089,6 +7147,8 @@
|
|
|
7089
7147
|
|
|
7090
7148
|
|
|
7091
7149
|
|
|
7150
|
+
|
|
7151
|
+
|
|
7092
7152
|
export namespace HomeyAPIV3Cloud.ManagerDevices {
|
|
7093
7153
|
|
|
7094
7154
|
export class Capability {
|
|
@@ -7121,6 +7181,10 @@
|
|
|
7121
7181
|
|
|
7122
7182
|
|
|
7123
7183
|
|
|
7184
|
+
|
|
7185
|
+
|
|
7186
|
+
|
|
7187
|
+
|
|
7124
7188
|
export namespace HomeyAPIV3Cloud.ManagerDrivers {
|
|
7125
7189
|
|
|
7126
7190
|
export class Driver {
|
|
@@ -7151,6 +7215,10 @@
|
|
|
7151
7215
|
|
|
7152
7216
|
|
|
7153
7217
|
|
|
7218
|
+
|
|
7219
|
+
|
|
7220
|
+
|
|
7221
|
+
|
|
7154
7222
|
export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
7155
7223
|
|
|
7156
7224
|
export class AdvancedFlow {
|
|
@@ -7215,6 +7283,18 @@
|
|
|
7215
7283
|
|
|
7216
7284
|
|
|
7217
7285
|
|
|
7286
|
+
|
|
7287
|
+
|
|
7288
|
+
|
|
7289
|
+
|
|
7290
|
+
|
|
7291
|
+
|
|
7292
|
+
|
|
7293
|
+
|
|
7294
|
+
|
|
7295
|
+
|
|
7296
|
+
|
|
7297
|
+
|
|
7218
7298
|
export namespace HomeyAPIV3Cloud.ManagerFlowToken {
|
|
7219
7299
|
|
|
7220
7300
|
export class FlowToken {
|
|
@@ -7235,6 +7315,8 @@
|
|
|
7235
7315
|
|
|
7236
7316
|
|
|
7237
7317
|
|
|
7318
|
+
|
|
7319
|
+
|
|
7238
7320
|
export namespace HomeyAPIV3Cloud.ManagerIcons {
|
|
7239
7321
|
|
|
7240
7322
|
export class Icon {
|
|
@@ -7251,6 +7333,8 @@
|
|
|
7251
7333
|
|
|
7252
7334
|
|
|
7253
7335
|
|
|
7336
|
+
|
|
7337
|
+
|
|
7254
7338
|
export namespace HomeyAPIV3Cloud.ManagerImages {
|
|
7255
7339
|
|
|
7256
7340
|
export class Image {
|
|
@@ -7267,6 +7351,8 @@
|
|
|
7267
7351
|
|
|
7268
7352
|
|
|
7269
7353
|
|
|
7354
|
+
|
|
7355
|
+
|
|
7270
7356
|
export namespace HomeyAPIV3Cloud.ManagerInsights {
|
|
7271
7357
|
|
|
7272
7358
|
export class Log {
|
|
@@ -7293,6 +7379,10 @@
|
|
|
7293
7379
|
|
|
7294
7380
|
|
|
7295
7381
|
|
|
7382
|
+
|
|
7383
|
+
|
|
7384
|
+
|
|
7385
|
+
|
|
7296
7386
|
export namespace HomeyAPIV3Cloud.ManagerLogic {
|
|
7297
7387
|
|
|
7298
7388
|
export class Variable {
|
|
@@ -7315,6 +7405,8 @@
|
|
|
7315
7405
|
|
|
7316
7406
|
|
|
7317
7407
|
|
|
7408
|
+
|
|
7409
|
+
|
|
7318
7410
|
export namespace HomeyAPIV3Cloud.ManagerNotifications {
|
|
7319
7411
|
|
|
7320
7412
|
export class Notification {
|
|
@@ -7343,6 +7435,8 @@
|
|
|
7343
7435
|
|
|
7344
7436
|
|
|
7345
7437
|
|
|
7438
|
+
|
|
7439
|
+
|
|
7346
7440
|
export namespace HomeyAPIV3Cloud.ManagerRF {
|
|
7347
7441
|
|
|
7348
7442
|
export class Signal {
|
|
@@ -7363,6 +7457,8 @@
|
|
|
7363
7457
|
|
|
7364
7458
|
|
|
7365
7459
|
|
|
7460
|
+
|
|
7461
|
+
|
|
7366
7462
|
export namespace HomeyAPIV3Cloud.ManagerSessions {
|
|
7367
7463
|
|
|
7368
7464
|
export class Session {
|
|
@@ -7387,6 +7483,8 @@
|
|
|
7387
7483
|
|
|
7388
7484
|
|
|
7389
7485
|
|
|
7486
|
+
|
|
7487
|
+
|
|
7390
7488
|
export namespace HomeyAPIV3Cloud.ManagerUsers {
|
|
7391
7489
|
|
|
7392
7490
|
export class User {
|
|
@@ -7403,6 +7501,8 @@
|
|
|
7403
7501
|
|
|
7404
7502
|
|
|
7405
7503
|
|
|
7504
|
+
|
|
7505
|
+
|
|
7406
7506
|
export namespace HomeyAPIV3Cloud.ManagerVirtualDevice {
|
|
7407
7507
|
|
|
7408
7508
|
export class VirtualDeviceDummySocket {
|
|
@@ -7515,78 +7615,6 @@
|
|
|
7515
7615
|
|
|
7516
7616
|
|
|
7517
7617
|
|
|
7518
|
-
export namespace HomeyAPIV3Cloud.ManagerZones {
|
|
7519
|
-
|
|
7520
|
-
export class Zone {
|
|
7521
|
-
|
|
7522
|
-
|
|
7523
|
-
|
|
7524
|
-
id: string;
|
|
7525
|
-
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
}
|
|
7529
|
-
|
|
7530
|
-
}
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7534
|
-
|
|
7535
|
-
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7559
|
-
|
|
7560
|
-
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
|
|
7569
|
-
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
|
|
7584
|
-
|
|
7585
|
-
|
|
7586
|
-
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
7618
|
|
|
7591
7619
|
|
|
7592
7620
|
|
|
@@ -7607,11 +7635,19 @@
|
|
|
7607
7635
|
|
|
7608
7636
|
|
|
7609
7637
|
|
|
7638
|
+
export namespace HomeyAPIV3Cloud.ManagerZones {
|
|
7639
|
+
|
|
7640
|
+
export class Zone {
|
|
7641
|
+
|
|
7610
7642
|
|
|
7611
|
-
|
|
7643
|
+
|
|
7644
|
+
id: string;
|
|
7645
|
+
|
|
7612
7646
|
|
|
7613
|
-
|
|
7647
|
+
|
|
7648
|
+
}
|
|
7614
7649
|
|
|
7650
|
+
}
|
|
7615
7651
|
|
|
7616
7652
|
|
|
7617
7653
|
|
|
@@ -7635,6 +7671,8 @@
|
|
|
7635
7671
|
|
|
7636
7672
|
|
|
7637
7673
|
|
|
7674
|
+
|
|
7675
|
+
|
|
7638
7676
|
export namespace HomeyAPIV3Local.ManagerApps {
|
|
7639
7677
|
|
|
7640
7678
|
export class App {
|
|
@@ -7669,6 +7707,10 @@
|
|
|
7669
7707
|
|
|
7670
7708
|
|
|
7671
7709
|
|
|
7710
|
+
|
|
7711
|
+
|
|
7712
|
+
|
|
7713
|
+
|
|
7672
7714
|
export namespace HomeyAPIV3Local.ManagerCloud {
|
|
7673
7715
|
|
|
7674
7716
|
export class Webhook {
|
|
@@ -7687,6 +7729,8 @@
|
|
|
7687
7729
|
|
|
7688
7730
|
|
|
7689
7731
|
|
|
7732
|
+
|
|
7733
|
+
|
|
7690
7734
|
export namespace HomeyAPIV3Local.ManagerCron {
|
|
7691
7735
|
|
|
7692
7736
|
export class Cronjob {
|
|
@@ -7703,6 +7747,8 @@
|
|
|
7703
7747
|
|
|
7704
7748
|
|
|
7705
7749
|
|
|
7750
|
+
|
|
7751
|
+
|
|
7706
7752
|
export namespace HomeyAPIV3Local.ManagerDashboards {
|
|
7707
7753
|
|
|
7708
7754
|
export class Dashboard {
|
|
@@ -7727,6 +7773,8 @@
|
|
|
7727
7773
|
|
|
7728
7774
|
|
|
7729
7775
|
|
|
7776
|
+
|
|
7777
|
+
|
|
7730
7778
|
export namespace HomeyAPIV3Local.ManagerDevices {
|
|
7731
7779
|
|
|
7732
7780
|
export class Capability {
|
|
@@ -7759,6 +7807,10 @@
|
|
|
7759
7807
|
|
|
7760
7808
|
|
|
7761
7809
|
|
|
7810
|
+
|
|
7811
|
+
|
|
7812
|
+
|
|
7813
|
+
|
|
7762
7814
|
export namespace HomeyAPIV3Local.ManagerDiscovery {
|
|
7763
7815
|
|
|
7764
7816
|
export class DiscoveryStrategyMAC {
|
|
@@ -7795,6 +7847,12 @@
|
|
|
7795
7847
|
|
|
7796
7848
|
|
|
7797
7849
|
|
|
7850
|
+
|
|
7851
|
+
|
|
7852
|
+
|
|
7853
|
+
|
|
7854
|
+
|
|
7855
|
+
|
|
7798
7856
|
export namespace HomeyAPIV3Local.ManagerDrivers {
|
|
7799
7857
|
|
|
7800
7858
|
export class Driver {
|
|
@@ -7825,8 +7883,22 @@
|
|
|
7825
7883
|
|
|
7826
7884
|
|
|
7827
7885
|
|
|
7886
|
+
|
|
7887
|
+
|
|
7888
|
+
|
|
7889
|
+
|
|
7828
7890
|
export namespace HomeyAPIV3Local.ManagerExperiments {
|
|
7829
7891
|
|
|
7892
|
+
export class ExperimentHomeKit {
|
|
7893
|
+
|
|
7894
|
+
|
|
7895
|
+
|
|
7896
|
+
id: string;
|
|
7897
|
+
|
|
7898
|
+
|
|
7899
|
+
|
|
7900
|
+
}
|
|
7901
|
+
|
|
7830
7902
|
export class ExperimentPowerUser {
|
|
7831
7903
|
|
|
7832
7904
|
|
|
@@ -7861,6 +7933,14 @@
|
|
|
7861
7933
|
|
|
7862
7934
|
|
|
7863
7935
|
|
|
7936
|
+
|
|
7937
|
+
|
|
7938
|
+
|
|
7939
|
+
|
|
7940
|
+
|
|
7941
|
+
|
|
7942
|
+
|
|
7943
|
+
|
|
7864
7944
|
export namespace HomeyAPIV3Local.ManagerFlow {
|
|
7865
7945
|
|
|
7866
7946
|
export class AdvancedFlow {
|
|
@@ -7925,6 +8005,18 @@
|
|
|
7925
8005
|
|
|
7926
8006
|
|
|
7927
8007
|
|
|
8008
|
+
|
|
8009
|
+
|
|
8010
|
+
|
|
8011
|
+
|
|
8012
|
+
|
|
8013
|
+
|
|
8014
|
+
|
|
8015
|
+
|
|
8016
|
+
|
|
8017
|
+
|
|
8018
|
+
|
|
8019
|
+
|
|
7928
8020
|
export namespace HomeyAPIV3Local.ManagerFlowToken {
|
|
7929
8021
|
|
|
7930
8022
|
export class FlowToken {
|
|
@@ -7947,6 +8039,8 @@
|
|
|
7947
8039
|
|
|
7948
8040
|
|
|
7949
8041
|
|
|
8042
|
+
|
|
8043
|
+
|
|
7950
8044
|
export namespace HomeyAPIV3Local.ManagerIcons {
|
|
7951
8045
|
|
|
7952
8046
|
export class Icon {
|
|
@@ -7963,6 +8057,8 @@
|
|
|
7963
8057
|
|
|
7964
8058
|
|
|
7965
8059
|
|
|
8060
|
+
|
|
8061
|
+
|
|
7966
8062
|
export namespace HomeyAPIV3Local.ManagerImages {
|
|
7967
8063
|
|
|
7968
8064
|
export class Image {
|
|
@@ -7979,6 +8075,8 @@
|
|
|
7979
8075
|
|
|
7980
8076
|
|
|
7981
8077
|
|
|
8078
|
+
|
|
8079
|
+
|
|
7982
8080
|
export namespace HomeyAPIV3Local.ManagerInsights {
|
|
7983
8081
|
|
|
7984
8082
|
export class Log {
|
|
@@ -8007,6 +8105,10 @@
|
|
|
8007
8105
|
|
|
8008
8106
|
|
|
8009
8107
|
|
|
8108
|
+
|
|
8109
|
+
|
|
8110
|
+
|
|
8111
|
+
|
|
8010
8112
|
export namespace HomeyAPIV3Local.ManagerLogic {
|
|
8011
8113
|
|
|
8012
8114
|
export class Variable {
|
|
@@ -8031,6 +8133,8 @@
|
|
|
8031
8133
|
|
|
8032
8134
|
|
|
8033
8135
|
|
|
8136
|
+
|
|
8137
|
+
|
|
8034
8138
|
export namespace HomeyAPIV3Local.ManagerNotifications {
|
|
8035
8139
|
|
|
8036
8140
|
export class Notification {
|
|
@@ -8057,6 +8161,8 @@
|
|
|
8057
8161
|
|
|
8058
8162
|
|
|
8059
8163
|
|
|
8164
|
+
|
|
8165
|
+
|
|
8060
8166
|
export namespace HomeyAPIV3Local.ManagerRF {
|
|
8061
8167
|
|
|
8062
8168
|
export class Signal {
|
|
@@ -8079,6 +8185,8 @@
|
|
|
8079
8185
|
|
|
8080
8186
|
|
|
8081
8187
|
|
|
8188
|
+
|
|
8189
|
+
|
|
8082
8190
|
export namespace HomeyAPIV3Local.ManagerSessions {
|
|
8083
8191
|
|
|
8084
8192
|
export class Session {
|
|
@@ -8107,6 +8215,8 @@
|
|
|
8107
8215
|
|
|
8108
8216
|
|
|
8109
8217
|
|
|
8218
|
+
|
|
8219
|
+
|
|
8110
8220
|
export namespace HomeyAPIV3Local.ManagerUsers {
|
|
8111
8221
|
|
|
8112
8222
|
export class User {
|
|
@@ -8119,7 +8229,9 @@
|
|
|
8119
8229
|
|
|
8120
8230
|
}
|
|
8121
8231
|
|
|
8122
|
-
}
|
|
8232
|
+
}
|
|
8233
|
+
|
|
8234
|
+
|
|
8123
8235
|
|
|
8124
8236
|
|
|
8125
8237
|
|
|
@@ -8295,28 +8407,6 @@
|
|
|
8295
8407
|
|
|
8296
8408
|
|
|
8297
8409
|
|
|
8298
|
-
export namespace HomeyAPIV3Local.ManagerZones {
|
|
8299
|
-
|
|
8300
|
-
export class Zone {
|
|
8301
|
-
|
|
8302
|
-
|
|
8303
|
-
|
|
8304
|
-
id: string;
|
|
8305
|
-
|
|
8306
|
-
|
|
8307
|
-
|
|
8308
|
-
}
|
|
8309
|
-
|
|
8310
|
-
}
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
-
|
|
8314
|
-
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8319
|
-
|
|
8320
8410
|
|
|
8321
8411
|
|
|
8322
8412
|
|
|
@@ -8349,11 +8439,19 @@
|
|
|
8349
8439
|
|
|
8350
8440
|
|
|
8351
8441
|
|
|
8442
|
+
export namespace HomeyAPIV3Local.ManagerZones {
|
|
8443
|
+
|
|
8444
|
+
export class Zone {
|
|
8445
|
+
|
|
8352
8446
|
|
|
8353
|
-
|
|
8447
|
+
|
|
8448
|
+
id: string;
|
|
8449
|
+
|
|
8354
8450
|
|
|
8355
|
-
|
|
8451
|
+
|
|
8452
|
+
}
|
|
8356
8453
|
|
|
8454
|
+
}
|
|
8357
8455
|
|
|
8358
8456
|
|
|
8359
8457
|
|
|
@@ -16666,6 +16764,25 @@
|
|
|
16666
16764
|
|
|
16667
16765
|
|
|
16668
16766
|
|
|
16767
|
+
opts: {
|
|
16768
|
+
|
|
16769
|
+
|
|
16770
|
+
id: string,
|
|
16771
|
+
|
|
16772
|
+
|
|
16773
|
+
},
|
|
16774
|
+
|
|
16775
|
+
|
|
16776
|
+
|
|
16777
|
+
|
|
16778
|
+
):
|
|
16779
|
+
Promise<any>;
|
|
16780
|
+
|
|
16781
|
+
getAppUsage(
|
|
16782
|
+
|
|
16783
|
+
|
|
16784
|
+
|
|
16785
|
+
|
|
16669
16786
|
opts: {
|
|
16670
16787
|
|
|
16671
16788
|
|
|
@@ -16824,6 +16941,29 @@
|
|
|
16824
16941
|
|
|
16825
16942
|
getState(
|
|
16826
16943
|
|
|
16944
|
+
):
|
|
16945
|
+
Promise<any>;
|
|
16946
|
+
|
|
16947
|
+
runCommand(
|
|
16948
|
+
|
|
16949
|
+
|
|
16950
|
+
|
|
16951
|
+
|
|
16952
|
+
opts: {
|
|
16953
|
+
|
|
16954
|
+
|
|
16955
|
+
command: string,
|
|
16956
|
+
|
|
16957
|
+
|
|
16958
|
+
|
|
16959
|
+
opts: object,
|
|
16960
|
+
|
|
16961
|
+
|
|
16962
|
+
},
|
|
16963
|
+
|
|
16964
|
+
|
|
16965
|
+
|
|
16966
|
+
|
|
16827
16967
|
):
|
|
16828
16968
|
Promise<any>;
|
|
16829
16969
|
|
|
@@ -16932,6 +17072,29 @@
|
|
|
16932
17072
|
|
|
16933
17073
|
|
|
16934
17074
|
|
|
17075
|
+
):
|
|
17076
|
+
Promise<any>;
|
|
17077
|
+
|
|
17078
|
+
setDebugLogging(
|
|
17079
|
+
|
|
17080
|
+
|
|
17081
|
+
|
|
17082
|
+
|
|
17083
|
+
opts: {
|
|
17084
|
+
|
|
17085
|
+
|
|
17086
|
+
peripheral: string,
|
|
17087
|
+
|
|
17088
|
+
|
|
17089
|
+
|
|
17090
|
+
enabled: boolean,
|
|
17091
|
+
|
|
17092
|
+
|
|
17093
|
+
},
|
|
17094
|
+
|
|
17095
|
+
|
|
17096
|
+
|
|
17097
|
+
|
|
16935
17098
|
):
|
|
16936
17099
|
Promise<any>;
|
|
16937
17100
|
|
|
@@ -17658,7 +17821,7 @@
|
|
|
17658
17821
|
|
|
17659
17822
|
|
|
17660
17823
|
|
|
17661
|
-
data:
|
|
17824
|
+
data: *,
|
|
17662
17825
|
|
|
17663
17826
|
|
|
17664
17827
|
},
|
|
@@ -17685,7 +17848,7 @@
|
|
|
17685
17848
|
|
|
17686
17849
|
|
|
17687
17850
|
|
|
17688
|
-
data:
|
|
17851
|
+
data: *,
|
|
17689
17852
|
|
|
17690
17853
|
|
|
17691
17854
|
},
|
|
@@ -18593,6 +18756,44 @@
|
|
|
18593
18756
|
):
|
|
18594
18757
|
Promise<HomeyAPIV3Local.ManagerFlowToken.FlowToken>;
|
|
18595
18758
|
|
|
18759
|
+
getFlowToken(
|
|
18760
|
+
|
|
18761
|
+
|
|
18762
|
+
|
|
18763
|
+
|
|
18764
|
+
opts: {
|
|
18765
|
+
|
|
18766
|
+
|
|
18767
|
+
id: string,
|
|
18768
|
+
|
|
18769
|
+
|
|
18770
|
+
},
|
|
18771
|
+
|
|
18772
|
+
|
|
18773
|
+
|
|
18774
|
+
|
|
18775
|
+
):
|
|
18776
|
+
Promise<HomeyAPIV3Local.ManagerFlowToken.FlowToken>;
|
|
18777
|
+
|
|
18778
|
+
getFlowTokenValue(
|
|
18779
|
+
|
|
18780
|
+
|
|
18781
|
+
|
|
18782
|
+
|
|
18783
|
+
opts: {
|
|
18784
|
+
|
|
18785
|
+
|
|
18786
|
+
id: string,
|
|
18787
|
+
|
|
18788
|
+
|
|
18789
|
+
},
|
|
18790
|
+
|
|
18791
|
+
|
|
18792
|
+
|
|
18793
|
+
|
|
18794
|
+
):
|
|
18795
|
+
Promise<any>;
|
|
18796
|
+
|
|
18596
18797
|
isConnected(
|
|
18597
18798
|
|
|
18598
18799
|
):
|
|
@@ -19103,6 +19304,25 @@
|
|
|
19103
19304
|
):
|
|
19104
19305
|
Promise<any>;
|
|
19105
19306
|
|
|
19307
|
+
getVariable(
|
|
19308
|
+
|
|
19309
|
+
|
|
19310
|
+
|
|
19311
|
+
|
|
19312
|
+
opts: {
|
|
19313
|
+
|
|
19314
|
+
|
|
19315
|
+
id: string,
|
|
19316
|
+
|
|
19317
|
+
|
|
19318
|
+
},
|
|
19319
|
+
|
|
19320
|
+
|
|
19321
|
+
|
|
19322
|
+
|
|
19323
|
+
):
|
|
19324
|
+
Promise<HomeyAPIV3Local.ManagerLogic.Variable>;
|
|
19325
|
+
|
|
19106
19326
|
getVariables(
|
|
19107
19327
|
|
|
19108
19328
|
):
|
|
@@ -19448,6 +19668,25 @@
|
|
|
19448
19668
|
|
|
19449
19669
|
|
|
19450
19670
|
|
|
19671
|
+
):
|
|
19672
|
+
Promise<any>;
|
|
19673
|
+
|
|
19674
|
+
getPresent(
|
|
19675
|
+
|
|
19676
|
+
|
|
19677
|
+
|
|
19678
|
+
|
|
19679
|
+
opts: {
|
|
19680
|
+
|
|
19681
|
+
|
|
19682
|
+
id: string,
|
|
19683
|
+
|
|
19684
|
+
|
|
19685
|
+
},
|
|
19686
|
+
|
|
19687
|
+
|
|
19688
|
+
|
|
19689
|
+
|
|
19451
19690
|
):
|
|
19452
19691
|
Promise<any>;
|
|
19453
19692
|
|
|
@@ -19500,6 +19739,25 @@
|
|
|
19500
19739
|
|
|
19501
19740
|
|
|
19502
19741
|
|
|
19742
|
+
):
|
|
19743
|
+
Promise<any>;
|
|
19744
|
+
|
|
19745
|
+
getAsleep(
|
|
19746
|
+
|
|
19747
|
+
|
|
19748
|
+
|
|
19749
|
+
|
|
19750
|
+
opts: {
|
|
19751
|
+
|
|
19752
|
+
|
|
19753
|
+
id: string,
|
|
19754
|
+
|
|
19755
|
+
|
|
19756
|
+
},
|
|
19757
|
+
|
|
19758
|
+
|
|
19759
|
+
|
|
19760
|
+
|
|
19503
19761
|
):
|
|
19504
19762
|
Promise<any>;
|
|
19505
19763
|
|
|
@@ -20539,6 +20797,25 @@
|
|
|
20539
20797
|
|
|
20540
20798
|
getZones(
|
|
20541
20799
|
|
|
20800
|
+
):
|
|
20801
|
+
Promise<HomeyAPIV3Local.ManagerZones.Zone>;
|
|
20802
|
+
|
|
20803
|
+
getZone(
|
|
20804
|
+
|
|
20805
|
+
|
|
20806
|
+
|
|
20807
|
+
|
|
20808
|
+
opts: {
|
|
20809
|
+
|
|
20810
|
+
|
|
20811
|
+
id: string,
|
|
20812
|
+
|
|
20813
|
+
|
|
20814
|
+
},
|
|
20815
|
+
|
|
20816
|
+
|
|
20817
|
+
|
|
20818
|
+
|
|
20542
20819
|
):
|
|
20543
20820
|
Promise<HomeyAPIV3Local.ManagerZones.Zone>;
|
|
20544
20821
|
|
|
@@ -20744,6 +21021,48 @@
|
|
|
20744
21021
|
|
|
20745
21022
|
|
|
20746
21023
|
|
|
21024
|
+
export namespace HomeyAPIV3.ManagerDevices.Device {
|
|
21025
|
+
|
|
21026
|
+
export class DeviceCapability {
|
|
21027
|
+
|
|
21028
|
+
|
|
21029
|
+
|
|
21030
|
+
value: boolean | number | string | null;
|
|
21031
|
+
|
|
21032
|
+
lastChanged: Date | null;
|
|
21033
|
+
|
|
21034
|
+
|
|
21035
|
+
|
|
21036
|
+
destroy(
|
|
21037
|
+
|
|
21038
|
+
|
|
21039
|
+
|
|
21040
|
+
|
|
21041
|
+
|
|
21042
|
+
):
|
|
21043
|
+
any;
|
|
21044
|
+
|
|
21045
|
+
setValue(
|
|
21046
|
+
|
|
21047
|
+
|
|
21048
|
+
|
|
21049
|
+
|
|
21050
|
+
value: boolean | number | string,
|
|
21051
|
+
|
|
21052
|
+
|
|
21053
|
+
|
|
21054
|
+
opts: object,
|
|
21055
|
+
|
|
21056
|
+
|
|
21057
|
+
|
|
21058
|
+
|
|
21059
|
+
):
|
|
21060
|
+
Promise<any>;
|
|
21061
|
+
|
|
21062
|
+
}
|
|
21063
|
+
|
|
21064
|
+
}
|
|
21065
|
+
|
|
20747
21066
|
|
|
20748
21067
|
|
|
20749
21068
|
|