homey-api 3.13.3 → 3.14.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/assets/specifications/HomeyAPIV3Cloud.json +2190 -898
- package/assets/specifications/HomeyAPIV3Local.json +1997 -1233
- package/assets/types/homey-api.d.ts +1031 -7
- package/assets/types/homey-api.private.d.ts +843 -75
- 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;
|
|
@@ -226,6 +230,12 @@ export namespace HomeyAPIV2.ManagerDevices {
|
|
|
226
230
|
|
|
227
231
|
note: string;
|
|
228
232
|
|
|
233
|
+
ownerUri: string;
|
|
234
|
+
|
|
235
|
+
warningMessage: string | null;
|
|
236
|
+
|
|
237
|
+
lastSeenAt: string | null;
|
|
238
|
+
|
|
229
239
|
uri: string;
|
|
230
240
|
|
|
231
241
|
manager: HomeyAPIV3.Manager;
|
|
@@ -262,6 +272,16 @@ export namespace HomeyAPIV2.ManagerDrivers {
|
|
|
262
272
|
|
|
263
273
|
connectivity: Array<any>;
|
|
264
274
|
|
|
275
|
+
ownerUri: string;
|
|
276
|
+
|
|
277
|
+
ownerName: string;
|
|
278
|
+
|
|
279
|
+
ownerIconObj: object;
|
|
280
|
+
|
|
281
|
+
name: string;
|
|
282
|
+
|
|
283
|
+
userPath: string | null;
|
|
284
|
+
|
|
265
285
|
manager: HomeyAPIV3.Manager;
|
|
266
286
|
|
|
267
287
|
homey: HomeyAPIV3;
|
|
@@ -367,6 +387,18 @@ export namespace HomeyAPIV2.ManagerFlow {
|
|
|
367
387
|
|
|
368
388
|
tokens: Array<any>;
|
|
369
389
|
|
|
390
|
+
ownerId: string;
|
|
391
|
+
|
|
392
|
+
ownerUri: string;
|
|
393
|
+
|
|
394
|
+
ownerName: string;
|
|
395
|
+
|
|
396
|
+
titleFormatted: string | null;
|
|
397
|
+
|
|
398
|
+
durationMin: number | null;
|
|
399
|
+
|
|
400
|
+
durationMax: number | null;
|
|
401
|
+
|
|
370
402
|
manager: HomeyAPIV3.Manager;
|
|
371
403
|
|
|
372
404
|
homey: HomeyAPIV3;
|
|
@@ -396,6 +428,14 @@ export namespace HomeyAPIV2.ManagerFlow {
|
|
|
396
428
|
|
|
397
429
|
highlight: boolean;
|
|
398
430
|
|
|
431
|
+
ownerId: string;
|
|
432
|
+
|
|
433
|
+
ownerUri: string;
|
|
434
|
+
|
|
435
|
+
ownerName: string;
|
|
436
|
+
|
|
437
|
+
titleFormatted: string | null;
|
|
438
|
+
|
|
399
439
|
manager: HomeyAPIV3.Manager;
|
|
400
440
|
|
|
401
441
|
homey: HomeyAPIV3;
|
|
@@ -427,6 +467,14 @@ export namespace HomeyAPIV2.ManagerFlow {
|
|
|
427
467
|
|
|
428
468
|
tokens: Array<any>;
|
|
429
469
|
|
|
470
|
+
ownerId: string;
|
|
471
|
+
|
|
472
|
+
ownerUri: string;
|
|
473
|
+
|
|
474
|
+
ownerName: string;
|
|
475
|
+
|
|
476
|
+
titleFormatted: string | null;
|
|
477
|
+
|
|
430
478
|
manager: HomeyAPIV3.Manager;
|
|
431
479
|
|
|
432
480
|
homey: HomeyAPIV3;
|
|
@@ -457,6 +505,14 @@ export namespace HomeyAPIV2.ManagerFlowToken {
|
|
|
457
505
|
|
|
458
506
|
uriObj: object;
|
|
459
507
|
|
|
508
|
+
ownerId: string;
|
|
509
|
+
|
|
510
|
+
ownerUri: string;
|
|
511
|
+
|
|
512
|
+
ownerName: string;
|
|
513
|
+
|
|
514
|
+
example: string | null;
|
|
515
|
+
|
|
460
516
|
manager: HomeyAPIV3.Manager;
|
|
461
517
|
|
|
462
518
|
homey: HomeyAPIV3;
|
|
@@ -495,6 +551,12 @@ export namespace HomeyAPIV2.ManagerInsights {
|
|
|
495
551
|
|
|
496
552
|
lastValue: number;
|
|
497
553
|
|
|
554
|
+
ownerUri: string;
|
|
555
|
+
|
|
556
|
+
ownerName: string;
|
|
557
|
+
|
|
558
|
+
ownerId: string;
|
|
559
|
+
|
|
498
560
|
manager: HomeyAPIV3.Manager;
|
|
499
561
|
|
|
500
562
|
homey: HomeyAPIV3;
|
|
@@ -508,6 +570,8 @@ export namespace HomeyAPIV2.ManagerLogic {
|
|
|
508
570
|
name: string;
|
|
509
571
|
|
|
510
572
|
type: string;
|
|
573
|
+
|
|
574
|
+
value: string | number | boolean;
|
|
511
575
|
}
|
|
512
576
|
}
|
|
513
577
|
|
|
@@ -535,6 +599,8 @@ export namespace HomeyAPIV2.ManagerNotifications {
|
|
|
535
599
|
roles: Array<any>;
|
|
536
600
|
|
|
537
601
|
meta: object;
|
|
602
|
+
|
|
603
|
+
ownerName: string;
|
|
538
604
|
}
|
|
539
605
|
}
|
|
540
606
|
|
|
@@ -593,6 +659,12 @@ export namespace HomeyAPIV2.ManagerUsers {
|
|
|
593
659
|
present: boolean;
|
|
594
660
|
|
|
595
661
|
asleep: boolean;
|
|
662
|
+
|
|
663
|
+
enabledUntil: string | null;
|
|
664
|
+
|
|
665
|
+
avatar: string | null;
|
|
666
|
+
|
|
667
|
+
inviteUrl: string | null;
|
|
596
668
|
}
|
|
597
669
|
}
|
|
598
670
|
|
|
@@ -610,6 +682,10 @@ export namespace HomeyAPIV2.ManagerZones {
|
|
|
610
682
|
|
|
611
683
|
icon: string;
|
|
612
684
|
|
|
685
|
+
activeOrigins: Array<any>;
|
|
686
|
+
|
|
687
|
+
activeLastUpdated: string | null;
|
|
688
|
+
|
|
613
689
|
uri: string;
|
|
614
690
|
|
|
615
691
|
manager: HomeyAPIV3.Manager;
|
|
@@ -622,6 +698,34 @@ export namespace HomeyAPIV3Cloud.ManagerApps {
|
|
|
622
698
|
export class App extends HomeyAPIV3.ManagerApps.App {
|
|
623
699
|
id: string;
|
|
624
700
|
|
|
701
|
+
name: string;
|
|
702
|
+
|
|
703
|
+
iconObj: object;
|
|
704
|
+
|
|
705
|
+
version: string;
|
|
706
|
+
|
|
707
|
+
channel: string;
|
|
708
|
+
|
|
709
|
+
origin: string;
|
|
710
|
+
|
|
711
|
+
author: object;
|
|
712
|
+
|
|
713
|
+
compatibility: string;
|
|
714
|
+
|
|
715
|
+
permissions: Array<any>;
|
|
716
|
+
|
|
717
|
+
color: string;
|
|
718
|
+
|
|
719
|
+
images: object;
|
|
720
|
+
|
|
721
|
+
state: string;
|
|
722
|
+
|
|
723
|
+
enabled: boolean;
|
|
724
|
+
|
|
725
|
+
crashed: boolean;
|
|
726
|
+
|
|
727
|
+
crashedMessage: string | null;
|
|
728
|
+
|
|
625
729
|
uri: string;
|
|
626
730
|
|
|
627
731
|
manager: HomeyAPIV3.Manager;
|
|
@@ -674,6 +778,24 @@ export namespace HomeyAPIV3Cloud.ManagerCron {
|
|
|
674
778
|
}
|
|
675
779
|
}
|
|
676
780
|
|
|
781
|
+
export namespace HomeyAPIV3Cloud.ManagerDashboards {
|
|
782
|
+
export class AppWidget {
|
|
783
|
+
id: string;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
export class Dashboard {
|
|
787
|
+
id: string;
|
|
788
|
+
|
|
789
|
+
name: string;
|
|
790
|
+
|
|
791
|
+
columns: Array<any>;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
export class WidgetStore {
|
|
795
|
+
id: string;
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
|
|
677
799
|
export namespace HomeyAPIV3Cloud.ManagerDevices {
|
|
678
800
|
export class Capability extends HomeyAPIV3.ManagerDevices.Capability {
|
|
679
801
|
id: string;
|
|
@@ -692,9 +814,63 @@ export namespace HomeyAPIV3Cloud.ManagerDevices {
|
|
|
692
814
|
export class Device extends HomeyAPIV3.ManagerDevices.Device {
|
|
693
815
|
id: string;
|
|
694
816
|
|
|
817
|
+
driverId: string;
|
|
818
|
+
|
|
819
|
+
ownerUri: string;
|
|
820
|
+
|
|
695
821
|
name: string;
|
|
696
822
|
|
|
697
|
-
note: string;
|
|
823
|
+
note: string | null;
|
|
824
|
+
|
|
825
|
+
zone: string;
|
|
826
|
+
|
|
827
|
+
data: object;
|
|
828
|
+
|
|
829
|
+
icon: string | null;
|
|
830
|
+
|
|
831
|
+
iconOverride: string | null;
|
|
832
|
+
|
|
833
|
+
iconObj: object | null;
|
|
834
|
+
|
|
835
|
+
class: string;
|
|
836
|
+
|
|
837
|
+
virtualClass: string | null;
|
|
838
|
+
|
|
839
|
+
capabilities: Array<any>;
|
|
840
|
+
|
|
841
|
+
capabilitiesObj: object;
|
|
842
|
+
|
|
843
|
+
settings: object;
|
|
844
|
+
|
|
845
|
+
settingsObj: boolean;
|
|
846
|
+
|
|
847
|
+
flags: Array<any>;
|
|
848
|
+
|
|
849
|
+
energy: object | null;
|
|
850
|
+
|
|
851
|
+
energyObj: object | null;
|
|
852
|
+
|
|
853
|
+
ui: object;
|
|
854
|
+
|
|
855
|
+
uiIndicator: string | null;
|
|
856
|
+
|
|
857
|
+
available: boolean;
|
|
858
|
+
|
|
859
|
+
unavailableMessage: string | null;
|
|
860
|
+
|
|
861
|
+
warningMessage: string | null;
|
|
862
|
+
|
|
863
|
+
ready: boolean;
|
|
864
|
+
|
|
865
|
+
repair: boolean | null;
|
|
866
|
+
|
|
867
|
+
unpair: boolean | null;
|
|
868
|
+
|
|
869
|
+
images: Array<any>;
|
|
870
|
+
|
|
871
|
+
color: string | null;
|
|
872
|
+
|
|
873
|
+
lastSeenAt: string | null;
|
|
698
874
|
|
|
699
875
|
uri: string;
|
|
700
876
|
|
|
@@ -740,7 +916,31 @@ export namespace HomeyAPIV3Cloud.ManagerDrivers {
|
|
|
740
916
|
export class Driver extends HomeyAPIV3.ManagerDrivers.Driver {
|
|
741
917
|
id: string;
|
|
742
918
|
|
|
743
|
-
|
|
919
|
+
ownerUri: string;
|
|
920
|
+
|
|
921
|
+
ownerName: string;
|
|
922
|
+
|
|
923
|
+
ownerIconObj: object;
|
|
924
|
+
|
|
925
|
+
name: string;
|
|
926
|
+
|
|
927
|
+
color: string;
|
|
928
|
+
|
|
929
|
+
class: string;
|
|
930
|
+
|
|
931
|
+
ready: boolean;
|
|
932
|
+
|
|
933
|
+
pair: boolean;
|
|
934
|
+
|
|
935
|
+
repair: boolean;
|
|
936
|
+
|
|
937
|
+
unpair: boolean;
|
|
938
|
+
|
|
939
|
+
userPath: string | null;
|
|
940
|
+
|
|
941
|
+
deprecated: boolean;
|
|
942
|
+
|
|
943
|
+
connectivity: Array<any>;
|
|
744
944
|
|
|
745
945
|
uri: string;
|
|
746
946
|
|
|
@@ -794,6 +994,16 @@ export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
|
794
994
|
export class AdvancedFlow extends HomeyAPIV3.ManagerFlow.AdvancedFlow {
|
|
795
995
|
id: string;
|
|
796
996
|
|
|
997
|
+
name: string;
|
|
998
|
+
|
|
999
|
+
folder: string | null;
|
|
1000
|
+
|
|
1001
|
+
triggerable: boolean;
|
|
1002
|
+
|
|
1003
|
+
enabled: boolean;
|
|
1004
|
+
|
|
1005
|
+
cards: object;
|
|
1006
|
+
|
|
797
1007
|
uri: string;
|
|
798
1008
|
|
|
799
1009
|
manager: HomeyAPIV3.Manager;
|
|
@@ -810,6 +1020,20 @@ export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
|
810
1020
|
export class Flow extends HomeyAPIV3.ManagerFlow.Flow {
|
|
811
1021
|
id: string;
|
|
812
1022
|
|
|
1023
|
+
name: string;
|
|
1024
|
+
|
|
1025
|
+
folder: string | null;
|
|
1026
|
+
|
|
1027
|
+
triggerable: boolean;
|
|
1028
|
+
|
|
1029
|
+
enabled: boolean;
|
|
1030
|
+
|
|
1031
|
+
trigger: object;
|
|
1032
|
+
|
|
1033
|
+
conditions: Array<any>;
|
|
1034
|
+
|
|
1035
|
+
actions: Array<any>;
|
|
1036
|
+
|
|
813
1037
|
uri: string;
|
|
814
1038
|
|
|
815
1039
|
manager: HomeyAPIV3.Manager;
|
|
@@ -826,6 +1050,36 @@ export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
|
826
1050
|
export class FlowCardAction extends HomeyAPIV3.ManagerFlow.FlowCardAction {
|
|
827
1051
|
id: string;
|
|
828
1052
|
|
|
1053
|
+
ownerId: string;
|
|
1054
|
+
|
|
1055
|
+
ownerUri: string;
|
|
1056
|
+
|
|
1057
|
+
ownerName: string;
|
|
1058
|
+
|
|
1059
|
+
title: string;
|
|
1060
|
+
|
|
1061
|
+
titleFormatted: string | null;
|
|
1062
|
+
|
|
1063
|
+
hint: string | null;
|
|
1064
|
+
|
|
1065
|
+
args: Array<any> | null;
|
|
1066
|
+
|
|
1067
|
+
droptoken: Array<any> | null;
|
|
1068
|
+
|
|
1069
|
+
deprecated: boolean | null;
|
|
1070
|
+
|
|
1071
|
+
highlight: boolean | null;
|
|
1072
|
+
|
|
1073
|
+
duration: boolean;
|
|
1074
|
+
|
|
1075
|
+
durationMin: number | null;
|
|
1076
|
+
|
|
1077
|
+
durationMax: number | null;
|
|
1078
|
+
|
|
1079
|
+
tokens: Array<any> | null;
|
|
1080
|
+
|
|
1081
|
+
advanced: boolean;
|
|
1082
|
+
|
|
829
1083
|
uri: string;
|
|
830
1084
|
|
|
831
1085
|
manager: HomeyAPIV3.Manager;
|
|
@@ -841,6 +1095,26 @@ export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
|
841
1095
|
.FlowCardCondition {
|
|
842
1096
|
id: string;
|
|
843
1097
|
|
|
1098
|
+
ownerId: string;
|
|
1099
|
+
|
|
1100
|
+
ownerUri: string;
|
|
1101
|
+
|
|
1102
|
+
ownerName: string;
|
|
1103
|
+
|
|
1104
|
+
title: string;
|
|
1105
|
+
|
|
1106
|
+
titleFormatted: string | null;
|
|
1107
|
+
|
|
1108
|
+
hint: string | null;
|
|
1109
|
+
|
|
1110
|
+
args: Array<any> | null;
|
|
1111
|
+
|
|
1112
|
+
droptoken: Array<any> | null;
|
|
1113
|
+
|
|
1114
|
+
deprecated: boolean | null;
|
|
1115
|
+
|
|
1116
|
+
highlight: boolean | null;
|
|
1117
|
+
|
|
844
1118
|
uri: string;
|
|
845
1119
|
|
|
846
1120
|
manager: HomeyAPIV3.Manager;
|
|
@@ -855,6 +1129,28 @@ export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
|
855
1129
|
export class FlowCardTrigger extends HomeyAPIV3.ManagerFlow.FlowCardTrigger {
|
|
856
1130
|
id: string;
|
|
857
1131
|
|
|
1132
|
+
ownerId: string;
|
|
1133
|
+
|
|
1134
|
+
ownerUri: string;
|
|
1135
|
+
|
|
1136
|
+
ownerName: string;
|
|
1137
|
+
|
|
1138
|
+
title: string;
|
|
1139
|
+
|
|
1140
|
+
titleFormatted: string | null;
|
|
1141
|
+
|
|
1142
|
+
hint: string | null;
|
|
1143
|
+
|
|
1144
|
+
args: Array<any> | null;
|
|
1145
|
+
|
|
1146
|
+
droptoken: Array<any> | null;
|
|
1147
|
+
|
|
1148
|
+
deprecated: boolean | null;
|
|
1149
|
+
|
|
1150
|
+
highlight: boolean | null;
|
|
1151
|
+
|
|
1152
|
+
tokens: Array<any> | null;
|
|
1153
|
+
|
|
858
1154
|
uri: string;
|
|
859
1155
|
|
|
860
1156
|
manager: HomeyAPIV3.Manager;
|
|
@@ -868,6 +1164,10 @@ export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
|
868
1164
|
|
|
869
1165
|
export class FlowFolder {
|
|
870
1166
|
id: string;
|
|
1167
|
+
|
|
1168
|
+
name: string;
|
|
1169
|
+
|
|
1170
|
+
parent: string | null;
|
|
871
1171
|
}
|
|
872
1172
|
}
|
|
873
1173
|
|
|
@@ -875,6 +1175,18 @@ export namespace HomeyAPIV3Cloud.ManagerFlowToken {
|
|
|
875
1175
|
export class FlowToken extends HomeyAPIV3.ManagerFlowToken.FlowToken {
|
|
876
1176
|
id: string;
|
|
877
1177
|
|
|
1178
|
+
ownerId: string;
|
|
1179
|
+
|
|
1180
|
+
ownerUri: string;
|
|
1181
|
+
|
|
1182
|
+
ownerName: string;
|
|
1183
|
+
|
|
1184
|
+
type: string;
|
|
1185
|
+
|
|
1186
|
+
title: string;
|
|
1187
|
+
|
|
1188
|
+
example: string | null;
|
|
1189
|
+
|
|
878
1190
|
uri: string;
|
|
879
1191
|
|
|
880
1192
|
manager: HomeyAPIV3.Manager;
|
|
@@ -896,6 +1208,12 @@ export namespace HomeyAPIV3Cloud.ManagerIcons {
|
|
|
896
1208
|
export namespace HomeyAPIV3Cloud.ManagerImages {
|
|
897
1209
|
export class Image {
|
|
898
1210
|
id: string;
|
|
1211
|
+
|
|
1212
|
+
ownerUri: string;
|
|
1213
|
+
|
|
1214
|
+
url: string;
|
|
1215
|
+
|
|
1216
|
+
lastUpdated: string;
|
|
899
1217
|
}
|
|
900
1218
|
}
|
|
901
1219
|
|
|
@@ -903,6 +1221,26 @@ export namespace HomeyAPIV3Cloud.ManagerInsights {
|
|
|
903
1221
|
export class Log extends HomeyAPIV3.ManagerInsights.Log {
|
|
904
1222
|
id: string;
|
|
905
1223
|
|
|
1224
|
+
ownerUri: string;
|
|
1225
|
+
|
|
1226
|
+
ownerName: string;
|
|
1227
|
+
|
|
1228
|
+
ownerId: string;
|
|
1229
|
+
|
|
1230
|
+
type: string;
|
|
1231
|
+
|
|
1232
|
+
title: string;
|
|
1233
|
+
|
|
1234
|
+
titleTrue: string | null;
|
|
1235
|
+
|
|
1236
|
+
titleFalse: string | null;
|
|
1237
|
+
|
|
1238
|
+
units: string | null;
|
|
1239
|
+
|
|
1240
|
+
decimals: number | null;
|
|
1241
|
+
|
|
1242
|
+
lastValue: any | null;
|
|
1243
|
+
|
|
906
1244
|
uri: string;
|
|
907
1245
|
|
|
908
1246
|
manager: HomeyAPIV3.Manager;
|
|
@@ -926,6 +1264,22 @@ export namespace HomeyAPIV3Cloud.ManagerLogic {
|
|
|
926
1264
|
name: string;
|
|
927
1265
|
|
|
928
1266
|
type: string;
|
|
1267
|
+
|
|
1268
|
+
value: string | number | boolean;
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
export namespace HomeyAPIV3Cloud.ManagerMoods {
|
|
1273
|
+
export class Mood {
|
|
1274
|
+
id: string;
|
|
1275
|
+
|
|
1276
|
+
name: string;
|
|
1277
|
+
|
|
1278
|
+
preset: string | null;
|
|
1279
|
+
|
|
1280
|
+
zone: string;
|
|
1281
|
+
|
|
1282
|
+
devices: object;
|
|
929
1283
|
}
|
|
930
1284
|
}
|
|
931
1285
|
|
|
@@ -935,6 +1289,8 @@ export namespace HomeyAPIV3Cloud.ManagerNotifications {
|
|
|
935
1289
|
|
|
936
1290
|
ownerUri: string;
|
|
937
1291
|
|
|
1292
|
+
ownerName: string;
|
|
1293
|
+
|
|
938
1294
|
dateCreated: string;
|
|
939
1295
|
|
|
940
1296
|
excerpt: string;
|
|
@@ -964,6 +1320,28 @@ export namespace HomeyAPIV3Cloud.ManagerSessions {
|
|
|
964
1320
|
export namespace HomeyAPIV3Cloud.ManagerUsers {
|
|
965
1321
|
export class User {
|
|
966
1322
|
id: string;
|
|
1323
|
+
|
|
1324
|
+
name: string | null;
|
|
1325
|
+
|
|
1326
|
+
role: string;
|
|
1327
|
+
|
|
1328
|
+
properties: object;
|
|
1329
|
+
|
|
1330
|
+
athomId: string | null;
|
|
1331
|
+
|
|
1332
|
+
enabled: boolean;
|
|
1333
|
+
|
|
1334
|
+
enabledUntil: string | null;
|
|
1335
|
+
|
|
1336
|
+
present: boolean | null;
|
|
1337
|
+
|
|
1338
|
+
asleep: boolean | null;
|
|
1339
|
+
|
|
1340
|
+
avatar: string | null;
|
|
1341
|
+
|
|
1342
|
+
verified: boolean;
|
|
1343
|
+
|
|
1344
|
+
inviteUrl: string | null;
|
|
967
1345
|
}
|
|
968
1346
|
}
|
|
969
1347
|
|
|
@@ -976,6 +1354,10 @@ export namespace HomeyAPIV3Cloud.ManagerVirtualDevice {
|
|
|
976
1354
|
id: string;
|
|
977
1355
|
}
|
|
978
1356
|
|
|
1357
|
+
export class VirtualDeviceGroup {
|
|
1358
|
+
id: string;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
979
1361
|
export class VirtualDeviceHomeyBridge {
|
|
980
1362
|
id: string;
|
|
981
1363
|
}
|
|
@@ -984,6 +1366,10 @@ export namespace HomeyAPIV3Cloud.ManagerVirtualDevice {
|
|
|
984
1366
|
id: string;
|
|
985
1367
|
}
|
|
986
1368
|
|
|
1369
|
+
export class VirtualDeviceRF433 {
|
|
1370
|
+
id: string;
|
|
1371
|
+
}
|
|
1372
|
+
|
|
987
1373
|
export class VirtualDeviceZigbee {
|
|
988
1374
|
id: string;
|
|
989
1375
|
}
|
|
@@ -1000,6 +1386,10 @@ export namespace HomeyAPIV3Cloud.ManagerVirtualDevice {
|
|
|
1000
1386
|
id: string;
|
|
1001
1387
|
}
|
|
1002
1388
|
|
|
1389
|
+
export class VirtualDriverGroup {
|
|
1390
|
+
id: string;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1003
1393
|
export class VirtualDriverHomeyBridge {
|
|
1004
1394
|
id: string;
|
|
1005
1395
|
}
|
|
@@ -1008,6 +1398,10 @@ export namespace HomeyAPIV3Cloud.ManagerVirtualDevice {
|
|
|
1008
1398
|
id: string;
|
|
1009
1399
|
}
|
|
1010
1400
|
|
|
1401
|
+
export class VirtualDriverRF433 {
|
|
1402
|
+
id: string;
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1011
1405
|
export class VirtualDriverZigbee {
|
|
1012
1406
|
id: string;
|
|
1013
1407
|
}
|
|
@@ -1021,6 +1415,18 @@ export namespace HomeyAPIV3Cloud.ManagerZones {
|
|
|
1021
1415
|
export class Zone extends HomeyAPIV3.ManagerZones.Zone {
|
|
1022
1416
|
id: string;
|
|
1023
1417
|
|
|
1418
|
+
name: string;
|
|
1419
|
+
|
|
1420
|
+
parent: string | null;
|
|
1421
|
+
|
|
1422
|
+
icon: string;
|
|
1423
|
+
|
|
1424
|
+
active: boolean;
|
|
1425
|
+
|
|
1426
|
+
activeOrigins: Array<any>;
|
|
1427
|
+
|
|
1428
|
+
activeLastUpdated: string | null;
|
|
1429
|
+
|
|
1024
1430
|
uri: string;
|
|
1025
1431
|
|
|
1026
1432
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1043,6 +1449,44 @@ export namespace HomeyAPIV3Local.ManagerApps {
|
|
|
1043
1449
|
export class App extends HomeyAPIV3.ManagerApps.App {
|
|
1044
1450
|
id: string;
|
|
1045
1451
|
|
|
1452
|
+
name: string;
|
|
1453
|
+
|
|
1454
|
+
iconObj: object;
|
|
1455
|
+
|
|
1456
|
+
version: string;
|
|
1457
|
+
|
|
1458
|
+
channel: string;
|
|
1459
|
+
|
|
1460
|
+
origin: string;
|
|
1461
|
+
|
|
1462
|
+
author: object;
|
|
1463
|
+
|
|
1464
|
+
compatibility: string;
|
|
1465
|
+
|
|
1466
|
+
permissions: Array<any>;
|
|
1467
|
+
|
|
1468
|
+
color: string;
|
|
1469
|
+
|
|
1470
|
+
images: object;
|
|
1471
|
+
|
|
1472
|
+
state: string;
|
|
1473
|
+
|
|
1474
|
+
enabled: boolean;
|
|
1475
|
+
|
|
1476
|
+
autoupdate: boolean;
|
|
1477
|
+
|
|
1478
|
+
settings: boolean | null;
|
|
1479
|
+
|
|
1480
|
+
updateAvailable: boolean;
|
|
1481
|
+
|
|
1482
|
+
usage: object;
|
|
1483
|
+
|
|
1484
|
+
crashed: boolean;
|
|
1485
|
+
|
|
1486
|
+
crashedMessage: string | null;
|
|
1487
|
+
|
|
1488
|
+
crashedCount: number;
|
|
1489
|
+
|
|
1046
1490
|
uri: string;
|
|
1047
1491
|
|
|
1048
1492
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1095,6 +1539,24 @@ export namespace HomeyAPIV3Local.ManagerCron {
|
|
|
1095
1539
|
}
|
|
1096
1540
|
}
|
|
1097
1541
|
|
|
1542
|
+
export namespace HomeyAPIV3Local.ManagerDashboards {
|
|
1543
|
+
export class AppWidget {
|
|
1544
|
+
id: string;
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
export class Dashboard {
|
|
1548
|
+
id: string;
|
|
1549
|
+
|
|
1550
|
+
name: string;
|
|
1551
|
+
|
|
1552
|
+
columns: Array<any>;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
export class WidgetStore {
|
|
1556
|
+
id: string;
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1098
1560
|
export namespace HomeyAPIV3Local.ManagerDevices {
|
|
1099
1561
|
export class Capability extends HomeyAPIV3.ManagerDevices.Capability {
|
|
1100
1562
|
id: string;
|
|
@@ -1113,9 +1575,63 @@ export namespace HomeyAPIV3Local.ManagerDevices {
|
|
|
1113
1575
|
export class Device extends HomeyAPIV3.ManagerDevices.Device {
|
|
1114
1576
|
id: string;
|
|
1115
1577
|
|
|
1578
|
+
driverId: string;
|
|
1579
|
+
|
|
1580
|
+
ownerUri: string;
|
|
1581
|
+
|
|
1116
1582
|
name: string;
|
|
1117
1583
|
|
|
1118
|
-
note: string;
|
|
1584
|
+
note: string | null;
|
|
1585
|
+
|
|
1586
|
+
zone: string;
|
|
1587
|
+
|
|
1588
|
+
data: object;
|
|
1589
|
+
|
|
1590
|
+
icon: string | null;
|
|
1591
|
+
|
|
1592
|
+
iconOverride: string | null;
|
|
1593
|
+
|
|
1594
|
+
iconObj: object | null;
|
|
1595
|
+
|
|
1596
|
+
class: string;
|
|
1597
|
+
|
|
1598
|
+
virtualClass: string | null;
|
|
1599
|
+
|
|
1600
|
+
capabilities: Array<any>;
|
|
1601
|
+
|
|
1602
|
+
capabilitiesObj: object;
|
|
1603
|
+
|
|
1604
|
+
settings: object;
|
|
1605
|
+
|
|
1606
|
+
settingsObj: boolean;
|
|
1607
|
+
|
|
1608
|
+
flags: Array<any>;
|
|
1609
|
+
|
|
1610
|
+
energy: object | null;
|
|
1611
|
+
|
|
1612
|
+
energyObj: object | null;
|
|
1613
|
+
|
|
1614
|
+
ui: object;
|
|
1615
|
+
|
|
1616
|
+
uiIndicator: string | null;
|
|
1617
|
+
|
|
1618
|
+
available: boolean;
|
|
1619
|
+
|
|
1620
|
+
unavailableMessage: string | null;
|
|
1621
|
+
|
|
1622
|
+
warningMessage: string | null;
|
|
1623
|
+
|
|
1624
|
+
ready: boolean;
|
|
1625
|
+
|
|
1626
|
+
repair: boolean | null;
|
|
1627
|
+
|
|
1628
|
+
unpair: boolean | null;
|
|
1629
|
+
|
|
1630
|
+
images: Array<any>;
|
|
1631
|
+
|
|
1632
|
+
color: string | null;
|
|
1633
|
+
|
|
1634
|
+
lastSeenAt: string | null;
|
|
1119
1635
|
|
|
1120
1636
|
uri: string;
|
|
1121
1637
|
|
|
@@ -1175,7 +1691,31 @@ export namespace HomeyAPIV3Local.ManagerDrivers {
|
|
|
1175
1691
|
export class Driver extends HomeyAPIV3.ManagerDrivers.Driver {
|
|
1176
1692
|
id: string;
|
|
1177
1693
|
|
|
1178
|
-
|
|
1694
|
+
ownerUri: string;
|
|
1695
|
+
|
|
1696
|
+
ownerName: string;
|
|
1697
|
+
|
|
1698
|
+
ownerIconObj: object;
|
|
1699
|
+
|
|
1700
|
+
name: string;
|
|
1701
|
+
|
|
1702
|
+
color: string;
|
|
1703
|
+
|
|
1704
|
+
class: string;
|
|
1705
|
+
|
|
1706
|
+
ready: boolean;
|
|
1707
|
+
|
|
1708
|
+
pair: boolean;
|
|
1709
|
+
|
|
1710
|
+
repair: boolean;
|
|
1711
|
+
|
|
1712
|
+
unpair: boolean;
|
|
1713
|
+
|
|
1714
|
+
userPath: string | null;
|
|
1715
|
+
|
|
1716
|
+
deprecated: boolean;
|
|
1717
|
+
|
|
1718
|
+
connectivity: Array<any>;
|
|
1179
1719
|
|
|
1180
1720
|
uri: string;
|
|
1181
1721
|
|
|
@@ -1247,6 +1787,16 @@ export namespace HomeyAPIV3Local.ManagerFlow {
|
|
|
1247
1787
|
export class AdvancedFlow extends HomeyAPIV3.ManagerFlow.AdvancedFlow {
|
|
1248
1788
|
id: string;
|
|
1249
1789
|
|
|
1790
|
+
name: string;
|
|
1791
|
+
|
|
1792
|
+
folder: string | null;
|
|
1793
|
+
|
|
1794
|
+
triggerable: boolean;
|
|
1795
|
+
|
|
1796
|
+
enabled: boolean;
|
|
1797
|
+
|
|
1798
|
+
cards: object;
|
|
1799
|
+
|
|
1250
1800
|
uri: string;
|
|
1251
1801
|
|
|
1252
1802
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1263,6 +1813,20 @@ export namespace HomeyAPIV3Local.ManagerFlow {
|
|
|
1263
1813
|
export class Flow extends HomeyAPIV3.ManagerFlow.Flow {
|
|
1264
1814
|
id: string;
|
|
1265
1815
|
|
|
1816
|
+
name: string;
|
|
1817
|
+
|
|
1818
|
+
folder: string | null;
|
|
1819
|
+
|
|
1820
|
+
triggerable: boolean;
|
|
1821
|
+
|
|
1822
|
+
enabled: boolean;
|
|
1823
|
+
|
|
1824
|
+
trigger: object;
|
|
1825
|
+
|
|
1826
|
+
conditions: Array<any>;
|
|
1827
|
+
|
|
1828
|
+
actions: Array<any>;
|
|
1829
|
+
|
|
1266
1830
|
uri: string;
|
|
1267
1831
|
|
|
1268
1832
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1279,6 +1843,36 @@ export namespace HomeyAPIV3Local.ManagerFlow {
|
|
|
1279
1843
|
export class FlowCardAction extends HomeyAPIV3.ManagerFlow.FlowCardAction {
|
|
1280
1844
|
id: string;
|
|
1281
1845
|
|
|
1846
|
+
ownerId: string;
|
|
1847
|
+
|
|
1848
|
+
ownerUri: string;
|
|
1849
|
+
|
|
1850
|
+
ownerName: string;
|
|
1851
|
+
|
|
1852
|
+
title: string;
|
|
1853
|
+
|
|
1854
|
+
titleFormatted: string | null;
|
|
1855
|
+
|
|
1856
|
+
hint: string | null;
|
|
1857
|
+
|
|
1858
|
+
args: Array<any> | null;
|
|
1859
|
+
|
|
1860
|
+
droptoken: Array<any> | null;
|
|
1861
|
+
|
|
1862
|
+
deprecated: boolean | null;
|
|
1863
|
+
|
|
1864
|
+
highlight: boolean | null;
|
|
1865
|
+
|
|
1866
|
+
duration: boolean;
|
|
1867
|
+
|
|
1868
|
+
durationMin: number | null;
|
|
1869
|
+
|
|
1870
|
+
durationMax: number | null;
|
|
1871
|
+
|
|
1872
|
+
tokens: Array<any> | null;
|
|
1873
|
+
|
|
1874
|
+
advanced: boolean;
|
|
1875
|
+
|
|
1282
1876
|
uri: string;
|
|
1283
1877
|
|
|
1284
1878
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1294,6 +1888,26 @@ export namespace HomeyAPIV3Local.ManagerFlow {
|
|
|
1294
1888
|
.FlowCardCondition {
|
|
1295
1889
|
id: string;
|
|
1296
1890
|
|
|
1891
|
+
ownerId: string;
|
|
1892
|
+
|
|
1893
|
+
ownerUri: string;
|
|
1894
|
+
|
|
1895
|
+
ownerName: string;
|
|
1896
|
+
|
|
1897
|
+
title: string;
|
|
1898
|
+
|
|
1899
|
+
titleFormatted: string | null;
|
|
1900
|
+
|
|
1901
|
+
hint: string | null;
|
|
1902
|
+
|
|
1903
|
+
args: Array<any> | null;
|
|
1904
|
+
|
|
1905
|
+
droptoken: Array<any> | null;
|
|
1906
|
+
|
|
1907
|
+
deprecated: boolean | null;
|
|
1908
|
+
|
|
1909
|
+
highlight: boolean | null;
|
|
1910
|
+
|
|
1297
1911
|
uri: string;
|
|
1298
1912
|
|
|
1299
1913
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1308,6 +1922,28 @@ export namespace HomeyAPIV3Local.ManagerFlow {
|
|
|
1308
1922
|
export class FlowCardTrigger extends HomeyAPIV3.ManagerFlow.FlowCardTrigger {
|
|
1309
1923
|
id: string;
|
|
1310
1924
|
|
|
1925
|
+
ownerId: string;
|
|
1926
|
+
|
|
1927
|
+
ownerUri: string;
|
|
1928
|
+
|
|
1929
|
+
ownerName: string;
|
|
1930
|
+
|
|
1931
|
+
title: string;
|
|
1932
|
+
|
|
1933
|
+
titleFormatted: string | null;
|
|
1934
|
+
|
|
1935
|
+
hint: string | null;
|
|
1936
|
+
|
|
1937
|
+
args: Array<any> | null;
|
|
1938
|
+
|
|
1939
|
+
droptoken: Array<any> | null;
|
|
1940
|
+
|
|
1941
|
+
deprecated: boolean | null;
|
|
1942
|
+
|
|
1943
|
+
highlight: boolean | null;
|
|
1944
|
+
|
|
1945
|
+
tokens: Array<any> | null;
|
|
1946
|
+
|
|
1311
1947
|
uri: string;
|
|
1312
1948
|
|
|
1313
1949
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1321,6 +1957,10 @@ export namespace HomeyAPIV3Local.ManagerFlow {
|
|
|
1321
1957
|
|
|
1322
1958
|
export class FlowFolder {
|
|
1323
1959
|
id: string;
|
|
1960
|
+
|
|
1961
|
+
name: string;
|
|
1962
|
+
|
|
1963
|
+
parent: string | null;
|
|
1324
1964
|
}
|
|
1325
1965
|
}
|
|
1326
1966
|
|
|
@@ -1328,6 +1968,18 @@ export namespace HomeyAPIV3Local.ManagerFlowToken {
|
|
|
1328
1968
|
export class FlowToken extends HomeyAPIV3.ManagerFlowToken.FlowToken {
|
|
1329
1969
|
id: string;
|
|
1330
1970
|
|
|
1971
|
+
ownerId: string;
|
|
1972
|
+
|
|
1973
|
+
ownerUri: string;
|
|
1974
|
+
|
|
1975
|
+
ownerName: string;
|
|
1976
|
+
|
|
1977
|
+
type: string;
|
|
1978
|
+
|
|
1979
|
+
title: string;
|
|
1980
|
+
|
|
1981
|
+
example: string | null;
|
|
1982
|
+
|
|
1331
1983
|
uri: string;
|
|
1332
1984
|
|
|
1333
1985
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1346,9 +1998,15 @@ export namespace HomeyAPIV3Local.ManagerIcons {
|
|
|
1346
1998
|
}
|
|
1347
1999
|
}
|
|
1348
2000
|
|
|
1349
|
-
export namespace HomeyAPIV3Local.ManagerImages {
|
|
1350
|
-
export class Image {
|
|
1351
|
-
id: string;
|
|
2001
|
+
export namespace HomeyAPIV3Local.ManagerImages {
|
|
2002
|
+
export class Image {
|
|
2003
|
+
id: string;
|
|
2004
|
+
|
|
2005
|
+
ownerUri: string;
|
|
2006
|
+
|
|
2007
|
+
url: string;
|
|
2008
|
+
|
|
2009
|
+
lastUpdated: string;
|
|
1352
2010
|
}
|
|
1353
2011
|
}
|
|
1354
2012
|
|
|
@@ -1356,6 +2014,26 @@ export namespace HomeyAPIV3Local.ManagerInsights {
|
|
|
1356
2014
|
export class Log extends HomeyAPIV3.ManagerInsights.Log {
|
|
1357
2015
|
id: string;
|
|
1358
2016
|
|
|
2017
|
+
ownerUri: string;
|
|
2018
|
+
|
|
2019
|
+
ownerName: string;
|
|
2020
|
+
|
|
2021
|
+
ownerId: string;
|
|
2022
|
+
|
|
2023
|
+
type: string;
|
|
2024
|
+
|
|
2025
|
+
title: string;
|
|
2026
|
+
|
|
2027
|
+
titleTrue: string | null;
|
|
2028
|
+
|
|
2029
|
+
titleFalse: string | null;
|
|
2030
|
+
|
|
2031
|
+
units: string | null;
|
|
2032
|
+
|
|
2033
|
+
decimals: number | null;
|
|
2034
|
+
|
|
2035
|
+
lastValue: any | null;
|
|
2036
|
+
|
|
1359
2037
|
uri: string;
|
|
1360
2038
|
|
|
1361
2039
|
manager: HomeyAPIV3.Manager;
|
|
@@ -1379,6 +2057,22 @@ export namespace HomeyAPIV3Local.ManagerLogic {
|
|
|
1379
2057
|
name: string;
|
|
1380
2058
|
|
|
1381
2059
|
type: string;
|
|
2060
|
+
|
|
2061
|
+
value: string | number | boolean;
|
|
2062
|
+
}
|
|
2063
|
+
}
|
|
2064
|
+
|
|
2065
|
+
export namespace HomeyAPIV3Local.ManagerMoods {
|
|
2066
|
+
export class Mood {
|
|
2067
|
+
id: string;
|
|
2068
|
+
|
|
2069
|
+
name: string;
|
|
2070
|
+
|
|
2071
|
+
preset: string | null;
|
|
2072
|
+
|
|
2073
|
+
zone: string;
|
|
2074
|
+
|
|
2075
|
+
devices: object;
|
|
1382
2076
|
}
|
|
1383
2077
|
}
|
|
1384
2078
|
|
|
@@ -1388,6 +2082,8 @@ export namespace HomeyAPIV3Local.ManagerNotifications {
|
|
|
1388
2082
|
|
|
1389
2083
|
ownerUri: string;
|
|
1390
2084
|
|
|
2085
|
+
ownerName: string;
|
|
2086
|
+
|
|
1391
2087
|
dateCreated: string;
|
|
1392
2088
|
|
|
1393
2089
|
excerpt: string;
|
|
@@ -1417,6 +2113,28 @@ export namespace HomeyAPIV3Local.ManagerSessions {
|
|
|
1417
2113
|
export namespace HomeyAPIV3Local.ManagerUsers {
|
|
1418
2114
|
export class User {
|
|
1419
2115
|
id: string;
|
|
2116
|
+
|
|
2117
|
+
name: string | null;
|
|
2118
|
+
|
|
2119
|
+
role: string;
|
|
2120
|
+
|
|
2121
|
+
properties: object;
|
|
2122
|
+
|
|
2123
|
+
athomId: string | null;
|
|
2124
|
+
|
|
2125
|
+
enabled: boolean;
|
|
2126
|
+
|
|
2127
|
+
enabledUntil: string | null;
|
|
2128
|
+
|
|
2129
|
+
present: boolean | null;
|
|
2130
|
+
|
|
2131
|
+
asleep: boolean | null;
|
|
2132
|
+
|
|
2133
|
+
avatar: string | null;
|
|
2134
|
+
|
|
2135
|
+
verified: boolean;
|
|
2136
|
+
|
|
2137
|
+
inviteUrl: string | null;
|
|
1420
2138
|
}
|
|
1421
2139
|
}
|
|
1422
2140
|
|
|
@@ -1522,6 +2240,18 @@ export namespace HomeyAPIV3Local.ManagerZones {
|
|
|
1522
2240
|
export class Zone extends HomeyAPIV3.ManagerZones.Zone {
|
|
1523
2241
|
id: string;
|
|
1524
2242
|
|
|
2243
|
+
name: string;
|
|
2244
|
+
|
|
2245
|
+
parent: string | null;
|
|
2246
|
+
|
|
2247
|
+
icon: string;
|
|
2248
|
+
|
|
2249
|
+
active: boolean;
|
|
2250
|
+
|
|
2251
|
+
activeOrigins: Array<any>;
|
|
2252
|
+
|
|
2253
|
+
activeLastUpdated: string | null;
|
|
2254
|
+
|
|
1525
2255
|
uri: string;
|
|
1526
2256
|
|
|
1527
2257
|
manager: HomeyAPIV3.Manager;
|
|
@@ -2091,6 +2821,74 @@ export namespace HomeyAPIV3Cloud {
|
|
|
2091
2821
|
getState(): Promise<any>;
|
|
2092
2822
|
}
|
|
2093
2823
|
|
|
2824
|
+
export class ManagerDashboards extends HomeyAPIV3.ManagerDashboards {
|
|
2825
|
+
getState(): Promise<any>;
|
|
2826
|
+
|
|
2827
|
+
getDashboards(): Promise<{
|
|
2828
|
+
[key: string]: HomeyAPIV3Cloud.ManagerDashboards.Dashboard;
|
|
2829
|
+
}>;
|
|
2830
|
+
|
|
2831
|
+
getDashboard(opts: {
|
|
2832
|
+
id: string;
|
|
2833
|
+
}): Promise<HomeyAPIV3Cloud.ManagerDashboards.Dashboard>;
|
|
2834
|
+
|
|
2835
|
+
createDashboard(opts: {
|
|
2836
|
+
dashboard: {
|
|
2837
|
+
name: string;
|
|
2838
|
+
|
|
2839
|
+
columns: Array<any>;
|
|
2840
|
+
};
|
|
2841
|
+
}): Promise<HomeyAPIV3Cloud.ManagerDashboards.Dashboard>;
|
|
2842
|
+
|
|
2843
|
+
updateDashboard(opts: {
|
|
2844
|
+
id: string;
|
|
2845
|
+
|
|
2846
|
+
dashboard: {
|
|
2847
|
+
name?: string;
|
|
2848
|
+
|
|
2849
|
+
columns?: Array<any>;
|
|
2850
|
+
};
|
|
2851
|
+
}): Promise<HomeyAPIV3Cloud.ManagerDashboards.Dashboard>;
|
|
2852
|
+
|
|
2853
|
+
deleteDashboard(opts: { id: string }): Promise<any>;
|
|
2854
|
+
|
|
2855
|
+
getAppWidgets(): Promise<{
|
|
2856
|
+
[key: string]: HomeyAPIV3Cloud.ManagerDashboards.AppWidget;
|
|
2857
|
+
}>;
|
|
2858
|
+
|
|
2859
|
+
getAppWidget(opts: {
|
|
2860
|
+
id: string;
|
|
2861
|
+
}): Promise<HomeyAPIV3Cloud.ManagerDashboards.AppWidget>;
|
|
2862
|
+
|
|
2863
|
+
getAppWidgetAutocomplete(opts: {
|
|
2864
|
+
id: string;
|
|
2865
|
+
|
|
2866
|
+
settingId: string;
|
|
2867
|
+
|
|
2868
|
+
query: string;
|
|
2869
|
+
|
|
2870
|
+
settings?: object;
|
|
2871
|
+
}): Promise<any>;
|
|
2872
|
+
|
|
2873
|
+
getWidgetStores(): Promise<{
|
|
2874
|
+
[key: string]: HomeyAPIV3Cloud.ManagerDashboards.WidgetStore;
|
|
2875
|
+
}>;
|
|
2876
|
+
|
|
2877
|
+
getWidgetStore(opts: {
|
|
2878
|
+
id: string;
|
|
2879
|
+
}): Promise<HomeyAPIV3Cloud.ManagerDashboards.WidgetStore>;
|
|
2880
|
+
|
|
2881
|
+
getWidgetStoreState(opts: { id: string }): Promise<any>;
|
|
2882
|
+
|
|
2883
|
+
setWidgetStoreState(opts: {
|
|
2884
|
+
id: string;
|
|
2885
|
+
|
|
2886
|
+
state: object;
|
|
2887
|
+
|
|
2888
|
+
replace?: boolean;
|
|
2889
|
+
}): Promise<any>;
|
|
2890
|
+
}
|
|
2891
|
+
|
|
2094
2892
|
export class ManagerDatabase extends HomeyAPIV3.ManagerDatabase {
|
|
2095
2893
|
getState(): Promise<any>;
|
|
2096
2894
|
}
|
|
@@ -2129,6 +2927,8 @@ export namespace HomeyAPIV3Cloud {
|
|
|
2129
2927
|
virtualClass?: string;
|
|
2130
2928
|
|
|
2131
2929
|
uiIndicator?: string;
|
|
2930
|
+
|
|
2931
|
+
hidden?: boolean;
|
|
2132
2932
|
};
|
|
2133
2933
|
}): Promise<HomeyAPIV3Cloud.ManagerDevices.Device>;
|
|
2134
2934
|
|
|
@@ -2151,6 +2951,54 @@ export namespace HomeyAPIV3Cloud {
|
|
|
2151
2951
|
|
|
2152
2952
|
transactionId?: string;
|
|
2153
2953
|
}): Promise<any>;
|
|
2954
|
+
|
|
2955
|
+
createGroup(opts: {
|
|
2956
|
+
group: {
|
|
2957
|
+
name: string;
|
|
2958
|
+
|
|
2959
|
+
class: string;
|
|
2960
|
+
|
|
2961
|
+
zoneId: string;
|
|
2962
|
+
|
|
2963
|
+
deviceIds: Array<any>;
|
|
2964
|
+
|
|
2965
|
+
iconOverride?: string;
|
|
2966
|
+
|
|
2967
|
+
iconDeviceId?: string;
|
|
2968
|
+
};
|
|
2969
|
+
}): Promise<any>;
|
|
2970
|
+
|
|
2971
|
+
deleteDeviceFromGroup(opts: {
|
|
2972
|
+
deviceId: string;
|
|
2973
|
+
|
|
2974
|
+
groupId: string;
|
|
2975
|
+
}): Promise<any>;
|
|
2976
|
+
|
|
2977
|
+
updateGroup(opts: {
|
|
2978
|
+
id: string;
|
|
2979
|
+
|
|
2980
|
+
group: {
|
|
2981
|
+
name?: string;
|
|
2982
|
+
|
|
2983
|
+
deviceIds?: Array<any>;
|
|
2984
|
+
|
|
2985
|
+
iconOverride?: string;
|
|
2986
|
+
|
|
2987
|
+
iconDeviceId?: string;
|
|
2988
|
+
};
|
|
2989
|
+
}): Promise<any>;
|
|
2990
|
+
|
|
2991
|
+
hideDeviceFromExternalService(opts: {
|
|
2992
|
+
id: string;
|
|
2993
|
+
|
|
2994
|
+
service: string;
|
|
2995
|
+
}): Promise<any>;
|
|
2996
|
+
|
|
2997
|
+
unhideDeviceFromExternalService(opts: {
|
|
2998
|
+
id: string;
|
|
2999
|
+
|
|
3000
|
+
service: string;
|
|
3001
|
+
}): Promise<any>;
|
|
2154
3002
|
}
|
|
2155
3003
|
|
|
2156
3004
|
export class ManagerDevkit extends HomeyAPIV3.ManagerDevkit {
|
|
@@ -2308,6 +3156,14 @@ export namespace HomeyAPIV3Cloud {
|
|
|
2308
3156
|
|
|
2309
3157
|
unsetOptionWaterPriceFixed(): Promise<any>;
|
|
2310
3158
|
|
|
3159
|
+
getOptionElectricityPriceDynamicPreferredInterval(): Promise<any>;
|
|
3160
|
+
|
|
3161
|
+
setOptionElectricityPriceDynamicPreferredInterval(opts: {
|
|
3162
|
+
value: any;
|
|
3163
|
+
}): Promise<any>;
|
|
3164
|
+
|
|
3165
|
+
unsetOptionElectricityPriceDynamicPreferredInterval(): Promise<any>;
|
|
3166
|
+
|
|
2311
3167
|
getState(): Promise<any>;
|
|
2312
3168
|
|
|
2313
3169
|
getLiveReport(opts: { zone?: string }): Promise<any>;
|
|
@@ -2351,6 +3207,38 @@ export namespace HomeyAPIV3Cloud {
|
|
|
2351
3207
|
deviceIds?: Array<any>;
|
|
2352
3208
|
};
|
|
2353
3209
|
}): Promise<any>;
|
|
3210
|
+
|
|
3211
|
+
fetchDynamicElectricityPrices(opts: { date: string }): Promise<any>;
|
|
3212
|
+
|
|
3213
|
+
setDynamicElectricityPriceUserCosts(opts: {
|
|
3214
|
+
mathExpression: string;
|
|
3215
|
+
|
|
3216
|
+
type?: string;
|
|
3217
|
+
}): Promise<any>;
|
|
3218
|
+
|
|
3219
|
+
getDynamicElectricityPriceUserCosts(): Promise<any>;
|
|
3220
|
+
|
|
3221
|
+
unsetDynamicElectricityPriceUserCosts(): Promise<any>;
|
|
3222
|
+
|
|
3223
|
+
setElectricityPriceType(opts: { type: string }): Promise<any>;
|
|
3224
|
+
|
|
3225
|
+
getElectricityPriceType(): Promise<any>;
|
|
3226
|
+
|
|
3227
|
+
getDynamicPricesElectricityZones(): Promise<any>;
|
|
3228
|
+
|
|
3229
|
+
getDynamicPricesElectricityZone(): Promise<any>;
|
|
3230
|
+
|
|
3231
|
+
setDynamicPricesElectricityZone(opts: {
|
|
3232
|
+
options: {
|
|
3233
|
+
zoneId?: string;
|
|
3234
|
+
|
|
3235
|
+
zoneVersion?: string;
|
|
3236
|
+
|
|
3237
|
+
zoneName?: string;
|
|
3238
|
+
|
|
3239
|
+
zoneCountryKey?: string;
|
|
3240
|
+
};
|
|
3241
|
+
}): Promise<any>;
|
|
2354
3242
|
}
|
|
2355
3243
|
|
|
2356
3244
|
export class ManagerEnergyDongle extends HomeyAPIV3.ManagerEnergyDongle {
|
|
@@ -2695,6 +3583,40 @@ export namespace HomeyAPIV3Cloud {
|
|
|
2695
3583
|
}): Promise<any>;
|
|
2696
3584
|
}
|
|
2697
3585
|
|
|
3586
|
+
export class ManagerMoods extends HomeyAPIV3.ManagerMoods {
|
|
3587
|
+
getState(): Promise<any>;
|
|
3588
|
+
|
|
3589
|
+
getMoods(): Promise<{ [key: string]: HomeyAPIV3Cloud.ManagerMoods.Mood }>;
|
|
3590
|
+
|
|
3591
|
+
getMood(opts: { id: string }): Promise<HomeyAPIV3Cloud.ManagerMoods.Mood>;
|
|
3592
|
+
|
|
3593
|
+
createMood(opts: {
|
|
3594
|
+
mood: {
|
|
3595
|
+
name: string;
|
|
3596
|
+
|
|
3597
|
+
devices: object;
|
|
3598
|
+
|
|
3599
|
+
preset?: string;
|
|
3600
|
+
};
|
|
3601
|
+
}): Promise<HomeyAPIV3Cloud.ManagerMoods.Mood>;
|
|
3602
|
+
|
|
3603
|
+
updateMood(opts: {
|
|
3604
|
+
id: string;
|
|
3605
|
+
|
|
3606
|
+
mood: {
|
|
3607
|
+
name?: string;
|
|
3608
|
+
|
|
3609
|
+
devices?: object;
|
|
3610
|
+
|
|
3611
|
+
preset?: string;
|
|
3612
|
+
};
|
|
3613
|
+
}): Promise<HomeyAPIV3Cloud.ManagerMoods.Mood>;
|
|
3614
|
+
|
|
3615
|
+
setMood(opts: { id: string }): Promise<any>;
|
|
3616
|
+
|
|
3617
|
+
deleteMood(opts: { id: string }): Promise<any>;
|
|
3618
|
+
}
|
|
3619
|
+
|
|
2698
3620
|
export class ManagerNotifications extends HomeyAPIV3.ManagerNotifications {
|
|
2699
3621
|
getState(): Promise<any>;
|
|
2700
3622
|
|
|
@@ -3627,6 +4549,74 @@ export namespace HomeyAPIV3Local {
|
|
|
3627
4549
|
getState(): Promise<any>;
|
|
3628
4550
|
}
|
|
3629
4551
|
|
|
4552
|
+
export class ManagerDashboards extends HomeyAPIV3.ManagerDashboards {
|
|
4553
|
+
getState(): Promise<any>;
|
|
4554
|
+
|
|
4555
|
+
getDashboards(): Promise<{
|
|
4556
|
+
[key: string]: HomeyAPIV3Local.ManagerDashboards.Dashboard;
|
|
4557
|
+
}>;
|
|
4558
|
+
|
|
4559
|
+
getDashboard(opts: {
|
|
4560
|
+
id: string;
|
|
4561
|
+
}): Promise<HomeyAPIV3Local.ManagerDashboards.Dashboard>;
|
|
4562
|
+
|
|
4563
|
+
createDashboard(opts: {
|
|
4564
|
+
dashboard: {
|
|
4565
|
+
name: string;
|
|
4566
|
+
|
|
4567
|
+
columns: Array<any>;
|
|
4568
|
+
};
|
|
4569
|
+
}): Promise<HomeyAPIV3Local.ManagerDashboards.Dashboard>;
|
|
4570
|
+
|
|
4571
|
+
updateDashboard(opts: {
|
|
4572
|
+
id: string;
|
|
4573
|
+
|
|
4574
|
+
dashboard: {
|
|
4575
|
+
name?: string;
|
|
4576
|
+
|
|
4577
|
+
columns?: Array<any>;
|
|
4578
|
+
};
|
|
4579
|
+
}): Promise<HomeyAPIV3Local.ManagerDashboards.Dashboard>;
|
|
4580
|
+
|
|
4581
|
+
deleteDashboard(opts: { id: string }): Promise<any>;
|
|
4582
|
+
|
|
4583
|
+
getAppWidgets(): Promise<{
|
|
4584
|
+
[key: string]: HomeyAPIV3Local.ManagerDashboards.AppWidget;
|
|
4585
|
+
}>;
|
|
4586
|
+
|
|
4587
|
+
getAppWidget(opts: {
|
|
4588
|
+
id: string;
|
|
4589
|
+
}): Promise<HomeyAPIV3Local.ManagerDashboards.AppWidget>;
|
|
4590
|
+
|
|
4591
|
+
getAppWidgetAutocomplete(opts: {
|
|
4592
|
+
id: string;
|
|
4593
|
+
|
|
4594
|
+
settingId: string;
|
|
4595
|
+
|
|
4596
|
+
query: string;
|
|
4597
|
+
|
|
4598
|
+
settings?: object;
|
|
4599
|
+
}): Promise<any>;
|
|
4600
|
+
|
|
4601
|
+
getWidgetStores(): Promise<{
|
|
4602
|
+
[key: string]: HomeyAPIV3Local.ManagerDashboards.WidgetStore;
|
|
4603
|
+
}>;
|
|
4604
|
+
|
|
4605
|
+
getWidgetStore(opts: {
|
|
4606
|
+
id: string;
|
|
4607
|
+
}): Promise<HomeyAPIV3Local.ManagerDashboards.WidgetStore>;
|
|
4608
|
+
|
|
4609
|
+
getWidgetStoreState(opts: { id: string }): Promise<any>;
|
|
4610
|
+
|
|
4611
|
+
setWidgetStoreState(opts: {
|
|
4612
|
+
id: string;
|
|
4613
|
+
|
|
4614
|
+
state: object;
|
|
4615
|
+
|
|
4616
|
+
replace?: boolean;
|
|
4617
|
+
}): Promise<any>;
|
|
4618
|
+
}
|
|
4619
|
+
|
|
3630
4620
|
export class ManagerDatabase extends HomeyAPIV3.ManagerDatabase {
|
|
3631
4621
|
getState(): Promise<any>;
|
|
3632
4622
|
}
|
|
@@ -4361,6 +5351,40 @@ export namespace HomeyAPIV3Local {
|
|
|
4361
5351
|
getState(): Promise<any>;
|
|
4362
5352
|
}
|
|
4363
5353
|
|
|
5354
|
+
export class ManagerMoods extends HomeyAPIV3.ManagerMoods {
|
|
5355
|
+
getState(): Promise<any>;
|
|
5356
|
+
|
|
5357
|
+
getMoods(): Promise<{ [key: string]: HomeyAPIV3Local.ManagerMoods.Mood }>;
|
|
5358
|
+
|
|
5359
|
+
getMood(opts: { id: string }): Promise<HomeyAPIV3Local.ManagerMoods.Mood>;
|
|
5360
|
+
|
|
5361
|
+
createMood(opts: {
|
|
5362
|
+
mood: {
|
|
5363
|
+
name: string;
|
|
5364
|
+
|
|
5365
|
+
devices: object;
|
|
5366
|
+
|
|
5367
|
+
preset?: string;
|
|
5368
|
+
};
|
|
5369
|
+
}): Promise<HomeyAPIV3Local.ManagerMoods.Mood>;
|
|
5370
|
+
|
|
5371
|
+
updateMood(opts: {
|
|
5372
|
+
id: string;
|
|
5373
|
+
|
|
5374
|
+
mood: {
|
|
5375
|
+
name?: string;
|
|
5376
|
+
|
|
5377
|
+
devices?: object;
|
|
5378
|
+
|
|
5379
|
+
preset?: string;
|
|
5380
|
+
};
|
|
5381
|
+
}): Promise<HomeyAPIV3Local.ManagerMoods.Mood>;
|
|
5382
|
+
|
|
5383
|
+
setMood(opts: { id: string }): Promise<any>;
|
|
5384
|
+
|
|
5385
|
+
deleteMood(opts: { id: string }): Promise<any>;
|
|
5386
|
+
}
|
|
5387
|
+
|
|
4364
5388
|
export class ManagerNotifications extends HomeyAPIV3.ManagerNotifications {
|
|
4365
5389
|
getState(): Promise<any>;
|
|
4366
5390
|
|