homey-api 3.14.0 → 3.14.2
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/assets/specifications/HomeyAPIV3Cloud.json +1848 -896
- package/assets/specifications/HomeyAPIV3Local.json +1997 -1170
- package/assets/types/homey-api.d.ts +925 -7
- package/assets/types/homey-api.private.d.ts +710 -32
- package/lib/HomeyAPI/HomeyAPIV2/ManagerInsights.js +8 -8
- package/lib/HomeyAPI/HomeyAPIV3.js +81 -64
- package/package.json +1 -1
|
@@ -122,6 +122,10 @@ export namespace HomeyAPIV2.ManagerApps {
|
|
|
122
122
|
|
|
123
123
|
updateAvailable: object;
|
|
124
124
|
|
|
125
|
+
color: string;
|
|
126
|
+
|
|
127
|
+
crashedCount: number;
|
|
128
|
+
|
|
125
129
|
uri: string;
|
|
126
130
|
|
|
127
131
|
manager: HomeyAPIV3.Manager;
|
|
@@ -263,6 +267,12 @@ export namespace HomeyAPIV2.ManagerDevices {
|
|
|
263
267
|
|
|
264
268
|
note: string;
|
|
265
269
|
|
|
270
|
+
ownerUri: string;
|
|
271
|
+
|
|
272
|
+
warningMessage: string | null;
|
|
273
|
+
|
|
274
|
+
lastSeenAt: string | null;
|
|
275
|
+
|
|
266
276
|
uri: string;
|
|
267
277
|
|
|
268
278
|
manager: HomeyAPIV3.Manager;
|
|
@@ -299,6 +309,16 @@ export namespace HomeyAPIV2.ManagerDrivers {
|
|
|
299
309
|
|
|
300
310
|
connectivity: Array<any>;
|
|
301
311
|
|
|
312
|
+
ownerUri: string;
|
|
313
|
+
|
|
314
|
+
ownerName: string;
|
|
315
|
+
|
|
316
|
+
ownerIconObj: object;
|
|
317
|
+
|
|
318
|
+
name: string;
|
|
319
|
+
|
|
320
|
+
userPath: string | null;
|
|
321
|
+
|
|
302
322
|
manager: HomeyAPIV3.Manager;
|
|
303
323
|
|
|
304
324
|
homey: HomeyAPIV3;
|
|
@@ -404,6 +424,18 @@ export namespace HomeyAPIV2.ManagerFlow {
|
|
|
404
424
|
|
|
405
425
|
tokens: Array<any>;
|
|
406
426
|
|
|
427
|
+
ownerId: string;
|
|
428
|
+
|
|
429
|
+
ownerUri: string;
|
|
430
|
+
|
|
431
|
+
ownerName: string;
|
|
432
|
+
|
|
433
|
+
titleFormatted: string | null;
|
|
434
|
+
|
|
435
|
+
durationMin: number | null;
|
|
436
|
+
|
|
437
|
+
durationMax: number | null;
|
|
438
|
+
|
|
407
439
|
manager: HomeyAPIV3.Manager;
|
|
408
440
|
|
|
409
441
|
homey: HomeyAPIV3;
|
|
@@ -433,6 +465,14 @@ export namespace HomeyAPIV2.ManagerFlow {
|
|
|
433
465
|
|
|
434
466
|
highlight: boolean;
|
|
435
467
|
|
|
468
|
+
ownerId: string;
|
|
469
|
+
|
|
470
|
+
ownerUri: string;
|
|
471
|
+
|
|
472
|
+
ownerName: string;
|
|
473
|
+
|
|
474
|
+
titleFormatted: string | null;
|
|
475
|
+
|
|
436
476
|
manager: HomeyAPIV3.Manager;
|
|
437
477
|
|
|
438
478
|
homey: HomeyAPIV3;
|
|
@@ -464,6 +504,14 @@ export namespace HomeyAPIV2.ManagerFlow {
|
|
|
464
504
|
|
|
465
505
|
tokens: Array<any>;
|
|
466
506
|
|
|
507
|
+
ownerId: string;
|
|
508
|
+
|
|
509
|
+
ownerUri: string;
|
|
510
|
+
|
|
511
|
+
ownerName: string;
|
|
512
|
+
|
|
513
|
+
titleFormatted: string | null;
|
|
514
|
+
|
|
467
515
|
manager: HomeyAPIV3.Manager;
|
|
468
516
|
|
|
469
517
|
homey: HomeyAPIV3;
|
|
@@ -494,6 +542,14 @@ export namespace HomeyAPIV2.ManagerFlowToken {
|
|
|
494
542
|
|
|
495
543
|
uriObj: object;
|
|
496
544
|
|
|
545
|
+
ownerId: string;
|
|
546
|
+
|
|
547
|
+
ownerUri: string;
|
|
548
|
+
|
|
549
|
+
ownerName: string;
|
|
550
|
+
|
|
551
|
+
example: string | null;
|
|
552
|
+
|
|
497
553
|
manager: HomeyAPIV3.Manager;
|
|
498
554
|
|
|
499
555
|
homey: HomeyAPIV3;
|
|
@@ -532,6 +588,12 @@ export namespace HomeyAPIV2.ManagerInsights {
|
|
|
532
588
|
|
|
533
589
|
lastValue: number;
|
|
534
590
|
|
|
591
|
+
ownerUri: string;
|
|
592
|
+
|
|
593
|
+
ownerName: string;
|
|
594
|
+
|
|
595
|
+
ownerId: string;
|
|
596
|
+
|
|
535
597
|
manager: HomeyAPIV3.Manager;
|
|
536
598
|
|
|
537
599
|
homey: HomeyAPIV3;
|
|
@@ -545,6 +607,8 @@ export namespace HomeyAPIV2.ManagerLogic {
|
|
|
545
607
|
name: string;
|
|
546
608
|
|
|
547
609
|
type: string;
|
|
610
|
+
|
|
611
|
+
value: string | number | boolean;
|
|
548
612
|
}
|
|
549
613
|
}
|
|
550
614
|
|
|
@@ -586,6 +650,8 @@ export namespace HomeyAPIV2.ManagerNotifications {
|
|
|
586
650
|
roles: Array<any>;
|
|
587
651
|
|
|
588
652
|
meta: object;
|
|
653
|
+
|
|
654
|
+
ownerName: string;
|
|
589
655
|
}
|
|
590
656
|
}
|
|
591
657
|
|
|
@@ -644,6 +710,12 @@ export namespace HomeyAPIV2.ManagerUsers {
|
|
|
644
710
|
present: boolean;
|
|
645
711
|
|
|
646
712
|
asleep: boolean;
|
|
713
|
+
|
|
714
|
+
enabledUntil: string | null;
|
|
715
|
+
|
|
716
|
+
avatar: string | null;
|
|
717
|
+
|
|
718
|
+
inviteUrl: string | null;
|
|
647
719
|
}
|
|
648
720
|
}
|
|
649
721
|
|
|
@@ -661,6 +733,10 @@ export namespace HomeyAPIV2.ManagerZones {
|
|
|
661
733
|
|
|
662
734
|
icon: string;
|
|
663
735
|
|
|
736
|
+
activeOrigins: Array<any>;
|
|
737
|
+
|
|
738
|
+
activeLastUpdated: string | null;
|
|
739
|
+
|
|
664
740
|
uri: string;
|
|
665
741
|
|
|
666
742
|
manager: HomeyAPIV3.Manager;
|
|
@@ -673,6 +749,34 @@ export namespace HomeyAPIV3Cloud.ManagerApps {
|
|
|
673
749
|
export class App extends HomeyAPIV3.ManagerApps.App {
|
|
674
750
|
id: string;
|
|
675
751
|
|
|
752
|
+
name: string;
|
|
753
|
+
|
|
754
|
+
iconObj: object;
|
|
755
|
+
|
|
756
|
+
version: string;
|
|
757
|
+
|
|
758
|
+
channel: string;
|
|
759
|
+
|
|
760
|
+
origin: string;
|
|
761
|
+
|
|
762
|
+
author: object;
|
|
763
|
+
|
|
764
|
+
compatibility: string;
|
|
765
|
+
|
|
766
|
+
permissions: Array<any>;
|
|
767
|
+
|
|
768
|
+
color: string;
|
|
769
|
+
|
|
770
|
+
images: object;
|
|
771
|
+
|
|
772
|
+
state: string;
|
|
773
|
+
|
|
774
|
+
enabled: boolean;
|
|
775
|
+
|
|
776
|
+
crashed: boolean;
|
|
777
|
+
|
|
778
|
+
crashedMessage: string | null;
|
|
779
|
+
|
|
676
780
|
uri: string;
|
|
677
781
|
|
|
678
782
|
manager: HomeyAPIV3.Manager;
|
|
@@ -761,9 +865,63 @@ export namespace HomeyAPIV3Cloud.ManagerDevices {
|
|
|
761
865
|
export class Device extends HomeyAPIV3.ManagerDevices.Device {
|
|
762
866
|
id: string;
|
|
763
867
|
|
|
868
|
+
driverId: string;
|
|
869
|
+
|
|
870
|
+
ownerUri: string;
|
|
871
|
+
|
|
764
872
|
name: string;
|
|
765
873
|
|
|
766
|
-
note: string;
|
|
874
|
+
note: string | null;
|
|
875
|
+
|
|
876
|
+
zone: string;
|
|
877
|
+
|
|
878
|
+
data: object;
|
|
879
|
+
|
|
880
|
+
icon: string | null;
|
|
881
|
+
|
|
882
|
+
iconOverride: string | null;
|
|
883
|
+
|
|
884
|
+
iconObj: object | null;
|
|
885
|
+
|
|
886
|
+
class: string;
|
|
887
|
+
|
|
888
|
+
virtualClass: string | null;
|
|
889
|
+
|
|
890
|
+
capabilities: Array<any>;
|
|
891
|
+
|
|
892
|
+
capabilitiesObj: object;
|
|
893
|
+
|
|
894
|
+
settings: object;
|
|
895
|
+
|
|
896
|
+
settingsObj: boolean;
|
|
897
|
+
|
|
898
|
+
flags: Array<any>;
|
|
899
|
+
|
|
900
|
+
energy: object | null;
|
|
901
|
+
|
|
902
|
+
energyObj: object | null;
|
|
903
|
+
|
|
904
|
+
ui: object;
|
|
905
|
+
|
|
906
|
+
uiIndicator: string | null;
|
|
907
|
+
|
|
908
|
+
available: boolean;
|
|
909
|
+
|
|
910
|
+
unavailableMessage: string | null;
|
|
911
|
+
|
|
912
|
+
warningMessage: string | null;
|
|
913
|
+
|
|
914
|
+
ready: boolean;
|
|
915
|
+
|
|
916
|
+
repair: boolean | null;
|
|
917
|
+
|
|
918
|
+
unpair: boolean | null;
|
|
919
|
+
|
|
920
|
+
images: Array<any>;
|
|
921
|
+
|
|
922
|
+
color: string | null;
|
|
923
|
+
|
|
924
|
+
lastSeenAt: string | null;
|
|
767
925
|
|
|
768
926
|
uri: string;
|
|
769
927
|
|
|
@@ -809,7 +967,31 @@ export namespace HomeyAPIV3Cloud.ManagerDrivers {
|
|
|
809
967
|
export class Driver extends HomeyAPIV3.ManagerDrivers.Driver {
|
|
810
968
|
id: string;
|
|
811
969
|
|
|
812
|
-
|
|
970
|
+
ownerUri: string;
|
|
971
|
+
|
|
972
|
+
ownerName: string;
|
|
973
|
+
|
|
974
|
+
ownerIconObj: object;
|
|
975
|
+
|
|
976
|
+
name: string;
|
|
977
|
+
|
|
978
|
+
color: string;
|
|
979
|
+
|
|
980
|
+
class: string;
|
|
981
|
+
|
|
982
|
+
ready: boolean;
|
|
983
|
+
|
|
984
|
+
pair: boolean;
|
|
985
|
+
|
|
986
|
+
repair: boolean;
|
|
987
|
+
|
|
988
|
+
unpair: boolean;
|
|
989
|
+
|
|
990
|
+
userPath: string | null;
|
|
991
|
+
|
|
992
|
+
deprecated: boolean;
|
|
993
|
+
|
|
994
|
+
connectivity: Array<any>;
|
|
813
995
|
|
|
814
996
|
uri: string;
|
|
815
997
|
|
|
@@ -863,6 +1045,16 @@ export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
|
863
1045
|
export class AdvancedFlow extends HomeyAPIV3.ManagerFlow.AdvancedFlow {
|
|
864
1046
|
id: string;
|
|
865
1047
|
|
|
1048
|
+
name: string;
|
|
1049
|
+
|
|
1050
|
+
folder: string | null;
|
|
1051
|
+
|
|
1052
|
+
triggerable: boolean;
|
|
1053
|
+
|
|
1054
|
+
enabled: boolean;
|
|
1055
|
+
|
|
1056
|
+
cards: object;
|
|
1057
|
+
|
|
866
1058
|
uri: string;
|
|
867
1059
|
|
|
868
1060
|
manager: HomeyAPIV3.Manager;
|
|
@@ -879,6 +1071,20 @@ export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
|
879
1071
|
export class Flow extends HomeyAPIV3.ManagerFlow.Flow {
|
|
880
1072
|
id: string;
|
|
881
1073
|
|
|
1074
|
+
name: string;
|
|
1075
|
+
|
|
1076
|
+
folder: string | null;
|
|
1077
|
+
|
|
1078
|
+
triggerable: boolean;
|
|
1079
|
+
|
|
1080
|
+
enabled: boolean;
|
|
1081
|
+
|
|
1082
|
+
trigger: object;
|
|
1083
|
+
|
|
1084
|
+
conditions: Array<any>;
|
|
1085
|
+
|
|
1086
|
+
actions: Array<any>;
|
|
1087
|
+
|
|
882
1088
|
uri: string;
|
|
883
1089
|
|
|
884
1090
|
manager: HomeyAPIV3.Manager;
|
|
@@ -895,6 +1101,36 @@ export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
|
895
1101
|
export class FlowCardAction extends HomeyAPIV3.ManagerFlow.FlowCardAction {
|
|
896
1102
|
id: string;
|
|
897
1103
|
|
|
1104
|
+
ownerId: string;
|
|
1105
|
+
|
|
1106
|
+
ownerUri: string;
|
|
1107
|
+
|
|
1108
|
+
ownerName: string;
|
|
1109
|
+
|
|
1110
|
+
title: string;
|
|
1111
|
+
|
|
1112
|
+
titleFormatted: string | null;
|
|
1113
|
+
|
|
1114
|
+
hint: string | null;
|
|
1115
|
+
|
|
1116
|
+
args: Array<any> | null;
|
|
1117
|
+
|
|
1118
|
+
droptoken: Array<any> | null;
|
|
1119
|
+
|
|
1120
|
+
deprecated: boolean | null;
|
|
1121
|
+
|
|
1122
|
+
highlight: boolean | null;
|
|
1123
|
+
|
|
1124
|
+
duration: boolean;
|
|
1125
|
+
|
|
1126
|
+
durationMin: number | null;
|
|
1127
|
+
|
|
1128
|
+
durationMax: number | null;
|
|
1129
|
+
|
|
1130
|
+
tokens: Array<any> | null;
|
|
1131
|
+
|
|
1132
|
+
advanced: boolean;
|
|
1133
|
+
|
|
898
1134
|
uri: string;
|
|
899
1135
|
|
|
900
1136
|
manager: HomeyAPIV3.Manager;
|
|
@@ -910,6 +1146,26 @@ export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
|
910
1146
|
.FlowCardCondition {
|
|
911
1147
|
id: string;
|
|
912
1148
|
|
|
1149
|
+
ownerId: string;
|
|
1150
|
+
|
|
1151
|
+
ownerUri: string;
|
|
1152
|
+
|
|
1153
|
+
ownerName: string;
|
|
1154
|
+
|
|
1155
|
+
title: string;
|
|
1156
|
+
|
|
1157
|
+
titleFormatted: string | null;
|
|
1158
|
+
|
|
1159
|
+
hint: string | null;
|
|
1160
|
+
|
|
1161
|
+
args: Array<any> | null;
|
|
1162
|
+
|
|
1163
|
+
droptoken: Array<any> | null;
|
|
1164
|
+
|
|
1165
|
+
deprecated: boolean | null;
|
|
1166
|
+
|
|
1167
|
+
highlight: boolean | null;
|
|
1168
|
+
|
|
913
1169
|
uri: string;
|
|
914
1170
|
|
|
915
1171
|
manager: HomeyAPIV3.Manager;
|
|
@@ -924,6 +1180,28 @@ export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
|
924
1180
|
export class FlowCardTrigger extends HomeyAPIV3.ManagerFlow.FlowCardTrigger {
|
|
925
1181
|
id: string;
|
|
926
1182
|
|
|
1183
|
+
ownerId: string;
|
|
1184
|
+
|
|
1185
|
+
ownerUri: string;
|
|
1186
|
+
|
|
1187
|
+
ownerName: string;
|
|
1188
|
+
|
|
1189
|
+
title: string;
|
|
1190
|
+
|
|
1191
|
+
titleFormatted: string | null;
|
|
1192
|
+
|
|
1193
|
+
hint: string | null;
|
|
1194
|
+
|
|
1195
|
+
args: Array<any> | null;
|
|
1196
|
+
|
|
1197
|
+
droptoken: Array<any> | null;
|
|
1198
|
+
|
|
1199
|
+
deprecated: boolean | null;
|
|
1200
|
+
|
|
1201
|
+
highlight: boolean | null;
|
|
1202
|
+
|
|
1203
|
+
tokens: Array<any> | null;
|
|
1204
|
+
|
|
927
1205
|
uri: string;
|
|
928
1206
|
|
|
929
1207
|
manager: HomeyAPIV3.Manager;
|
|
@@ -937,6 +1215,10 @@ export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
|
937
1215
|
|
|
938
1216
|
export class FlowFolder {
|
|
939
1217
|
id: string;
|
|
1218
|
+
|
|
1219
|
+
name: string;
|
|
1220
|
+
|
|
1221
|
+
parent: string | null;
|
|
940
1222
|
}
|
|
941
1223
|
}
|
|
942
1224
|
|
|
@@ -944,6 +1226,18 @@ export namespace HomeyAPIV3Cloud.ManagerFlowToken {
|
|
|
944
1226
|
export class FlowToken extends HomeyAPIV3.ManagerFlowToken.FlowToken {
|
|
945
1227
|
id: string;
|
|
946
1228
|
|
|
1229
|
+
ownerId: string;
|
|
1230
|
+
|
|
1231
|
+
ownerUri: string;
|
|
1232
|
+
|
|
1233
|
+
ownerName: string;
|
|
1234
|
+
|
|
1235
|
+
type: string;
|
|
1236
|
+
|
|
1237
|
+
title: string;
|
|
1238
|
+
|
|
1239
|
+
example: string | null;
|
|
1240
|
+
|
|
947
1241
|
uri: string;
|
|
948
1242
|
|
|
949
1243
|
manager: HomeyAPIV3.Manager;
|
|
@@ -965,6 +1259,12 @@ export namespace HomeyAPIV3Cloud.ManagerIcons {
|
|
|
965
1259
|
export namespace HomeyAPIV3Cloud.ManagerImages {
|
|
966
1260
|
export class Image {
|
|
967
1261
|
id: string;
|
|
1262
|
+
|
|
1263
|
+
ownerUri: string;
|
|
1264
|
+
|
|
1265
|
+
url: string;
|
|
1266
|
+
|
|
1267
|
+
lastUpdated: string;
|
|
968
1268
|
}
|
|
969
1269
|
}
|
|
970
1270
|
|
|
@@ -972,6 +1272,26 @@ export namespace HomeyAPIV3Cloud.ManagerInsights {
|
|
|
972
1272
|
export class Log extends HomeyAPIV3.ManagerInsights.Log {
|
|
973
1273
|
id: string;
|
|
974
1274
|
|
|
1275
|
+
ownerUri: string;
|
|
1276
|
+
|
|
1277
|
+
ownerName: string;
|
|
1278
|
+
|
|
1279
|
+
ownerId: string;
|
|
1280
|
+
|
|
1281
|
+
type: string;
|
|
1282
|
+
|
|
1283
|
+
title: string;
|
|
1284
|
+
|
|
1285
|
+
titleTrue: string | null;
|
|
1286
|
+
|
|
1287
|
+
titleFalse: string | null;
|
|
1288
|
+
|
|
1289
|
+
units: string | null;
|
|
1290
|
+
|
|
1291
|
+
decimals: number | null;
|
|
1292
|
+
|
|
1293
|
+
lastValue: any | null;
|
|
1294
|
+
|
|
975
1295
|
uri: string;
|
|
976
1296
|
|
|
977
1297
|
manager: HomeyAPIV3.Manager;
|
|
@@ -995,6 +1315,8 @@ export namespace HomeyAPIV3Cloud.ManagerLogic {
|
|
|
995
1315
|
name: string;
|
|
996
1316
|
|
|
997
1317
|
type: string;
|
|
1318
|
+
|
|
1319
|
+
value: string | number | boolean;
|
|
998
1320
|
}
|
|
999
1321
|
}
|
|
1000
1322
|
|
|
@@ -1018,6 +1340,8 @@ export namespace HomeyAPIV3Cloud.ManagerNotifications {
|
|
|
1018
1340
|
|
|
1019
1341
|
ownerUri: string;
|
|
1020
1342
|
|
|
1343
|
+
ownerName: string;
|
|
1344
|
+
|
|
1021
1345
|
dateCreated: string;
|
|
1022
1346
|
|
|
1023
1347
|
excerpt: string;
|
|
@@ -1047,6 +1371,34 @@ export namespace HomeyAPIV3Cloud.ManagerSessions {
|
|
|
1047
1371
|
export namespace HomeyAPIV3Cloud.ManagerUsers {
|
|
1048
1372
|
export class User {
|
|
1049
1373
|
id: string;
|
|
1374
|
+
|
|
1375
|
+
name: string | null;
|
|
1376
|
+
|
|
1377
|
+
role: string;
|
|
1378
|
+
|
|
1379
|
+
properties: object;
|
|
1380
|
+
|
|
1381
|
+
athomId: string | null;
|
|
1382
|
+
|
|
1383
|
+
enabled: boolean;
|
|
1384
|
+
|
|
1385
|
+
enabledUntil: string | null;
|
|
1386
|
+
|
|
1387
|
+
present: boolean | null;
|
|
1388
|
+
|
|
1389
|
+
asleep: boolean | null;
|
|
1390
|
+
|
|
1391
|
+
avatar: string | null;
|
|
1392
|
+
|
|
1393
|
+
verified: boolean;
|
|
1394
|
+
|
|
1395
|
+
inviteUrl: string | null;
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
export namespace HomeyAPIV3Cloud.ManagerVideos {
|
|
1400
|
+
export class Video {
|
|
1401
|
+
id: string;
|
|
1050
1402
|
}
|
|
1051
1403
|
}
|
|
1052
1404
|
|
|
@@ -1120,6 +1472,18 @@ export namespace HomeyAPIV3Cloud.ManagerZones {
|
|
|
1120
1472
|
export class Zone extends HomeyAPIV3.ManagerZones.Zone {
|
|
1121
1473
|
id: string;
|
|
1122
1474
|
|
|
1475
|
+
name: string;
|
|
1476
|
+
|
|
1477
|
+
parent: string | null;
|
|
1478
|
+
|
|
1479
|
+
icon: string;
|
|
1480
|
+
|
|
1481
|
+
active: boolean;
|
|
1482
|
+
|
|
1483
|
+
activeOrigins: Array<any>;
|
|
1484
|
+
|
|
1485
|
+
activeLastUpdated: string | null;
|
|
1486
|
+
|
|
1123
1487
|
uri: string;
|
|
1124
1488
|
|
|
1125
1489
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1142,6 +1506,44 @@ export namespace HomeyAPIV3Local.ManagerApps {
|
|
|
1142
1506
|
export class App extends HomeyAPIV3.ManagerApps.App {
|
|
1143
1507
|
id: string;
|
|
1144
1508
|
|
|
1509
|
+
name: string;
|
|
1510
|
+
|
|
1511
|
+
iconObj: object;
|
|
1512
|
+
|
|
1513
|
+
version: string;
|
|
1514
|
+
|
|
1515
|
+
channel: string;
|
|
1516
|
+
|
|
1517
|
+
origin: string;
|
|
1518
|
+
|
|
1519
|
+
author: object;
|
|
1520
|
+
|
|
1521
|
+
compatibility: string;
|
|
1522
|
+
|
|
1523
|
+
permissions: Array<any>;
|
|
1524
|
+
|
|
1525
|
+
color: string;
|
|
1526
|
+
|
|
1527
|
+
images: object;
|
|
1528
|
+
|
|
1529
|
+
state: string;
|
|
1530
|
+
|
|
1531
|
+
enabled: boolean;
|
|
1532
|
+
|
|
1533
|
+
autoupdate: boolean;
|
|
1534
|
+
|
|
1535
|
+
settings: boolean | null;
|
|
1536
|
+
|
|
1537
|
+
updateAvailable: boolean;
|
|
1538
|
+
|
|
1539
|
+
usage: object;
|
|
1540
|
+
|
|
1541
|
+
crashed: boolean;
|
|
1542
|
+
|
|
1543
|
+
crashedMessage: string | null;
|
|
1544
|
+
|
|
1545
|
+
crashedCount: number;
|
|
1546
|
+
|
|
1145
1547
|
uri: string;
|
|
1146
1548
|
|
|
1147
1549
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1182,12 +1584,6 @@ export namespace HomeyAPIV3Local.ManagerApps {
|
|
|
1182
1584
|
}
|
|
1183
1585
|
}
|
|
1184
1586
|
|
|
1185
|
-
export namespace HomeyAPIV3Local.ManagerCameras {
|
|
1186
|
-
export class Camera {
|
|
1187
|
-
id: string;
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
1587
|
export namespace HomeyAPIV3Local.ManagerCloud {
|
|
1192
1588
|
export class Webhook {
|
|
1193
1589
|
id: string;
|
|
@@ -1236,9 +1632,63 @@ export namespace HomeyAPIV3Local.ManagerDevices {
|
|
|
1236
1632
|
export class Device extends HomeyAPIV3.ManagerDevices.Device {
|
|
1237
1633
|
id: string;
|
|
1238
1634
|
|
|
1635
|
+
driverId: string;
|
|
1636
|
+
|
|
1637
|
+
ownerUri: string;
|
|
1638
|
+
|
|
1239
1639
|
name: string;
|
|
1240
1640
|
|
|
1241
|
-
note: string;
|
|
1641
|
+
note: string | null;
|
|
1642
|
+
|
|
1643
|
+
zone: string;
|
|
1644
|
+
|
|
1645
|
+
data: object;
|
|
1646
|
+
|
|
1647
|
+
icon: string | null;
|
|
1648
|
+
|
|
1649
|
+
iconOverride: string | null;
|
|
1650
|
+
|
|
1651
|
+
iconObj: object | null;
|
|
1652
|
+
|
|
1653
|
+
class: string;
|
|
1654
|
+
|
|
1655
|
+
virtualClass: string | null;
|
|
1656
|
+
|
|
1657
|
+
capabilities: Array<any>;
|
|
1658
|
+
|
|
1659
|
+
capabilitiesObj: object;
|
|
1660
|
+
|
|
1661
|
+
settings: object;
|
|
1662
|
+
|
|
1663
|
+
settingsObj: boolean;
|
|
1664
|
+
|
|
1665
|
+
flags: Array<any>;
|
|
1666
|
+
|
|
1667
|
+
energy: object | null;
|
|
1668
|
+
|
|
1669
|
+
energyObj: object | null;
|
|
1670
|
+
|
|
1671
|
+
ui: object;
|
|
1672
|
+
|
|
1673
|
+
uiIndicator: string | null;
|
|
1674
|
+
|
|
1675
|
+
available: boolean;
|
|
1676
|
+
|
|
1677
|
+
unavailableMessage: string | null;
|
|
1678
|
+
|
|
1679
|
+
warningMessage: string | null;
|
|
1680
|
+
|
|
1681
|
+
ready: boolean;
|
|
1682
|
+
|
|
1683
|
+
repair: boolean | null;
|
|
1684
|
+
|
|
1685
|
+
unpair: boolean | null;
|
|
1686
|
+
|
|
1687
|
+
images: Array<any>;
|
|
1688
|
+
|
|
1689
|
+
color: string | null;
|
|
1690
|
+
|
|
1691
|
+
lastSeenAt: string | null;
|
|
1242
1692
|
|
|
1243
1693
|
uri: string;
|
|
1244
1694
|
|
|
@@ -1298,7 +1748,31 @@ export namespace HomeyAPIV3Local.ManagerDrivers {
|
|
|
1298
1748
|
export class Driver extends HomeyAPIV3.ManagerDrivers.Driver {
|
|
1299
1749
|
id: string;
|
|
1300
1750
|
|
|
1301
|
-
|
|
1751
|
+
ownerUri: string;
|
|
1752
|
+
|
|
1753
|
+
ownerName: string;
|
|
1754
|
+
|
|
1755
|
+
ownerIconObj: object;
|
|
1756
|
+
|
|
1757
|
+
name: string;
|
|
1758
|
+
|
|
1759
|
+
color: string;
|
|
1760
|
+
|
|
1761
|
+
class: string;
|
|
1762
|
+
|
|
1763
|
+
ready: boolean;
|
|
1764
|
+
|
|
1765
|
+
pair: boolean;
|
|
1766
|
+
|
|
1767
|
+
repair: boolean;
|
|
1768
|
+
|
|
1769
|
+
unpair: boolean;
|
|
1770
|
+
|
|
1771
|
+
userPath: string | null;
|
|
1772
|
+
|
|
1773
|
+
deprecated: boolean;
|
|
1774
|
+
|
|
1775
|
+
connectivity: Array<any>;
|
|
1302
1776
|
|
|
1303
1777
|
uri: string;
|
|
1304
1778
|
|
|
@@ -1370,6 +1844,16 @@ export namespace HomeyAPIV3Local.ManagerFlow {
|
|
|
1370
1844
|
export class AdvancedFlow extends HomeyAPIV3.ManagerFlow.AdvancedFlow {
|
|
1371
1845
|
id: string;
|
|
1372
1846
|
|
|
1847
|
+
name: string;
|
|
1848
|
+
|
|
1849
|
+
folder: string | null;
|
|
1850
|
+
|
|
1851
|
+
triggerable: boolean;
|
|
1852
|
+
|
|
1853
|
+
enabled: boolean;
|
|
1854
|
+
|
|
1855
|
+
cards: object;
|
|
1856
|
+
|
|
1373
1857
|
uri: string;
|
|
1374
1858
|
|
|
1375
1859
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1386,6 +1870,20 @@ export namespace HomeyAPIV3Local.ManagerFlow {
|
|
|
1386
1870
|
export class Flow extends HomeyAPIV3.ManagerFlow.Flow {
|
|
1387
1871
|
id: string;
|
|
1388
1872
|
|
|
1873
|
+
name: string;
|
|
1874
|
+
|
|
1875
|
+
folder: string | null;
|
|
1876
|
+
|
|
1877
|
+
triggerable: boolean;
|
|
1878
|
+
|
|
1879
|
+
enabled: boolean;
|
|
1880
|
+
|
|
1881
|
+
trigger: object;
|
|
1882
|
+
|
|
1883
|
+
conditions: Array<any>;
|
|
1884
|
+
|
|
1885
|
+
actions: Array<any>;
|
|
1886
|
+
|
|
1389
1887
|
uri: string;
|
|
1390
1888
|
|
|
1391
1889
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1402,6 +1900,36 @@ export namespace HomeyAPIV3Local.ManagerFlow {
|
|
|
1402
1900
|
export class FlowCardAction extends HomeyAPIV3.ManagerFlow.FlowCardAction {
|
|
1403
1901
|
id: string;
|
|
1404
1902
|
|
|
1903
|
+
ownerId: string;
|
|
1904
|
+
|
|
1905
|
+
ownerUri: string;
|
|
1906
|
+
|
|
1907
|
+
ownerName: string;
|
|
1908
|
+
|
|
1909
|
+
title: string;
|
|
1910
|
+
|
|
1911
|
+
titleFormatted: string | null;
|
|
1912
|
+
|
|
1913
|
+
hint: string | null;
|
|
1914
|
+
|
|
1915
|
+
args: Array<any> | null;
|
|
1916
|
+
|
|
1917
|
+
droptoken: Array<any> | null;
|
|
1918
|
+
|
|
1919
|
+
deprecated: boolean | null;
|
|
1920
|
+
|
|
1921
|
+
highlight: boolean | null;
|
|
1922
|
+
|
|
1923
|
+
duration: boolean;
|
|
1924
|
+
|
|
1925
|
+
durationMin: number | null;
|
|
1926
|
+
|
|
1927
|
+
durationMax: number | null;
|
|
1928
|
+
|
|
1929
|
+
tokens: Array<any> | null;
|
|
1930
|
+
|
|
1931
|
+
advanced: boolean;
|
|
1932
|
+
|
|
1405
1933
|
uri: string;
|
|
1406
1934
|
|
|
1407
1935
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1417,6 +1945,26 @@ export namespace HomeyAPIV3Local.ManagerFlow {
|
|
|
1417
1945
|
.FlowCardCondition {
|
|
1418
1946
|
id: string;
|
|
1419
1947
|
|
|
1948
|
+
ownerId: string;
|
|
1949
|
+
|
|
1950
|
+
ownerUri: string;
|
|
1951
|
+
|
|
1952
|
+
ownerName: string;
|
|
1953
|
+
|
|
1954
|
+
title: string;
|
|
1955
|
+
|
|
1956
|
+
titleFormatted: string | null;
|
|
1957
|
+
|
|
1958
|
+
hint: string | null;
|
|
1959
|
+
|
|
1960
|
+
args: Array<any> | null;
|
|
1961
|
+
|
|
1962
|
+
droptoken: Array<any> | null;
|
|
1963
|
+
|
|
1964
|
+
deprecated: boolean | null;
|
|
1965
|
+
|
|
1966
|
+
highlight: boolean | null;
|
|
1967
|
+
|
|
1420
1968
|
uri: string;
|
|
1421
1969
|
|
|
1422
1970
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1431,6 +1979,28 @@ export namespace HomeyAPIV3Local.ManagerFlow {
|
|
|
1431
1979
|
export class FlowCardTrigger extends HomeyAPIV3.ManagerFlow.FlowCardTrigger {
|
|
1432
1980
|
id: string;
|
|
1433
1981
|
|
|
1982
|
+
ownerId: string;
|
|
1983
|
+
|
|
1984
|
+
ownerUri: string;
|
|
1985
|
+
|
|
1986
|
+
ownerName: string;
|
|
1987
|
+
|
|
1988
|
+
title: string;
|
|
1989
|
+
|
|
1990
|
+
titleFormatted: string | null;
|
|
1991
|
+
|
|
1992
|
+
hint: string | null;
|
|
1993
|
+
|
|
1994
|
+
args: Array<any> | null;
|
|
1995
|
+
|
|
1996
|
+
droptoken: Array<any> | null;
|
|
1997
|
+
|
|
1998
|
+
deprecated: boolean | null;
|
|
1999
|
+
|
|
2000
|
+
highlight: boolean | null;
|
|
2001
|
+
|
|
2002
|
+
tokens: Array<any> | null;
|
|
2003
|
+
|
|
1434
2004
|
uri: string;
|
|
1435
2005
|
|
|
1436
2006
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1444,6 +2014,10 @@ export namespace HomeyAPIV3Local.ManagerFlow {
|
|
|
1444
2014
|
|
|
1445
2015
|
export class FlowFolder {
|
|
1446
2016
|
id: string;
|
|
2017
|
+
|
|
2018
|
+
name: string;
|
|
2019
|
+
|
|
2020
|
+
parent: string | null;
|
|
1447
2021
|
}
|
|
1448
2022
|
}
|
|
1449
2023
|
|
|
@@ -1451,6 +2025,18 @@ export namespace HomeyAPIV3Local.ManagerFlowToken {
|
|
|
1451
2025
|
export class FlowToken extends HomeyAPIV3.ManagerFlowToken.FlowToken {
|
|
1452
2026
|
id: string;
|
|
1453
2027
|
|
|
2028
|
+
ownerId: string;
|
|
2029
|
+
|
|
2030
|
+
ownerUri: string;
|
|
2031
|
+
|
|
2032
|
+
ownerName: string;
|
|
2033
|
+
|
|
2034
|
+
type: string;
|
|
2035
|
+
|
|
2036
|
+
title: string;
|
|
2037
|
+
|
|
2038
|
+
example: string | null;
|
|
2039
|
+
|
|
1454
2040
|
uri: string;
|
|
1455
2041
|
|
|
1456
2042
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1472,6 +2058,12 @@ export namespace HomeyAPIV3Local.ManagerIcons {
|
|
|
1472
2058
|
export namespace HomeyAPIV3Local.ManagerImages {
|
|
1473
2059
|
export class Image {
|
|
1474
2060
|
id: string;
|
|
2061
|
+
|
|
2062
|
+
ownerUri: string;
|
|
2063
|
+
|
|
2064
|
+
url: string;
|
|
2065
|
+
|
|
2066
|
+
lastUpdated: string;
|
|
1475
2067
|
}
|
|
1476
2068
|
}
|
|
1477
2069
|
|
|
@@ -1479,6 +2071,26 @@ export namespace HomeyAPIV3Local.ManagerInsights {
|
|
|
1479
2071
|
export class Log extends HomeyAPIV3.ManagerInsights.Log {
|
|
1480
2072
|
id: string;
|
|
1481
2073
|
|
|
2074
|
+
ownerUri: string;
|
|
2075
|
+
|
|
2076
|
+
ownerName: string;
|
|
2077
|
+
|
|
2078
|
+
ownerId: string;
|
|
2079
|
+
|
|
2080
|
+
type: string;
|
|
2081
|
+
|
|
2082
|
+
title: string;
|
|
2083
|
+
|
|
2084
|
+
titleTrue: string | null;
|
|
2085
|
+
|
|
2086
|
+
titleFalse: string | null;
|
|
2087
|
+
|
|
2088
|
+
units: string | null;
|
|
2089
|
+
|
|
2090
|
+
decimals: number | null;
|
|
2091
|
+
|
|
2092
|
+
lastValue: any | null;
|
|
2093
|
+
|
|
1482
2094
|
uri: string;
|
|
1483
2095
|
|
|
1484
2096
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1502,6 +2114,8 @@ export namespace HomeyAPIV3Local.ManagerLogic {
|
|
|
1502
2114
|
name: string;
|
|
1503
2115
|
|
|
1504
2116
|
type: string;
|
|
2117
|
+
|
|
2118
|
+
value: string | number | boolean;
|
|
1505
2119
|
}
|
|
1506
2120
|
}
|
|
1507
2121
|
|
|
@@ -1525,6 +2139,8 @@ export namespace HomeyAPIV3Local.ManagerNotifications {
|
|
|
1525
2139
|
|
|
1526
2140
|
ownerUri: string;
|
|
1527
2141
|
|
|
2142
|
+
ownerName: string;
|
|
2143
|
+
|
|
1528
2144
|
dateCreated: string;
|
|
1529
2145
|
|
|
1530
2146
|
excerpt: string;
|
|
@@ -1554,6 +2170,34 @@ export namespace HomeyAPIV3Local.ManagerSessions {
|
|
|
1554
2170
|
export namespace HomeyAPIV3Local.ManagerUsers {
|
|
1555
2171
|
export class User {
|
|
1556
2172
|
id: string;
|
|
2173
|
+
|
|
2174
|
+
name: string | null;
|
|
2175
|
+
|
|
2176
|
+
role: string;
|
|
2177
|
+
|
|
2178
|
+
properties: object;
|
|
2179
|
+
|
|
2180
|
+
athomId: string | null;
|
|
2181
|
+
|
|
2182
|
+
enabled: boolean;
|
|
2183
|
+
|
|
2184
|
+
enabledUntil: string | null;
|
|
2185
|
+
|
|
2186
|
+
present: boolean | null;
|
|
2187
|
+
|
|
2188
|
+
asleep: boolean | null;
|
|
2189
|
+
|
|
2190
|
+
avatar: string | null;
|
|
2191
|
+
|
|
2192
|
+
verified: boolean;
|
|
2193
|
+
|
|
2194
|
+
inviteUrl: string | null;
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
export namespace HomeyAPIV3Local.ManagerVideos {
|
|
2199
|
+
export class Video {
|
|
2200
|
+
id: string;
|
|
1557
2201
|
}
|
|
1558
2202
|
}
|
|
1559
2203
|
|
|
@@ -1659,6 +2303,18 @@ export namespace HomeyAPIV3Local.ManagerZones {
|
|
|
1659
2303
|
export class Zone extends HomeyAPIV3.ManagerZones.Zone {
|
|
1660
2304
|
id: string;
|
|
1661
2305
|
|
|
2306
|
+
name: string;
|
|
2307
|
+
|
|
2308
|
+
parent: string | null;
|
|
2309
|
+
|
|
2310
|
+
icon: string;
|
|
2311
|
+
|
|
2312
|
+
active: boolean;
|
|
2313
|
+
|
|
2314
|
+
activeOrigins: Array<any>;
|
|
2315
|
+
|
|
2316
|
+
activeLastUpdated: string | null;
|
|
2317
|
+
|
|
1662
2318
|
uri: string;
|
|
1663
2319
|
|
|
1664
2320
|
manager: HomeyAPIV3.Manager;
|
|
@@ -9990,6 +10646,28 @@ export namespace HomeyAPIV3Cloud {
|
|
|
9990
10646
|
}): Promise<any>;
|
|
9991
10647
|
}
|
|
9992
10648
|
|
|
10649
|
+
export class ManagerVideos extends HomeyAPIV3.ManagerVideos {
|
|
10650
|
+
getState(): Promise<any>;
|
|
10651
|
+
|
|
10652
|
+
getVideos(): Promise<{
|
|
10653
|
+
[key: string]: HomeyAPIV3Cloud.ManagerVideos.Video;
|
|
10654
|
+
}>;
|
|
10655
|
+
|
|
10656
|
+
videoOffer(opts: {
|
|
10657
|
+
id: string;
|
|
10658
|
+
|
|
10659
|
+
offer: string;
|
|
10660
|
+
}): Promise<any>;
|
|
10661
|
+
|
|
10662
|
+
videoKeepAlive(opts: {
|
|
10663
|
+
id: string;
|
|
10664
|
+
|
|
10665
|
+
streamId: string;
|
|
10666
|
+
}): Promise<any>;
|
|
10667
|
+
|
|
10668
|
+
getVideoUrl(opts: { id: string }): Promise<any>;
|
|
10669
|
+
}
|
|
10670
|
+
|
|
9993
10671
|
export class ManagerVirtualDevice extends HomeyAPIV3.ManagerVirtualDevice {
|
|
9994
10672
|
getState(): Promise<any>;
|
|
9995
10673
|
}
|
|
@@ -10738,28 +11416,6 @@ export namespace HomeyAPIV3Local {
|
|
|
10738
11416
|
}): Promise<any>;
|
|
10739
11417
|
}
|
|
10740
11418
|
|
|
10741
|
-
export class ManagerCameras extends HomeyAPIV3.ManagerCameras {
|
|
10742
|
-
getState(): Promise<any>;
|
|
10743
|
-
|
|
10744
|
-
getCameras(): Promise<{
|
|
10745
|
-
[key: string]: HomeyAPIV3Local.ManagerCameras.Camera;
|
|
10746
|
-
}>;
|
|
10747
|
-
|
|
10748
|
-
offer(opts: {
|
|
10749
|
-
id: string;
|
|
10750
|
-
|
|
10751
|
-
offer: string;
|
|
10752
|
-
}): Promise<any>;
|
|
10753
|
-
|
|
10754
|
-
keepAlive(opts: {
|
|
10755
|
-
id: string;
|
|
10756
|
-
|
|
10757
|
-
streamId: string;
|
|
10758
|
-
}): Promise<any>;
|
|
10759
|
-
|
|
10760
|
-
videoUrl(opts: { id: string }): Promise<any>;
|
|
10761
|
-
}
|
|
10762
|
-
|
|
10763
11419
|
export class ManagerClock extends HomeyAPIV3.ManagerClock {
|
|
10764
11420
|
getState(): Promise<any>;
|
|
10765
11421
|
}
|
|
@@ -12006,6 +12662,28 @@ export namespace HomeyAPIV3Local {
|
|
|
12006
12662
|
}): Promise<any>;
|
|
12007
12663
|
}
|
|
12008
12664
|
|
|
12665
|
+
export class ManagerVideos extends HomeyAPIV3.ManagerVideos {
|
|
12666
|
+
getState(): Promise<any>;
|
|
12667
|
+
|
|
12668
|
+
getVideos(): Promise<{
|
|
12669
|
+
[key: string]: HomeyAPIV3Local.ManagerVideos.Video;
|
|
12670
|
+
}>;
|
|
12671
|
+
|
|
12672
|
+
videoOffer(opts: {
|
|
12673
|
+
id: string;
|
|
12674
|
+
|
|
12675
|
+
offer: string;
|
|
12676
|
+
}): Promise<any>;
|
|
12677
|
+
|
|
12678
|
+
videoKeepAlive(opts: {
|
|
12679
|
+
id: string;
|
|
12680
|
+
|
|
12681
|
+
streamId: string;
|
|
12682
|
+
}): Promise<any>;
|
|
12683
|
+
|
|
12684
|
+
getVideoUrl(opts: { id: string }): Promise<any>;
|
|
12685
|
+
}
|
|
12686
|
+
|
|
12009
12687
|
export class ManagerVirtualDevice extends HomeyAPIV3.ManagerVirtualDevice {
|
|
12010
12688
|
getState(): Promise<any>;
|
|
12011
12689
|
}
|