homey-api 3.6.6 → 3.6.8
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.
|
@@ -330,6 +330,40 @@
|
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
},
|
|
333
|
+
"getAppSettings": {
|
|
334
|
+
"path": "/app/{appId}/settings",
|
|
335
|
+
"method": "get",
|
|
336
|
+
"parameters": {
|
|
337
|
+
"appId": {
|
|
338
|
+
"in": "path",
|
|
339
|
+
"type": "string",
|
|
340
|
+
"required": true
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"updateAppSettings": {
|
|
345
|
+
"path": "/app/{appId}/settings",
|
|
346
|
+
"method": "put",
|
|
347
|
+
"parameters": {
|
|
348
|
+
"appId": {
|
|
349
|
+
"in": "path",
|
|
350
|
+
"type": "string",
|
|
351
|
+
"required": true
|
|
352
|
+
},
|
|
353
|
+
"sendEmailCrash": {
|
|
354
|
+
"type": "boolean",
|
|
355
|
+
"in": "body"
|
|
356
|
+
},
|
|
357
|
+
"sendEmailSuggestion": {
|
|
358
|
+
"type": "boolean",
|
|
359
|
+
"in": "body"
|
|
360
|
+
},
|
|
361
|
+
"sendEmailThanks": {
|
|
362
|
+
"type": "boolean",
|
|
363
|
+
"in": "body"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
333
367
|
"getAppChangelog": {
|
|
334
368
|
"path": "/app/{appId}/changelog",
|
|
335
369
|
"method": "get",
|
|
@@ -820,6 +854,25 @@
|
|
|
820
854
|
}
|
|
821
855
|
}
|
|
822
856
|
},
|
|
857
|
+
"getAppSuggestions": {
|
|
858
|
+
"path": "/app/{appId}/suggestion",
|
|
859
|
+
"method": "get",
|
|
860
|
+
"parameters": {
|
|
861
|
+
"appId": {
|
|
862
|
+
"in": "path",
|
|
863
|
+
"type": "string",
|
|
864
|
+
"required": true
|
|
865
|
+
},
|
|
866
|
+
"offset": {
|
|
867
|
+
"in": "query",
|
|
868
|
+
"type": "number"
|
|
869
|
+
},
|
|
870
|
+
"length": {
|
|
871
|
+
"in": "query",
|
|
872
|
+
"type": "number"
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
},
|
|
823
876
|
"createAppSuggestion": {
|
|
824
877
|
"path": "/app/{appId}/suggestion",
|
|
825
878
|
"method": "post",
|
|
@@ -4555,6 +4555,9 @@
|
|
|
4555
4555
|
"number",
|
|
4556
4556
|
"string"
|
|
4557
4557
|
]
|
|
4558
|
+
},
|
|
4559
|
+
"transparent": {
|
|
4560
|
+
"type": "boolean"
|
|
4558
4561
|
}
|
|
4559
4562
|
},
|
|
4560
4563
|
"x-realtime-bindings": {
|
|
@@ -4564,9 +4567,106 @@
|
|
|
4564
4567
|
"delete": "appwidget.delete"
|
|
4565
4568
|
}
|
|
4566
4569
|
}
|
|
4570
|
+
},
|
|
4571
|
+
"WidgetStore": {
|
|
4572
|
+
"id": "widgetstore",
|
|
4573
|
+
"type": "id",
|
|
4574
|
+
"schema": {
|
|
4575
|
+
"type": "object",
|
|
4576
|
+
"additionalProperties": false,
|
|
4577
|
+
"properties": {
|
|
4578
|
+
"id": {
|
|
4579
|
+
"type": "string",
|
|
4580
|
+
"format": "uuid"
|
|
4581
|
+
},
|
|
4582
|
+
"ownerUri": {
|
|
4583
|
+
"type": "string"
|
|
4584
|
+
},
|
|
4585
|
+
"state": {
|
|
4586
|
+
"type": "object"
|
|
4587
|
+
}
|
|
4588
|
+
},
|
|
4589
|
+
"x-realtime-bindings": {
|
|
4590
|
+
"read": "getWidgetStore",
|
|
4591
|
+
"create": "widgetstore.create",
|
|
4592
|
+
"update": "widgetstore.update",
|
|
4593
|
+
"delete": "widgetstore.delete"
|
|
4594
|
+
}
|
|
4595
|
+
}
|
|
4567
4596
|
}
|
|
4568
4597
|
},
|
|
4569
4598
|
"operations": {
|
|
4599
|
+
"setWidgetStoreState": {
|
|
4600
|
+
"method": "POST",
|
|
4601
|
+
"path": "/widgetstore/:id/state",
|
|
4602
|
+
"private": false,
|
|
4603
|
+
"scopes": [
|
|
4604
|
+
"homey.dashboard.readonly"
|
|
4605
|
+
],
|
|
4606
|
+
"parameters": {
|
|
4607
|
+
"id": {
|
|
4608
|
+
"in": "path",
|
|
4609
|
+
"required": true,
|
|
4610
|
+
"type": "string"
|
|
4611
|
+
},
|
|
4612
|
+
"replace": {
|
|
4613
|
+
"in": "body",
|
|
4614
|
+
"type": "boolean"
|
|
4615
|
+
},
|
|
4616
|
+
"state": {
|
|
4617
|
+
"in": "body",
|
|
4618
|
+
"type": "object",
|
|
4619
|
+
"required": true
|
|
4620
|
+
}
|
|
4621
|
+
}
|
|
4622
|
+
},
|
|
4623
|
+
"getWidgetStoreState": {
|
|
4624
|
+
"method": "GET",
|
|
4625
|
+
"path": "/widgetstore/:id/state",
|
|
4626
|
+
"private": false,
|
|
4627
|
+
"scopes": [
|
|
4628
|
+
"homey.dashboard.readonly"
|
|
4629
|
+
],
|
|
4630
|
+
"parameters": {
|
|
4631
|
+
"id": {
|
|
4632
|
+
"in": "path",
|
|
4633
|
+
"required": true,
|
|
4634
|
+
"type": "string"
|
|
4635
|
+
}
|
|
4636
|
+
}
|
|
4637
|
+
},
|
|
4638
|
+
"getWidgetStore": {
|
|
4639
|
+
"method": "GET",
|
|
4640
|
+
"path": "/widgetstore/:id",
|
|
4641
|
+
"private": false,
|
|
4642
|
+
"scopes": [
|
|
4643
|
+
"homey.dashboard.readonly"
|
|
4644
|
+
],
|
|
4645
|
+
"crud": {
|
|
4646
|
+
"type": "getOne",
|
|
4647
|
+
"item": "WidgetStore"
|
|
4648
|
+
},
|
|
4649
|
+
"parameters": {
|
|
4650
|
+
"id": {
|
|
4651
|
+
"in": "path",
|
|
4652
|
+
"required": true,
|
|
4653
|
+
"type": "string"
|
|
4654
|
+
}
|
|
4655
|
+
}
|
|
4656
|
+
},
|
|
4657
|
+
"getWidgetStores": {
|
|
4658
|
+
"method": "GET",
|
|
4659
|
+
"path": "/widgetstore",
|
|
4660
|
+
"private": false,
|
|
4661
|
+
"scopes": [
|
|
4662
|
+
"homey.dashboard.readonly"
|
|
4663
|
+
],
|
|
4664
|
+
"crud": {
|
|
4665
|
+
"type": "getAll",
|
|
4666
|
+
"item": "WidgetStore"
|
|
4667
|
+
},
|
|
4668
|
+
"parameters": {}
|
|
4669
|
+
},
|
|
4570
4670
|
"getAppWidgetAutocomplete": {
|
|
4571
4671
|
"method": "GET",
|
|
4572
4672
|
"path": "/appwidget/:id/autocomplete",
|
|
@@ -816,6 +816,17 @@
|
|
|
816
816
|
}
|
|
817
817
|
}
|
|
818
818
|
}
|
|
819
|
+
},
|
|
820
|
+
"WidgetStore": {
|
|
821
|
+
"id": "widgetstore",
|
|
822
|
+
"schema": {
|
|
823
|
+
"type": "object",
|
|
824
|
+
"properties": {
|
|
825
|
+
"id": {
|
|
826
|
+
"type": "string"
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
}
|
|
819
830
|
}
|
|
820
831
|
},
|
|
821
832
|
"operations": {
|
|
@@ -955,11 +966,32 @@
|
|
|
955
966
|
},
|
|
956
967
|
"parameters": {}
|
|
957
968
|
},
|
|
969
|
+
"getAppWidget": {
|
|
970
|
+
"method": "get",
|
|
971
|
+
"path": "/appwidget/:id",
|
|
972
|
+
"private": false,
|
|
973
|
+
"scopes": [
|
|
974
|
+
"homey.dashboard.readonly"
|
|
975
|
+
],
|
|
976
|
+
"crud": {
|
|
977
|
+
"type": "getOne",
|
|
978
|
+
"item": "AppWidget"
|
|
979
|
+
},
|
|
980
|
+
"parameters": {
|
|
981
|
+
"id": {
|
|
982
|
+
"in": "path",
|
|
983
|
+
"type": "string",
|
|
984
|
+
"required": true
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
},
|
|
958
988
|
"getAppWidgetAutocomplete": {
|
|
959
989
|
"method": "get",
|
|
960
990
|
"path": "/appwidget/:id/autocomplete",
|
|
961
991
|
"private": false,
|
|
962
|
-
"scopes": [
|
|
992
|
+
"scopes": [
|
|
993
|
+
"homey.dashboard.readonly"
|
|
994
|
+
],
|
|
963
995
|
"parameters": {
|
|
964
996
|
"id": {
|
|
965
997
|
"in": "path",
|
|
@@ -981,6 +1013,77 @@
|
|
|
981
1013
|
"type": "object"
|
|
982
1014
|
}
|
|
983
1015
|
}
|
|
1016
|
+
},
|
|
1017
|
+
"getWidgetStores": {
|
|
1018
|
+
"method": "get",
|
|
1019
|
+
"path": "/widgetstore",
|
|
1020
|
+
"private": false,
|
|
1021
|
+
"scopes": [
|
|
1022
|
+
"homey.dashboard.readonly"
|
|
1023
|
+
],
|
|
1024
|
+
"crud": {
|
|
1025
|
+
"type": "getAll",
|
|
1026
|
+
"item": "WidgetStore"
|
|
1027
|
+
},
|
|
1028
|
+
"parameters": {}
|
|
1029
|
+
},
|
|
1030
|
+
"getWidgetStore": {
|
|
1031
|
+
"method": "get",
|
|
1032
|
+
"path": "/widgetstore/:id",
|
|
1033
|
+
"private": false,
|
|
1034
|
+
"scopes": [
|
|
1035
|
+
"homey.dashboard.readonly"
|
|
1036
|
+
],
|
|
1037
|
+
"crud": {
|
|
1038
|
+
"type": "getOne",
|
|
1039
|
+
"item": "WidgetStore"
|
|
1040
|
+
},
|
|
1041
|
+
"parameters": {
|
|
1042
|
+
"id": {
|
|
1043
|
+
"in": "path",
|
|
1044
|
+
"type": "string",
|
|
1045
|
+
"required": true
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
},
|
|
1049
|
+
"getWidgetStoreState": {
|
|
1050
|
+
"method": "get",
|
|
1051
|
+
"path": "/widgetstore/:id/state",
|
|
1052
|
+
"private": false,
|
|
1053
|
+
"scopes": [
|
|
1054
|
+
"homey.dashboard.readonly"
|
|
1055
|
+
],
|
|
1056
|
+
"parameters": {
|
|
1057
|
+
"id": {
|
|
1058
|
+
"in": "path",
|
|
1059
|
+
"type": "string",
|
|
1060
|
+
"required": true
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
"setWidgetStoreState": {
|
|
1065
|
+
"method": "post",
|
|
1066
|
+
"path": "/widgetstore/:id/state",
|
|
1067
|
+
"private": false,
|
|
1068
|
+
"scopes": [
|
|
1069
|
+
"homey.dashboard.readonly"
|
|
1070
|
+
],
|
|
1071
|
+
"parameters": {
|
|
1072
|
+
"id": {
|
|
1073
|
+
"in": "path",
|
|
1074
|
+
"type": "string",
|
|
1075
|
+
"required": true
|
|
1076
|
+
},
|
|
1077
|
+
"state": {
|
|
1078
|
+
"in": "body",
|
|
1079
|
+
"type": "object",
|
|
1080
|
+
"required": true
|
|
1081
|
+
},
|
|
1082
|
+
"replace": {
|
|
1083
|
+
"in": "body",
|
|
1084
|
+
"type": "boolean"
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
984
1087
|
}
|
|
985
1088
|
}
|
|
986
1089
|
},
|
|
@@ -3278,6 +3381,29 @@
|
|
|
3278
3381
|
"required": true
|
|
3279
3382
|
}
|
|
3280
3383
|
}
|
|
3384
|
+
},
|
|
3385
|
+
"openCommissioningWindow": {
|
|
3386
|
+
"method": "post",
|
|
3387
|
+
"path": "/open-commissioning-window",
|
|
3388
|
+
"private": true,
|
|
3389
|
+
"scopes": [
|
|
3390
|
+
"homey.system"
|
|
3391
|
+
],
|
|
3392
|
+
"parameters": {
|
|
3393
|
+
"deviceId": {
|
|
3394
|
+
"in": "body",
|
|
3395
|
+
"type": "string",
|
|
3396
|
+
"required": true
|
|
3397
|
+
},
|
|
3398
|
+
"timeout": {
|
|
3399
|
+
"in": "body",
|
|
3400
|
+
"type": "number"
|
|
3401
|
+
},
|
|
3402
|
+
"revokeExisting": {
|
|
3403
|
+
"in": "body",
|
|
3404
|
+
"type": "boolean"
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
3281
3407
|
}
|
|
3282
3408
|
}
|
|
3283
3409
|
},
|
|
@@ -4237,19 +4363,14 @@
|
|
|
4237
4363
|
],
|
|
4238
4364
|
"parameters": {}
|
|
4239
4365
|
},
|
|
4240
|
-
"
|
|
4366
|
+
"apiReset": {
|
|
4241
4367
|
"method": "get",
|
|
4242
4368
|
"path": "/reset",
|
|
4243
4369
|
"private": true,
|
|
4244
4370
|
"scopes": [
|
|
4245
4371
|
"homey.system"
|
|
4246
4372
|
],
|
|
4247
|
-
"parameters": {
|
|
4248
|
-
"target": {
|
|
4249
|
-
"in": "query",
|
|
4250
|
-
"type": "string"
|
|
4251
|
-
}
|
|
4252
|
-
}
|
|
4373
|
+
"parameters": {}
|
|
4253
4374
|
},
|
|
4254
4375
|
"executeCommand": {
|
|
4255
4376
|
"method": "post",
|
|
@@ -4263,6 +4384,18 @@
|
|
|
4263
4384
|
"in": "body",
|
|
4264
4385
|
"type": "string",
|
|
4265
4386
|
"required": true
|
|
4387
|
+
},
|
|
4388
|
+
"timeout": {
|
|
4389
|
+
"in": "body",
|
|
4390
|
+
"type": "number"
|
|
4391
|
+
},
|
|
4392
|
+
"flush": {
|
|
4393
|
+
"in": "body",
|
|
4394
|
+
"type": "boolean"
|
|
4395
|
+
},
|
|
4396
|
+
"preventThreadSetup": {
|
|
4397
|
+
"in": "body",
|
|
4398
|
+
"type": "boolean"
|
|
4266
4399
|
}
|
|
4267
4400
|
}
|
|
4268
4401
|
},
|
|
@@ -145,6 +145,8 @@ export namespace HomeyAPIV2.ManagerDashboards {
|
|
|
145
145
|
settings: object;
|
|
146
146
|
|
|
147
147
|
height: number | string;
|
|
148
|
+
|
|
149
|
+
transparent: boolean;
|
|
148
150
|
}
|
|
149
151
|
|
|
150
152
|
export class Dashboard extends HomeyAPIV3Local.ManagerDashboards.Dashboard {
|
|
@@ -154,6 +156,15 @@ export namespace HomeyAPIV2.ManagerDashboards {
|
|
|
154
156
|
|
|
155
157
|
columns: Array<any>;
|
|
156
158
|
}
|
|
159
|
+
|
|
160
|
+
export class WidgetStore extends HomeyAPIV3Local.ManagerDashboards
|
|
161
|
+
.WidgetStore {
|
|
162
|
+
id: string;
|
|
163
|
+
|
|
164
|
+
ownerUri: string;
|
|
165
|
+
|
|
166
|
+
state: object;
|
|
167
|
+
}
|
|
157
168
|
}
|
|
158
169
|
|
|
159
170
|
export namespace HomeyAPIV2.ManagerDevices {
|
|
@@ -1141,6 +1152,10 @@ export namespace HomeyAPIV3Local.ManagerDashboards {
|
|
|
1141
1152
|
|
|
1142
1153
|
columns: Array<any>;
|
|
1143
1154
|
}
|
|
1155
|
+
|
|
1156
|
+
export class WidgetStore {
|
|
1157
|
+
id: string;
|
|
1158
|
+
}
|
|
1144
1159
|
}
|
|
1145
1160
|
|
|
1146
1161
|
export namespace HomeyAPIV3Local.ManagerDevices {
|
|
@@ -1735,6 +1750,18 @@ export class AthomAppsAPI {
|
|
|
1735
1750
|
|
|
1736
1751
|
deleteApp(opts: { appId: string }): Promise<any>;
|
|
1737
1752
|
|
|
1753
|
+
getAppSettings(opts: { appId: string }): Promise<any>;
|
|
1754
|
+
|
|
1755
|
+
updateAppSettings(opts: {
|
|
1756
|
+
appId: string;
|
|
1757
|
+
|
|
1758
|
+
sendEmailCrash?: boolean;
|
|
1759
|
+
|
|
1760
|
+
sendEmailSuggestion?: boolean;
|
|
1761
|
+
|
|
1762
|
+
sendEmailThanks?: boolean;
|
|
1763
|
+
}): Promise<any>;
|
|
1764
|
+
|
|
1738
1765
|
getAppChangelog(opts: { appId: string }): Promise<any>;
|
|
1739
1766
|
|
|
1740
1767
|
updateAppAuthor(opts: {
|
|
@@ -1905,6 +1932,14 @@ export class AthomAppsAPI {
|
|
|
1905
1932
|
mac?: Array<any>;
|
|
1906
1933
|
}): Promise<any>;
|
|
1907
1934
|
|
|
1935
|
+
getAppSuggestions(opts: {
|
|
1936
|
+
appId: string;
|
|
1937
|
+
|
|
1938
|
+
offset?: number;
|
|
1939
|
+
|
|
1940
|
+
length?: number;
|
|
1941
|
+
}): Promise<any>;
|
|
1942
|
+
|
|
1908
1943
|
createAppSuggestion(opts: {
|
|
1909
1944
|
appId: string;
|
|
1910
1945
|
|
|
@@ -2049,6 +2084,18 @@ export class AthomAppsAPI {
|
|
|
2049
2084
|
|
|
2050
2085
|
deleteApp(opts: { appId: string }): Promise<any>;
|
|
2051
2086
|
|
|
2087
|
+
getAppSettings(opts: { appId: string }): Promise<any>;
|
|
2088
|
+
|
|
2089
|
+
updateAppSettings(opts: {
|
|
2090
|
+
appId: string;
|
|
2091
|
+
|
|
2092
|
+
sendEmailCrash?: boolean;
|
|
2093
|
+
|
|
2094
|
+
sendEmailSuggestion?: boolean;
|
|
2095
|
+
|
|
2096
|
+
sendEmailThanks?: boolean;
|
|
2097
|
+
}): Promise<any>;
|
|
2098
|
+
|
|
2052
2099
|
getAppChangelog(opts: { appId: string }): Promise<any>;
|
|
2053
2100
|
|
|
2054
2101
|
updateAppAuthor(opts: {
|
|
@@ -2219,6 +2266,14 @@ export class AthomAppsAPI {
|
|
|
2219
2266
|
mac?: Array<any>;
|
|
2220
2267
|
}): Promise<any>;
|
|
2221
2268
|
|
|
2269
|
+
getAppSuggestions(opts: {
|
|
2270
|
+
appId: string;
|
|
2271
|
+
|
|
2272
|
+
offset?: number;
|
|
2273
|
+
|
|
2274
|
+
length?: number;
|
|
2275
|
+
}): Promise<any>;
|
|
2276
|
+
|
|
2222
2277
|
createAppSuggestion(opts: {
|
|
2223
2278
|
appId: string;
|
|
2224
2279
|
|
|
@@ -5047,6 +5102,18 @@ export class AthomAppsAPI {
|
|
|
5047
5102
|
|
|
5048
5103
|
deleteApp(opts: { appId: string }): Promise<any>;
|
|
5049
5104
|
|
|
5105
|
+
getAppSettings(opts: { appId: string }): Promise<any>;
|
|
5106
|
+
|
|
5107
|
+
updateAppSettings(opts: {
|
|
5108
|
+
appId: string;
|
|
5109
|
+
|
|
5110
|
+
sendEmailCrash?: boolean;
|
|
5111
|
+
|
|
5112
|
+
sendEmailSuggestion?: boolean;
|
|
5113
|
+
|
|
5114
|
+
sendEmailThanks?: boolean;
|
|
5115
|
+
}): Promise<any>;
|
|
5116
|
+
|
|
5050
5117
|
getAppChangelog(opts: { appId: string }): Promise<any>;
|
|
5051
5118
|
|
|
5052
5119
|
updateAppAuthor(opts: {
|
|
@@ -5217,6 +5284,14 @@ export class AthomAppsAPI {
|
|
|
5217
5284
|
mac?: Array<any>;
|
|
5218
5285
|
}): Promise<any>;
|
|
5219
5286
|
|
|
5287
|
+
getAppSuggestions(opts: {
|
|
5288
|
+
appId: string;
|
|
5289
|
+
|
|
5290
|
+
offset?: number;
|
|
5291
|
+
|
|
5292
|
+
length?: number;
|
|
5293
|
+
}): Promise<any>;
|
|
5294
|
+
|
|
5220
5295
|
createAppSuggestion(opts: {
|
|
5221
5296
|
appId: string;
|
|
5222
5297
|
|
|
@@ -5361,6 +5436,18 @@ export class AthomAppsAPI {
|
|
|
5361
5436
|
|
|
5362
5437
|
deleteApp(opts: { appId: string }): Promise<any>;
|
|
5363
5438
|
|
|
5439
|
+
getAppSettings(opts: { appId: string }): Promise<any>;
|
|
5440
|
+
|
|
5441
|
+
updateAppSettings(opts: {
|
|
5442
|
+
appId: string;
|
|
5443
|
+
|
|
5444
|
+
sendEmailCrash?: boolean;
|
|
5445
|
+
|
|
5446
|
+
sendEmailSuggestion?: boolean;
|
|
5447
|
+
|
|
5448
|
+
sendEmailThanks?: boolean;
|
|
5449
|
+
}): Promise<any>;
|
|
5450
|
+
|
|
5364
5451
|
getAppChangelog(opts: { appId: string }): Promise<any>;
|
|
5365
5452
|
|
|
5366
5453
|
updateAppAuthor(opts: {
|
|
@@ -5531,6 +5618,14 @@ export class AthomAppsAPI {
|
|
|
5531
5618
|
mac?: Array<any>;
|
|
5532
5619
|
}): Promise<any>;
|
|
5533
5620
|
|
|
5621
|
+
getAppSuggestions(opts: {
|
|
5622
|
+
appId: string;
|
|
5623
|
+
|
|
5624
|
+
offset?: number;
|
|
5625
|
+
|
|
5626
|
+
length?: number;
|
|
5627
|
+
}): Promise<any>;
|
|
5628
|
+
|
|
5534
5629
|
createAppSuggestion(opts: {
|
|
5535
5630
|
appId: string;
|
|
5536
5631
|
|
|
@@ -9868,6 +9963,10 @@ export namespace HomeyAPIV3Local {
|
|
|
9868
9963
|
[key: string]: HomeyAPIV3Local.ManagerDashboards.AppWidget;
|
|
9869
9964
|
}>;
|
|
9870
9965
|
|
|
9966
|
+
getAppWidget(opts: {
|
|
9967
|
+
id: string;
|
|
9968
|
+
}): Promise<HomeyAPIV3Local.ManagerDashboards.AppWidget>;
|
|
9969
|
+
|
|
9871
9970
|
getAppWidgetAutocomplete(opts: {
|
|
9872
9971
|
id: string;
|
|
9873
9972
|
|
|
@@ -9877,6 +9976,24 @@ export namespace HomeyAPIV3Local {
|
|
|
9877
9976
|
|
|
9878
9977
|
settings?: object;
|
|
9879
9978
|
}): Promise<any>;
|
|
9979
|
+
|
|
9980
|
+
getWidgetStores(): Promise<{
|
|
9981
|
+
[key: string]: HomeyAPIV3Local.ManagerDashboards.WidgetStore;
|
|
9982
|
+
}>;
|
|
9983
|
+
|
|
9984
|
+
getWidgetStore(opts: {
|
|
9985
|
+
id: string;
|
|
9986
|
+
}): Promise<HomeyAPIV3Local.ManagerDashboards.WidgetStore>;
|
|
9987
|
+
|
|
9988
|
+
getWidgetStoreState(opts: { id: string }): Promise<any>;
|
|
9989
|
+
|
|
9990
|
+
setWidgetStoreState(opts: {
|
|
9991
|
+
id: string;
|
|
9992
|
+
|
|
9993
|
+
state: object;
|
|
9994
|
+
|
|
9995
|
+
replace?: boolean;
|
|
9996
|
+
}): Promise<any>;
|
|
9880
9997
|
}
|
|
9881
9998
|
|
|
9882
9999
|
export class ManagerDatabase extends HomeyAPIV3.ManagerDatabase {
|
|
@@ -10457,6 +10574,14 @@ export namespace HomeyAPIV3Local {
|
|
|
10457
10574
|
makeDeviceApi(opts: { nodeId: string }): Promise<any>;
|
|
10458
10575
|
|
|
10459
10576
|
readBasicInformation(opts: { nodeId: string }): Promise<any>;
|
|
10577
|
+
|
|
10578
|
+
openCommissioningWindow(opts: {
|
|
10579
|
+
deviceId: string;
|
|
10580
|
+
|
|
10581
|
+
timeout?: number;
|
|
10582
|
+
|
|
10583
|
+
revokeExisting?: boolean;
|
|
10584
|
+
}): Promise<any>;
|
|
10460
10585
|
}
|
|
10461
10586
|
|
|
10462
10587
|
export class ManagerMobile extends HomeyAPIV3.ManagerMobile {
|
|
@@ -10664,9 +10789,17 @@ export namespace HomeyAPIV3Local {
|
|
|
10664
10789
|
|
|
10665
10790
|
getActiveDataset(): Promise<any>;
|
|
10666
10791
|
|
|
10667
|
-
|
|
10792
|
+
apiReset(): Promise<any>;
|
|
10793
|
+
|
|
10794
|
+
executeCommand(opts: {
|
|
10795
|
+
command: string;
|
|
10796
|
+
|
|
10797
|
+
timeout?: number;
|
|
10668
10798
|
|
|
10669
|
-
|
|
10799
|
+
flush?: boolean;
|
|
10800
|
+
|
|
10801
|
+
preventThreadSetup?: boolean;
|
|
10802
|
+
}): Promise<any>;
|
|
10670
10803
|
|
|
10671
10804
|
apiDisable(): Promise<any>;
|
|
10672
10805
|
|