homey-api 3.0.0-rc.9 → 3.0.0
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 +418 -223
- package/assets/types/homey-api.private.d.ts +464 -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/HomeyAPI/HomeyAPI.js +108 -9
- package/lib/HomeyAPI/HomeyAPIV1.js +8 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerDevices/Device.js +2 -1
- 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 +8 -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
|
|
|
@@ -5379,6 +5402,33 @@
|
|
|
5379
5402
|
|
|
5380
5403
|
|
|
5381
5404
|
|
|
5405
|
+
):
|
|
5406
|
+
Promise<any>;
|
|
5407
|
+
|
|
5408
|
+
createLocalAPI(
|
|
5409
|
+
|
|
5410
|
+
|
|
5411
|
+
|
|
5412
|
+
|
|
5413
|
+
opts: {
|
|
5414
|
+
|
|
5415
|
+
|
|
5416
|
+
address: String,
|
|
5417
|
+
|
|
5418
|
+
|
|
5419
|
+
|
|
5420
|
+
token: String,
|
|
5421
|
+
|
|
5422
|
+
|
|
5423
|
+
|
|
5424
|
+
debug: function | null,
|
|
5425
|
+
|
|
5426
|
+
|
|
5427
|
+
},
|
|
5428
|
+
|
|
5429
|
+
|
|
5430
|
+
|
|
5431
|
+
|
|
5382
5432
|
):
|
|
5383
5433
|
Promise<any>;
|
|
5384
5434
|
|
|
@@ -6014,78 +6064,6 @@
|
|
|
6014
6064
|
|
|
6015
6065
|
|
|
6016
6066
|
|
|
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
6067
|
|
|
6090
6068
|
|
|
6091
6069
|
|
|
@@ -6123,6 +6101,8 @@
|
|
|
6123
6101
|
|
|
6124
6102
|
|
|
6125
6103
|
|
|
6104
|
+
|
|
6105
|
+
|
|
6126
6106
|
export namespace HomeyAPIV2.ManagerApps {
|
|
6127
6107
|
|
|
6128
6108
|
export class App {
|
|
@@ -6285,6 +6265,8 @@
|
|
|
6285
6265
|
|
|
6286
6266
|
|
|
6287
6267
|
|
|
6268
|
+
|
|
6269
|
+
|
|
6288
6270
|
export namespace HomeyAPIV2.ManagerDashboards {
|
|
6289
6271
|
|
|
6290
6272
|
export class Dashboard {
|
|
@@ -6309,6 +6291,8 @@
|
|
|
6309
6291
|
|
|
6310
6292
|
|
|
6311
6293
|
|
|
6294
|
+
|
|
6295
|
+
|
|
6312
6296
|
export namespace HomeyAPIV2.ManagerDevices {
|
|
6313
6297
|
|
|
6314
6298
|
export class Capability {
|
|
@@ -6419,6 +6403,10 @@
|
|
|
6419
6403
|
|
|
6420
6404
|
|
|
6421
6405
|
|
|
6406
|
+
|
|
6407
|
+
|
|
6408
|
+
|
|
6409
|
+
|
|
6422
6410
|
export namespace HomeyAPIV2.ManagerDrivers {
|
|
6423
6411
|
|
|
6424
6412
|
export class Driver {
|
|
@@ -6485,6 +6473,10 @@
|
|
|
6485
6473
|
|
|
6486
6474
|
|
|
6487
6475
|
|
|
6476
|
+
|
|
6477
|
+
|
|
6478
|
+
|
|
6479
|
+
|
|
6488
6480
|
export namespace HomeyAPIV2.ManagerFlow {
|
|
6489
6481
|
|
|
6490
6482
|
export class AdvancedFlow {
|
|
@@ -6651,6 +6643,18 @@
|
|
|
6651
6643
|
|
|
6652
6644
|
|
|
6653
6645
|
|
|
6646
|
+
|
|
6647
|
+
|
|
6648
|
+
|
|
6649
|
+
|
|
6650
|
+
|
|
6651
|
+
|
|
6652
|
+
|
|
6653
|
+
|
|
6654
|
+
|
|
6655
|
+
|
|
6656
|
+
|
|
6657
|
+
|
|
6654
6658
|
export namespace HomeyAPIV2.ManagerFlowToken {
|
|
6655
6659
|
|
|
6656
6660
|
export class FlowToken {
|
|
@@ -6683,6 +6687,8 @@
|
|
|
6683
6687
|
|
|
6684
6688
|
|
|
6685
6689
|
|
|
6690
|
+
|
|
6691
|
+
|
|
6686
6692
|
export namespace HomeyAPIV2.ManagerImages {
|
|
6687
6693
|
|
|
6688
6694
|
export class Image {
|
|
@@ -6705,6 +6711,8 @@
|
|
|
6705
6711
|
|
|
6706
6712
|
|
|
6707
6713
|
|
|
6714
|
+
|
|
6715
|
+
|
|
6708
6716
|
export namespace HomeyAPIV2.ManagerInsights {
|
|
6709
6717
|
|
|
6710
6718
|
export class Log {
|
|
@@ -6735,6 +6743,8 @@
|
|
|
6735
6743
|
|
|
6736
6744
|
|
|
6737
6745
|
|
|
6746
|
+
|
|
6747
|
+
|
|
6738
6748
|
export namespace HomeyAPIV2.ManagerLogic {
|
|
6739
6749
|
|
|
6740
6750
|
export class Variable {
|
|
@@ -6757,6 +6767,8 @@
|
|
|
6757
6767
|
|
|
6758
6768
|
|
|
6759
6769
|
|
|
6770
|
+
|
|
6771
|
+
|
|
6760
6772
|
export namespace HomeyAPIV2.ManagerMoods {
|
|
6761
6773
|
|
|
6762
6774
|
export class Mood {
|
|
@@ -6781,6 +6793,8 @@
|
|
|
6781
6793
|
|
|
6782
6794
|
|
|
6783
6795
|
|
|
6796
|
+
|
|
6797
|
+
|
|
6784
6798
|
export namespace HomeyAPIV2.ManagerNotifications {
|
|
6785
6799
|
|
|
6786
6800
|
export class Notification {
|
|
@@ -6823,6 +6837,8 @@
|
|
|
6823
6837
|
|
|
6824
6838
|
|
|
6825
6839
|
|
|
6840
|
+
|
|
6841
|
+
|
|
6826
6842
|
export namespace HomeyAPIV2.ManagerSessions {
|
|
6827
6843
|
|
|
6828
6844
|
export class Session {
|
|
@@ -6855,6 +6871,8 @@
|
|
|
6855
6871
|
|
|
6856
6872
|
|
|
6857
6873
|
|
|
6874
|
+
|
|
6875
|
+
|
|
6858
6876
|
export namespace HomeyAPIV2.ManagerSpeechOutput {
|
|
6859
6877
|
|
|
6860
6878
|
export class Voice {
|
|
@@ -6883,6 +6901,8 @@
|
|
|
6883
6901
|
|
|
6884
6902
|
|
|
6885
6903
|
|
|
6904
|
+
|
|
6905
|
+
|
|
6886
6906
|
export namespace HomeyAPIV2.ManagerUsers {
|
|
6887
6907
|
|
|
6888
6908
|
export class User {
|
|
@@ -6919,6 +6939,8 @@
|
|
|
6919
6939
|
|
|
6920
6940
|
|
|
6921
6941
|
|
|
6942
|
+
|
|
6943
|
+
|
|
6922
6944
|
export namespace HomeyAPIV2.ManagerZones {
|
|
6923
6945
|
|
|
6924
6946
|
export class Zone {
|
|
@@ -6951,56 +6973,6 @@
|
|
|
6951
6973
|
|
|
6952
6974
|
|
|
6953
6975
|
|
|
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
6976
|
export namespace HomeyAPIV3Cloud.ManagerApps {
|
|
7005
6977
|
|
|
7006
6978
|
export class App {
|
|
@@ -7031,6 +7003,10 @@
|
|
|
7031
7003
|
|
|
7032
7004
|
|
|
7033
7005
|
|
|
7006
|
+
|
|
7007
|
+
|
|
7008
|
+
|
|
7009
|
+
|
|
7034
7010
|
export namespace HomeyAPIV3Cloud.ManagerCloud {
|
|
7035
7011
|
|
|
7036
7012
|
export class Webhook {
|
|
@@ -7049,6 +7025,8 @@
|
|
|
7049
7025
|
|
|
7050
7026
|
|
|
7051
7027
|
|
|
7028
|
+
|
|
7029
|
+
|
|
7052
7030
|
export namespace HomeyAPIV3Cloud.ManagerCron {
|
|
7053
7031
|
|
|
7054
7032
|
export class Cronjob {
|
|
@@ -7065,6 +7043,8 @@
|
|
|
7065
7043
|
|
|
7066
7044
|
|
|
7067
7045
|
|
|
7046
|
+
|
|
7047
|
+
|
|
7068
7048
|
export namespace HomeyAPIV3Cloud.ManagerDashboards {
|
|
7069
7049
|
|
|
7070
7050
|
export class Dashboard {
|
|
@@ -7089,6 +7069,8 @@
|
|
|
7089
7069
|
|
|
7090
7070
|
|
|
7091
7071
|
|
|
7072
|
+
|
|
7073
|
+
|
|
7092
7074
|
export namespace HomeyAPIV3Cloud.ManagerDevices {
|
|
7093
7075
|
|
|
7094
7076
|
export class Capability {
|
|
@@ -7121,6 +7103,10 @@
|
|
|
7121
7103
|
|
|
7122
7104
|
|
|
7123
7105
|
|
|
7106
|
+
|
|
7107
|
+
|
|
7108
|
+
|
|
7109
|
+
|
|
7124
7110
|
export namespace HomeyAPIV3Cloud.ManagerDrivers {
|
|
7125
7111
|
|
|
7126
7112
|
export class Driver {
|
|
@@ -7151,6 +7137,10 @@
|
|
|
7151
7137
|
|
|
7152
7138
|
|
|
7153
7139
|
|
|
7140
|
+
|
|
7141
|
+
|
|
7142
|
+
|
|
7143
|
+
|
|
7154
7144
|
export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
7155
7145
|
|
|
7156
7146
|
export class AdvancedFlow {
|
|
@@ -7215,6 +7205,18 @@
|
|
|
7215
7205
|
|
|
7216
7206
|
|
|
7217
7207
|
|
|
7208
|
+
|
|
7209
|
+
|
|
7210
|
+
|
|
7211
|
+
|
|
7212
|
+
|
|
7213
|
+
|
|
7214
|
+
|
|
7215
|
+
|
|
7216
|
+
|
|
7217
|
+
|
|
7218
|
+
|
|
7219
|
+
|
|
7218
7220
|
export namespace HomeyAPIV3Cloud.ManagerFlowToken {
|
|
7219
7221
|
|
|
7220
7222
|
export class FlowToken {
|
|
@@ -7235,6 +7237,8 @@
|
|
|
7235
7237
|
|
|
7236
7238
|
|
|
7237
7239
|
|
|
7240
|
+
|
|
7241
|
+
|
|
7238
7242
|
export namespace HomeyAPIV3Cloud.ManagerIcons {
|
|
7239
7243
|
|
|
7240
7244
|
export class Icon {
|
|
@@ -7251,6 +7255,8 @@
|
|
|
7251
7255
|
|
|
7252
7256
|
|
|
7253
7257
|
|
|
7258
|
+
|
|
7259
|
+
|
|
7254
7260
|
export namespace HomeyAPIV3Cloud.ManagerImages {
|
|
7255
7261
|
|
|
7256
7262
|
export class Image {
|
|
@@ -7267,6 +7273,8 @@
|
|
|
7267
7273
|
|
|
7268
7274
|
|
|
7269
7275
|
|
|
7276
|
+
|
|
7277
|
+
|
|
7270
7278
|
export namespace HomeyAPIV3Cloud.ManagerInsights {
|
|
7271
7279
|
|
|
7272
7280
|
export class Log {
|
|
@@ -7293,6 +7301,10 @@
|
|
|
7293
7301
|
|
|
7294
7302
|
|
|
7295
7303
|
|
|
7304
|
+
|
|
7305
|
+
|
|
7306
|
+
|
|
7307
|
+
|
|
7296
7308
|
export namespace HomeyAPIV3Cloud.ManagerLogic {
|
|
7297
7309
|
|
|
7298
7310
|
export class Variable {
|
|
@@ -7315,6 +7327,8 @@
|
|
|
7315
7327
|
|
|
7316
7328
|
|
|
7317
7329
|
|
|
7330
|
+
|
|
7331
|
+
|
|
7318
7332
|
export namespace HomeyAPIV3Cloud.ManagerNotifications {
|
|
7319
7333
|
|
|
7320
7334
|
export class Notification {
|
|
@@ -7343,6 +7357,8 @@
|
|
|
7343
7357
|
|
|
7344
7358
|
|
|
7345
7359
|
|
|
7360
|
+
|
|
7361
|
+
|
|
7346
7362
|
export namespace HomeyAPIV3Cloud.ManagerRF {
|
|
7347
7363
|
|
|
7348
7364
|
export class Signal {
|
|
@@ -7363,6 +7379,8 @@
|
|
|
7363
7379
|
|
|
7364
7380
|
|
|
7365
7381
|
|
|
7382
|
+
|
|
7383
|
+
|
|
7366
7384
|
export namespace HomeyAPIV3Cloud.ManagerSessions {
|
|
7367
7385
|
|
|
7368
7386
|
export class Session {
|
|
@@ -7387,6 +7405,8 @@
|
|
|
7387
7405
|
|
|
7388
7406
|
|
|
7389
7407
|
|
|
7408
|
+
|
|
7409
|
+
|
|
7390
7410
|
export namespace HomeyAPIV3Cloud.ManagerUsers {
|
|
7391
7411
|
|
|
7392
7412
|
export class User {
|
|
@@ -7403,6 +7423,8 @@
|
|
|
7403
7423
|
|
|
7404
7424
|
|
|
7405
7425
|
|
|
7426
|
+
|
|
7427
|
+
|
|
7406
7428
|
export namespace HomeyAPIV3Cloud.ManagerVirtualDevice {
|
|
7407
7429
|
|
|
7408
7430
|
export class VirtualDeviceDummySocket {
|
|
@@ -7515,78 +7537,6 @@
|
|
|
7515
7537
|
|
|
7516
7538
|
|
|
7517
7539
|
|
|
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
7540
|
|
|
7591
7541
|
|
|
7592
7542
|
|
|
@@ -7607,11 +7557,19 @@
|
|
|
7607
7557
|
|
|
7608
7558
|
|
|
7609
7559
|
|
|
7560
|
+
export namespace HomeyAPIV3Cloud.ManagerZones {
|
|
7561
|
+
|
|
7562
|
+
export class Zone {
|
|
7563
|
+
|
|
7610
7564
|
|
|
7611
|
-
|
|
7565
|
+
|
|
7566
|
+
id: string;
|
|
7567
|
+
|
|
7612
7568
|
|
|
7613
|
-
|
|
7569
|
+
|
|
7570
|
+
}
|
|
7614
7571
|
|
|
7572
|
+
}
|
|
7615
7573
|
|
|
7616
7574
|
|
|
7617
7575
|
|
|
@@ -7635,6 +7593,8 @@
|
|
|
7635
7593
|
|
|
7636
7594
|
|
|
7637
7595
|
|
|
7596
|
+
|
|
7597
|
+
|
|
7638
7598
|
export namespace HomeyAPIV3Local.ManagerApps {
|
|
7639
7599
|
|
|
7640
7600
|
export class App {
|
|
@@ -7669,6 +7629,10 @@
|
|
|
7669
7629
|
|
|
7670
7630
|
|
|
7671
7631
|
|
|
7632
|
+
|
|
7633
|
+
|
|
7634
|
+
|
|
7635
|
+
|
|
7672
7636
|
export namespace HomeyAPIV3Local.ManagerCloud {
|
|
7673
7637
|
|
|
7674
7638
|
export class Webhook {
|
|
@@ -7687,6 +7651,8 @@
|
|
|
7687
7651
|
|
|
7688
7652
|
|
|
7689
7653
|
|
|
7654
|
+
|
|
7655
|
+
|
|
7690
7656
|
export namespace HomeyAPIV3Local.ManagerCron {
|
|
7691
7657
|
|
|
7692
7658
|
export class Cronjob {
|
|
@@ -7703,6 +7669,8 @@
|
|
|
7703
7669
|
|
|
7704
7670
|
|
|
7705
7671
|
|
|
7672
|
+
|
|
7673
|
+
|
|
7706
7674
|
export namespace HomeyAPIV3Local.ManagerDashboards {
|
|
7707
7675
|
|
|
7708
7676
|
export class Dashboard {
|
|
@@ -7727,6 +7695,8 @@
|
|
|
7727
7695
|
|
|
7728
7696
|
|
|
7729
7697
|
|
|
7698
|
+
|
|
7699
|
+
|
|
7730
7700
|
export namespace HomeyAPIV3Local.ManagerDevices {
|
|
7731
7701
|
|
|
7732
7702
|
export class Capability {
|
|
@@ -7759,6 +7729,10 @@
|
|
|
7759
7729
|
|
|
7760
7730
|
|
|
7761
7731
|
|
|
7732
|
+
|
|
7733
|
+
|
|
7734
|
+
|
|
7735
|
+
|
|
7762
7736
|
export namespace HomeyAPIV3Local.ManagerDiscovery {
|
|
7763
7737
|
|
|
7764
7738
|
export class DiscoveryStrategyMAC {
|
|
@@ -7795,6 +7769,12 @@
|
|
|
7795
7769
|
|
|
7796
7770
|
|
|
7797
7771
|
|
|
7772
|
+
|
|
7773
|
+
|
|
7774
|
+
|
|
7775
|
+
|
|
7776
|
+
|
|
7777
|
+
|
|
7798
7778
|
export namespace HomeyAPIV3Local.ManagerDrivers {
|
|
7799
7779
|
|
|
7800
7780
|
export class Driver {
|
|
@@ -7825,8 +7805,22 @@
|
|
|
7825
7805
|
|
|
7826
7806
|
|
|
7827
7807
|
|
|
7808
|
+
|
|
7809
|
+
|
|
7810
|
+
|
|
7811
|
+
|
|
7828
7812
|
export namespace HomeyAPIV3Local.ManagerExperiments {
|
|
7829
7813
|
|
|
7814
|
+
export class ExperimentHomeKit {
|
|
7815
|
+
|
|
7816
|
+
|
|
7817
|
+
|
|
7818
|
+
id: string;
|
|
7819
|
+
|
|
7820
|
+
|
|
7821
|
+
|
|
7822
|
+
}
|
|
7823
|
+
|
|
7830
7824
|
export class ExperimentPowerUser {
|
|
7831
7825
|
|
|
7832
7826
|
|
|
@@ -7861,6 +7855,14 @@
|
|
|
7861
7855
|
|
|
7862
7856
|
|
|
7863
7857
|
|
|
7858
|
+
|
|
7859
|
+
|
|
7860
|
+
|
|
7861
|
+
|
|
7862
|
+
|
|
7863
|
+
|
|
7864
|
+
|
|
7865
|
+
|
|
7864
7866
|
export namespace HomeyAPIV3Local.ManagerFlow {
|
|
7865
7867
|
|
|
7866
7868
|
export class AdvancedFlow {
|
|
@@ -7925,6 +7927,18 @@
|
|
|
7925
7927
|
|
|
7926
7928
|
|
|
7927
7929
|
|
|
7930
|
+
|
|
7931
|
+
|
|
7932
|
+
|
|
7933
|
+
|
|
7934
|
+
|
|
7935
|
+
|
|
7936
|
+
|
|
7937
|
+
|
|
7938
|
+
|
|
7939
|
+
|
|
7940
|
+
|
|
7941
|
+
|
|
7928
7942
|
export namespace HomeyAPIV3Local.ManagerFlowToken {
|
|
7929
7943
|
|
|
7930
7944
|
export class FlowToken {
|
|
@@ -7947,6 +7961,8 @@
|
|
|
7947
7961
|
|
|
7948
7962
|
|
|
7949
7963
|
|
|
7964
|
+
|
|
7965
|
+
|
|
7950
7966
|
export namespace HomeyAPIV3Local.ManagerIcons {
|
|
7951
7967
|
|
|
7952
7968
|
export class Icon {
|
|
@@ -7963,6 +7979,8 @@
|
|
|
7963
7979
|
|
|
7964
7980
|
|
|
7965
7981
|
|
|
7982
|
+
|
|
7983
|
+
|
|
7966
7984
|
export namespace HomeyAPIV3Local.ManagerImages {
|
|
7967
7985
|
|
|
7968
7986
|
export class Image {
|
|
@@ -7979,6 +7997,8 @@
|
|
|
7979
7997
|
|
|
7980
7998
|
|
|
7981
7999
|
|
|
8000
|
+
|
|
8001
|
+
|
|
7982
8002
|
export namespace HomeyAPIV3Local.ManagerInsights {
|
|
7983
8003
|
|
|
7984
8004
|
export class Log {
|
|
@@ -8007,6 +8027,10 @@
|
|
|
8007
8027
|
|
|
8008
8028
|
|
|
8009
8029
|
|
|
8030
|
+
|
|
8031
|
+
|
|
8032
|
+
|
|
8033
|
+
|
|
8010
8034
|
export namespace HomeyAPIV3Local.ManagerLogic {
|
|
8011
8035
|
|
|
8012
8036
|
export class Variable {
|
|
@@ -8031,6 +8055,8 @@
|
|
|
8031
8055
|
|
|
8032
8056
|
|
|
8033
8057
|
|
|
8058
|
+
|
|
8059
|
+
|
|
8034
8060
|
export namespace HomeyAPIV3Local.ManagerNotifications {
|
|
8035
8061
|
|
|
8036
8062
|
export class Notification {
|
|
@@ -8057,6 +8083,8 @@
|
|
|
8057
8083
|
|
|
8058
8084
|
|
|
8059
8085
|
|
|
8086
|
+
|
|
8087
|
+
|
|
8060
8088
|
export namespace HomeyAPIV3Local.ManagerRF {
|
|
8061
8089
|
|
|
8062
8090
|
export class Signal {
|
|
@@ -8079,6 +8107,8 @@
|
|
|
8079
8107
|
|
|
8080
8108
|
|
|
8081
8109
|
|
|
8110
|
+
|
|
8111
|
+
|
|
8082
8112
|
export namespace HomeyAPIV3Local.ManagerSessions {
|
|
8083
8113
|
|
|
8084
8114
|
export class Session {
|
|
@@ -8107,6 +8137,8 @@
|
|
|
8107
8137
|
|
|
8108
8138
|
|
|
8109
8139
|
|
|
8140
|
+
|
|
8141
|
+
|
|
8110
8142
|
export namespace HomeyAPIV3Local.ManagerUsers {
|
|
8111
8143
|
|
|
8112
8144
|
export class User {
|
|
@@ -8119,7 +8151,9 @@
|
|
|
8119
8151
|
|
|
8120
8152
|
}
|
|
8121
8153
|
|
|
8122
|
-
}
|
|
8154
|
+
}
|
|
8155
|
+
|
|
8156
|
+
|
|
8123
8157
|
|
|
8124
8158
|
|
|
8125
8159
|
|
|
@@ -8295,28 +8329,6 @@
|
|
|
8295
8329
|
|
|
8296
8330
|
|
|
8297
8331
|
|
|
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
8332
|
|
|
8321
8333
|
|
|
8322
8334
|
|
|
@@ -8349,11 +8361,19 @@
|
|
|
8349
8361
|
|
|
8350
8362
|
|
|
8351
8363
|
|
|
8364
|
+
export namespace HomeyAPIV3Local.ManagerZones {
|
|
8365
|
+
|
|
8366
|
+
export class Zone {
|
|
8367
|
+
|
|
8352
8368
|
|
|
8353
|
-
|
|
8369
|
+
|
|
8370
|
+
id: string;
|
|
8371
|
+
|
|
8354
8372
|
|
|
8355
|
-
|
|
8373
|
+
|
|
8374
|
+
}
|
|
8356
8375
|
|
|
8376
|
+
}
|
|
8357
8377
|
|
|
8358
8378
|
|
|
8359
8379
|
|
|
@@ -16666,6 +16686,25 @@
|
|
|
16666
16686
|
|
|
16667
16687
|
|
|
16668
16688
|
|
|
16689
|
+
opts: {
|
|
16690
|
+
|
|
16691
|
+
|
|
16692
|
+
id: string,
|
|
16693
|
+
|
|
16694
|
+
|
|
16695
|
+
},
|
|
16696
|
+
|
|
16697
|
+
|
|
16698
|
+
|
|
16699
|
+
|
|
16700
|
+
):
|
|
16701
|
+
Promise<any>;
|
|
16702
|
+
|
|
16703
|
+
getAppUsage(
|
|
16704
|
+
|
|
16705
|
+
|
|
16706
|
+
|
|
16707
|
+
|
|
16669
16708
|
opts: {
|
|
16670
16709
|
|
|
16671
16710
|
|
|
@@ -16824,6 +16863,29 @@
|
|
|
16824
16863
|
|
|
16825
16864
|
getState(
|
|
16826
16865
|
|
|
16866
|
+
):
|
|
16867
|
+
Promise<any>;
|
|
16868
|
+
|
|
16869
|
+
runCommand(
|
|
16870
|
+
|
|
16871
|
+
|
|
16872
|
+
|
|
16873
|
+
|
|
16874
|
+
opts: {
|
|
16875
|
+
|
|
16876
|
+
|
|
16877
|
+
command: string,
|
|
16878
|
+
|
|
16879
|
+
|
|
16880
|
+
|
|
16881
|
+
opts: object,
|
|
16882
|
+
|
|
16883
|
+
|
|
16884
|
+
},
|
|
16885
|
+
|
|
16886
|
+
|
|
16887
|
+
|
|
16888
|
+
|
|
16827
16889
|
):
|
|
16828
16890
|
Promise<any>;
|
|
16829
16891
|
|
|
@@ -16932,6 +16994,29 @@
|
|
|
16932
16994
|
|
|
16933
16995
|
|
|
16934
16996
|
|
|
16997
|
+
):
|
|
16998
|
+
Promise<any>;
|
|
16999
|
+
|
|
17000
|
+
setDebugLogging(
|
|
17001
|
+
|
|
17002
|
+
|
|
17003
|
+
|
|
17004
|
+
|
|
17005
|
+
opts: {
|
|
17006
|
+
|
|
17007
|
+
|
|
17008
|
+
peripheral: string,
|
|
17009
|
+
|
|
17010
|
+
|
|
17011
|
+
|
|
17012
|
+
enabled: boolean,
|
|
17013
|
+
|
|
17014
|
+
|
|
17015
|
+
},
|
|
17016
|
+
|
|
17017
|
+
|
|
17018
|
+
|
|
17019
|
+
|
|
16935
17020
|
):
|
|
16936
17021
|
Promise<any>;
|
|
16937
17022
|
|
|
@@ -17658,7 +17743,7 @@
|
|
|
17658
17743
|
|
|
17659
17744
|
|
|
17660
17745
|
|
|
17661
|
-
data:
|
|
17746
|
+
data: *,
|
|
17662
17747
|
|
|
17663
17748
|
|
|
17664
17749
|
},
|
|
@@ -17685,7 +17770,7 @@
|
|
|
17685
17770
|
|
|
17686
17771
|
|
|
17687
17772
|
|
|
17688
|
-
data:
|
|
17773
|
+
data: *,
|
|
17689
17774
|
|
|
17690
17775
|
|
|
17691
17776
|
},
|
|
@@ -18593,6 +18678,44 @@
|
|
|
18593
18678
|
):
|
|
18594
18679
|
Promise<HomeyAPIV3Local.ManagerFlowToken.FlowToken>;
|
|
18595
18680
|
|
|
18681
|
+
getFlowToken(
|
|
18682
|
+
|
|
18683
|
+
|
|
18684
|
+
|
|
18685
|
+
|
|
18686
|
+
opts: {
|
|
18687
|
+
|
|
18688
|
+
|
|
18689
|
+
id: string,
|
|
18690
|
+
|
|
18691
|
+
|
|
18692
|
+
},
|
|
18693
|
+
|
|
18694
|
+
|
|
18695
|
+
|
|
18696
|
+
|
|
18697
|
+
):
|
|
18698
|
+
Promise<HomeyAPIV3Local.ManagerFlowToken.FlowToken>;
|
|
18699
|
+
|
|
18700
|
+
getFlowTokenValue(
|
|
18701
|
+
|
|
18702
|
+
|
|
18703
|
+
|
|
18704
|
+
|
|
18705
|
+
opts: {
|
|
18706
|
+
|
|
18707
|
+
|
|
18708
|
+
id: string,
|
|
18709
|
+
|
|
18710
|
+
|
|
18711
|
+
},
|
|
18712
|
+
|
|
18713
|
+
|
|
18714
|
+
|
|
18715
|
+
|
|
18716
|
+
):
|
|
18717
|
+
Promise<any>;
|
|
18718
|
+
|
|
18596
18719
|
isConnected(
|
|
18597
18720
|
|
|
18598
18721
|
):
|
|
@@ -19103,6 +19226,25 @@
|
|
|
19103
19226
|
):
|
|
19104
19227
|
Promise<any>;
|
|
19105
19228
|
|
|
19229
|
+
getVariable(
|
|
19230
|
+
|
|
19231
|
+
|
|
19232
|
+
|
|
19233
|
+
|
|
19234
|
+
opts: {
|
|
19235
|
+
|
|
19236
|
+
|
|
19237
|
+
id: string,
|
|
19238
|
+
|
|
19239
|
+
|
|
19240
|
+
},
|
|
19241
|
+
|
|
19242
|
+
|
|
19243
|
+
|
|
19244
|
+
|
|
19245
|
+
):
|
|
19246
|
+
Promise<HomeyAPIV3Local.ManagerLogic.Variable>;
|
|
19247
|
+
|
|
19106
19248
|
getVariables(
|
|
19107
19249
|
|
|
19108
19250
|
):
|
|
@@ -19448,6 +19590,25 @@
|
|
|
19448
19590
|
|
|
19449
19591
|
|
|
19450
19592
|
|
|
19593
|
+
):
|
|
19594
|
+
Promise<any>;
|
|
19595
|
+
|
|
19596
|
+
getPresent(
|
|
19597
|
+
|
|
19598
|
+
|
|
19599
|
+
|
|
19600
|
+
|
|
19601
|
+
opts: {
|
|
19602
|
+
|
|
19603
|
+
|
|
19604
|
+
id: string,
|
|
19605
|
+
|
|
19606
|
+
|
|
19607
|
+
},
|
|
19608
|
+
|
|
19609
|
+
|
|
19610
|
+
|
|
19611
|
+
|
|
19451
19612
|
):
|
|
19452
19613
|
Promise<any>;
|
|
19453
19614
|
|
|
@@ -19500,6 +19661,25 @@
|
|
|
19500
19661
|
|
|
19501
19662
|
|
|
19502
19663
|
|
|
19664
|
+
):
|
|
19665
|
+
Promise<any>;
|
|
19666
|
+
|
|
19667
|
+
getAsleep(
|
|
19668
|
+
|
|
19669
|
+
|
|
19670
|
+
|
|
19671
|
+
|
|
19672
|
+
opts: {
|
|
19673
|
+
|
|
19674
|
+
|
|
19675
|
+
id: string,
|
|
19676
|
+
|
|
19677
|
+
|
|
19678
|
+
},
|
|
19679
|
+
|
|
19680
|
+
|
|
19681
|
+
|
|
19682
|
+
|
|
19503
19683
|
):
|
|
19504
19684
|
Promise<any>;
|
|
19505
19685
|
|
|
@@ -20539,6 +20719,25 @@
|
|
|
20539
20719
|
|
|
20540
20720
|
getZones(
|
|
20541
20721
|
|
|
20722
|
+
):
|
|
20723
|
+
Promise<HomeyAPIV3Local.ManagerZones.Zone>;
|
|
20724
|
+
|
|
20725
|
+
getZone(
|
|
20726
|
+
|
|
20727
|
+
|
|
20728
|
+
|
|
20729
|
+
|
|
20730
|
+
opts: {
|
|
20731
|
+
|
|
20732
|
+
|
|
20733
|
+
id: string,
|
|
20734
|
+
|
|
20735
|
+
|
|
20736
|
+
},
|
|
20737
|
+
|
|
20738
|
+
|
|
20739
|
+
|
|
20740
|
+
|
|
20542
20741
|
):
|
|
20543
20742
|
Promise<HomeyAPIV3Local.ManagerZones.Zone>;
|
|
20544
20743
|
|
|
@@ -20744,6 +20943,48 @@
|
|
|
20744
20943
|
|
|
20745
20944
|
|
|
20746
20945
|
|
|
20946
|
+
export namespace HomeyAPIV3.ManagerDevices.Device {
|
|
20947
|
+
|
|
20948
|
+
export class DeviceCapability {
|
|
20949
|
+
|
|
20950
|
+
|
|
20951
|
+
|
|
20952
|
+
value: boolean | number | string | null;
|
|
20953
|
+
|
|
20954
|
+
lastChanged: Date | null;
|
|
20955
|
+
|
|
20956
|
+
|
|
20957
|
+
|
|
20958
|
+
destroy(
|
|
20959
|
+
|
|
20960
|
+
|
|
20961
|
+
|
|
20962
|
+
|
|
20963
|
+
|
|
20964
|
+
):
|
|
20965
|
+
any;
|
|
20966
|
+
|
|
20967
|
+
setValue(
|
|
20968
|
+
|
|
20969
|
+
|
|
20970
|
+
|
|
20971
|
+
|
|
20972
|
+
value: boolean | number | string,
|
|
20973
|
+
|
|
20974
|
+
|
|
20975
|
+
|
|
20976
|
+
opts: object,
|
|
20977
|
+
|
|
20978
|
+
|
|
20979
|
+
|
|
20980
|
+
|
|
20981
|
+
):
|
|
20982
|
+
Promise<any>;
|
|
20983
|
+
|
|
20984
|
+
}
|
|
20985
|
+
|
|
20986
|
+
}
|
|
20987
|
+
|
|
20747
20988
|
|
|
20748
20989
|
|
|
20749
20990
|
|