homey-api 3.0.0-rc.9 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/assets/specifications/AthomCloudAPI.json +16 -0
- package/assets/specifications/HomeyAPIV3Local.json +173 -7
- package/assets/types/homey-api.d.ts +496 -223
- package/assets/types/homey-api.private.d.ts +542 -223
- package/index.browser.js +1 -0
- package/index.js +39 -20
- package/lib/API.js +6 -0
- package/lib/AthomCloudAPI/StorageAdapter.js +1 -0
- package/lib/AthomCloudAPI/User.js +4 -0
- package/lib/HomeyAPI/HomeyAPI.js +123 -9
- package/lib/HomeyAPI/HomeyAPIV1.js +8 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerDevices/Device.js +2 -1
- package/lib/HomeyAPI/HomeyAPIV2/ManagerDevkit.js +9 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/AdvancedFlow.js +3 -1
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/Flow.js +2 -0
- package/lib/HomeyAPI/HomeyAPIV2/ManagerFlow.js +1 -1
- package/lib/HomeyAPI/HomeyAPIV2.js +10 -0
- package/lib/HomeyAPI/HomeyAPIV3/Manager.js +10 -4
- package/lib/HomeyAPI/HomeyAPIV3/ManagerDevices/Device.js +2 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerDevices/DeviceCapability.js +3 -3
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlow/AdvancedFlow.js +119 -0
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlow/Flow.js +96 -1
- package/lib/HomeyAPI/HomeyAPIV3/ManagerFlowToken/FlowToken.js +8 -3
- package/lib/HomeyAPI/HomeyAPIV3.js +22 -17
- package/lib/HomeyAPI/HomeyAPIV3Cloud.js +8 -0
- package/lib/HomeyAPI/HomeyAPIV3Local/ManagerDevkit.js +32 -0
- package/lib/HomeyAPI/HomeyAPIV3Local.js +14 -0
- package/package.json +4 -3
|
@@ -267,6 +267,19 @@
|
|
|
267
267
|
):
|
|
268
268
|
string | null;
|
|
269
269
|
|
|
270
|
+
hasRole(
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
roleId: string,
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
):
|
|
281
|
+
any;
|
|
282
|
+
|
|
270
283
|
createAppAPI(
|
|
271
284
|
|
|
272
285
|
|
|
@@ -287,6 +300,33 @@
|
|
|
287
300
|
|
|
288
301
|
|
|
289
302
|
|
|
303
|
+
):
|
|
304
|
+
Promise<any>;
|
|
305
|
+
|
|
306
|
+
createLocalAPI(
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
opts: {
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
address: String,
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
token: String,
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
debug: function | null,
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
},
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
290
330
|
):
|
|
291
331
|
Promise<any>;
|
|
292
332
|
|
|
@@ -321,6 +361,19 @@
|
|
|
321
361
|
):
|
|
322
362
|
string | null;
|
|
323
363
|
|
|
364
|
+
hasRole(
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
roleId: string,
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
):
|
|
375
|
+
any;
|
|
376
|
+
|
|
324
377
|
}
|
|
325
378
|
|
|
326
379
|
export class HomeyAPIV2 extends HomeyAPI {
|
|
@@ -352,6 +405,19 @@
|
|
|
352
405
|
):
|
|
353
406
|
string | null;
|
|
354
407
|
|
|
408
|
+
hasRole(
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
roleId: string,
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
):
|
|
419
|
+
any;
|
|
420
|
+
|
|
355
421
|
}
|
|
356
422
|
|
|
357
423
|
export class HomeyAPIV3 extends HomeyAPIV2 {
|
|
@@ -392,6 +458,19 @@
|
|
|
392
458
|
):
|
|
393
459
|
string | null;
|
|
394
460
|
|
|
461
|
+
hasRole(
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
roleId: string,
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
):
|
|
472
|
+
any;
|
|
473
|
+
|
|
395
474
|
}
|
|
396
475
|
|
|
397
476
|
export class HomeyAPIV3Cloud extends HomeyAPIV3 {
|
|
@@ -428,6 +507,19 @@
|
|
|
428
507
|
):
|
|
429
508
|
string | null;
|
|
430
509
|
|
|
510
|
+
hasRole(
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
roleId: string,
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
):
|
|
521
|
+
any;
|
|
522
|
+
|
|
431
523
|
}
|
|
432
524
|
|
|
433
525
|
export class HomeyAPIV3Local extends HomeyAPIV3 {
|
|
@@ -464,6 +556,19 @@
|
|
|
464
556
|
):
|
|
465
557
|
string | null;
|
|
466
558
|
|
|
559
|
+
hasRole(
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
roleId: string,
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
):
|
|
570
|
+
any;
|
|
571
|
+
|
|
467
572
|
}
|
|
468
573
|
|
|
469
574
|
|
|
@@ -686,78 +791,6 @@
|
|
|
686
791
|
|
|
687
792
|
|
|
688
793
|
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
export namespace HomeyAPIV2.ManagerDevices.Device {
|
|
711
|
-
|
|
712
|
-
export class DeviceCapability {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
value: boolean | number | string | null;
|
|
717
|
-
|
|
718
|
-
lastChanged: Date | null;
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
destroy(
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
):
|
|
729
|
-
any;
|
|
730
|
-
|
|
731
|
-
setValue(
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
value: boolean | number | string,
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
opts: object,
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
):
|
|
746
|
-
Promise<any>;
|
|
747
|
-
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
794
|
|
|
762
795
|
|
|
763
796
|
|
|
@@ -795,6 +828,8 @@
|
|
|
795
828
|
|
|
796
829
|
|
|
797
830
|
|
|
831
|
+
|
|
832
|
+
|
|
798
833
|
export namespace HomeyAPIV2.ManagerApps {
|
|
799
834
|
|
|
800
835
|
export class App {
|
|
@@ -960,6 +995,10 @@
|
|
|
960
995
|
|
|
961
996
|
|
|
962
997
|
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
|
|
963
1002
|
|
|
964
1003
|
export namespace HomeyAPIV2.ManagerDevices {
|
|
965
1004
|
|
|
@@ -1071,6 +1110,10 @@
|
|
|
1071
1110
|
|
|
1072
1111
|
|
|
1073
1112
|
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
|
|
1074
1117
|
export namespace HomeyAPIV2.ManagerDrivers {
|
|
1075
1118
|
|
|
1076
1119
|
export class Driver {
|
|
@@ -1137,6 +1180,10 @@
|
|
|
1137
1180
|
|
|
1138
1181
|
|
|
1139
1182
|
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
|
|
1140
1187
|
export namespace HomeyAPIV2.ManagerFlow {
|
|
1141
1188
|
|
|
1142
1189
|
export class AdvancedFlow {
|
|
@@ -1303,6 +1350,18 @@
|
|
|
1303
1350
|
|
|
1304
1351
|
|
|
1305
1352
|
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
|
|
1306
1365
|
export namespace HomeyAPIV2.ManagerFlowToken {
|
|
1307
1366
|
|
|
1308
1367
|
export class FlowToken {
|
|
@@ -1335,6 +1394,8 @@
|
|
|
1335
1394
|
|
|
1336
1395
|
|
|
1337
1396
|
|
|
1397
|
+
|
|
1398
|
+
|
|
1338
1399
|
export namespace HomeyAPIV2.ManagerImages {
|
|
1339
1400
|
|
|
1340
1401
|
export class Image {
|
|
@@ -1357,6 +1418,8 @@
|
|
|
1357
1418
|
|
|
1358
1419
|
|
|
1359
1420
|
|
|
1421
|
+
|
|
1422
|
+
|
|
1360
1423
|
export namespace HomeyAPIV2.ManagerInsights {
|
|
1361
1424
|
|
|
1362
1425
|
export class Log {
|
|
@@ -1387,6 +1450,8 @@
|
|
|
1387
1450
|
|
|
1388
1451
|
|
|
1389
1452
|
|
|
1453
|
+
|
|
1454
|
+
|
|
1390
1455
|
export namespace HomeyAPIV2.ManagerLogic {
|
|
1391
1456
|
|
|
1392
1457
|
export class Variable {
|
|
@@ -1411,6 +1476,10 @@
|
|
|
1411
1476
|
|
|
1412
1477
|
|
|
1413
1478
|
|
|
1479
|
+
|
|
1480
|
+
|
|
1481
|
+
|
|
1482
|
+
|
|
1414
1483
|
export namespace HomeyAPIV2.ManagerNotifications {
|
|
1415
1484
|
|
|
1416
1485
|
export class Notification {
|
|
@@ -1453,6 +1522,8 @@
|
|
|
1453
1522
|
|
|
1454
1523
|
|
|
1455
1524
|
|
|
1525
|
+
|
|
1526
|
+
|
|
1456
1527
|
export namespace HomeyAPIV2.ManagerSessions {
|
|
1457
1528
|
|
|
1458
1529
|
export class Session {
|
|
@@ -1485,6 +1556,8 @@
|
|
|
1485
1556
|
|
|
1486
1557
|
|
|
1487
1558
|
|
|
1559
|
+
|
|
1560
|
+
|
|
1488
1561
|
export namespace HomeyAPIV2.ManagerSpeechOutput {
|
|
1489
1562
|
|
|
1490
1563
|
export class Voice {
|
|
@@ -1513,6 +1586,8 @@
|
|
|
1513
1586
|
|
|
1514
1587
|
|
|
1515
1588
|
|
|
1589
|
+
|
|
1590
|
+
|
|
1516
1591
|
export namespace HomeyAPIV2.ManagerUsers {
|
|
1517
1592
|
|
|
1518
1593
|
export class User {
|
|
@@ -1549,6 +1624,8 @@
|
|
|
1549
1624
|
|
|
1550
1625
|
|
|
1551
1626
|
|
|
1627
|
+
|
|
1628
|
+
|
|
1552
1629
|
export namespace HomeyAPIV2.ManagerZones {
|
|
1553
1630
|
|
|
1554
1631
|
export class Zone {
|
|
@@ -1581,56 +1658,6 @@
|
|
|
1581
1658
|
|
|
1582
1659
|
|
|
1583
1660
|
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
1661
|
export namespace HomeyAPIV3Cloud.ManagerApps {
|
|
1635
1662
|
|
|
1636
1663
|
export class App {
|
|
@@ -1661,6 +1688,10 @@
|
|
|
1661
1688
|
|
|
1662
1689
|
|
|
1663
1690
|
|
|
1691
|
+
|
|
1692
|
+
|
|
1693
|
+
|
|
1694
|
+
|
|
1664
1695
|
export namespace HomeyAPIV3Cloud.ManagerCloud {
|
|
1665
1696
|
|
|
1666
1697
|
export class Webhook {
|
|
@@ -1679,6 +1710,8 @@
|
|
|
1679
1710
|
|
|
1680
1711
|
|
|
1681
1712
|
|
|
1713
|
+
|
|
1714
|
+
|
|
1682
1715
|
export namespace HomeyAPIV3Cloud.ManagerCron {
|
|
1683
1716
|
|
|
1684
1717
|
export class Cronjob {
|
|
@@ -1699,6 +1732,10 @@
|
|
|
1699
1732
|
|
|
1700
1733
|
|
|
1701
1734
|
|
|
1735
|
+
|
|
1736
|
+
|
|
1737
|
+
|
|
1738
|
+
|
|
1702
1739
|
export namespace HomeyAPIV3Cloud.ManagerDevices {
|
|
1703
1740
|
|
|
1704
1741
|
export class Capability {
|
|
@@ -1731,6 +1768,10 @@
|
|
|
1731
1768
|
|
|
1732
1769
|
|
|
1733
1770
|
|
|
1771
|
+
|
|
1772
|
+
|
|
1773
|
+
|
|
1774
|
+
|
|
1734
1775
|
export namespace HomeyAPIV3Cloud.ManagerDrivers {
|
|
1735
1776
|
|
|
1736
1777
|
export class Driver {
|
|
@@ -1761,6 +1802,10 @@
|
|
|
1761
1802
|
|
|
1762
1803
|
|
|
1763
1804
|
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
|
|
1808
|
+
|
|
1764
1809
|
export namespace HomeyAPIV3Cloud.ManagerFlow {
|
|
1765
1810
|
|
|
1766
1811
|
export class AdvancedFlow {
|
|
@@ -1825,6 +1870,18 @@
|
|
|
1825
1870
|
|
|
1826
1871
|
|
|
1827
1872
|
|
|
1873
|
+
|
|
1874
|
+
|
|
1875
|
+
|
|
1876
|
+
|
|
1877
|
+
|
|
1878
|
+
|
|
1879
|
+
|
|
1880
|
+
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
|
|
1884
|
+
|
|
1828
1885
|
export namespace HomeyAPIV3Cloud.ManagerFlowToken {
|
|
1829
1886
|
|
|
1830
1887
|
export class FlowToken {
|
|
@@ -1845,6 +1902,8 @@
|
|
|
1845
1902
|
|
|
1846
1903
|
|
|
1847
1904
|
|
|
1905
|
+
|
|
1906
|
+
|
|
1848
1907
|
export namespace HomeyAPIV3Cloud.ManagerIcons {
|
|
1849
1908
|
|
|
1850
1909
|
export class Icon {
|
|
@@ -1861,6 +1920,8 @@
|
|
|
1861
1920
|
|
|
1862
1921
|
|
|
1863
1922
|
|
|
1923
|
+
|
|
1924
|
+
|
|
1864
1925
|
export namespace HomeyAPIV3Cloud.ManagerImages {
|
|
1865
1926
|
|
|
1866
1927
|
export class Image {
|
|
@@ -1877,6 +1938,8 @@
|
|
|
1877
1938
|
|
|
1878
1939
|
|
|
1879
1940
|
|
|
1941
|
+
|
|
1942
|
+
|
|
1880
1943
|
export namespace HomeyAPIV3Cloud.ManagerInsights {
|
|
1881
1944
|
|
|
1882
1945
|
export class Log {
|
|
@@ -1903,6 +1966,10 @@
|
|
|
1903
1966
|
|
|
1904
1967
|
|
|
1905
1968
|
|
|
1969
|
+
|
|
1970
|
+
|
|
1971
|
+
|
|
1972
|
+
|
|
1906
1973
|
export namespace HomeyAPIV3Cloud.ManagerLogic {
|
|
1907
1974
|
|
|
1908
1975
|
export class Variable {
|
|
@@ -1925,6 +1992,8 @@
|
|
|
1925
1992
|
|
|
1926
1993
|
|
|
1927
1994
|
|
|
1995
|
+
|
|
1996
|
+
|
|
1928
1997
|
export namespace HomeyAPIV3Cloud.ManagerNotifications {
|
|
1929
1998
|
|
|
1930
1999
|
export class Notification {
|
|
@@ -1953,6 +2022,8 @@
|
|
|
1953
2022
|
|
|
1954
2023
|
|
|
1955
2024
|
|
|
2025
|
+
|
|
2026
|
+
|
|
1956
2027
|
export namespace HomeyAPIV3Cloud.ManagerRF {
|
|
1957
2028
|
|
|
1958
2029
|
export class Signal {
|
|
@@ -1973,6 +2044,8 @@
|
|
|
1973
2044
|
|
|
1974
2045
|
|
|
1975
2046
|
|
|
2047
|
+
|
|
2048
|
+
|
|
1976
2049
|
export namespace HomeyAPIV3Cloud.ManagerSessions {
|
|
1977
2050
|
|
|
1978
2051
|
export class Session {
|
|
@@ -1997,6 +2070,8 @@
|
|
|
1997
2070
|
|
|
1998
2071
|
|
|
1999
2072
|
|
|
2073
|
+
|
|
2074
|
+
|
|
2000
2075
|
export namespace HomeyAPIV3Cloud.ManagerUsers {
|
|
2001
2076
|
|
|
2002
2077
|
export class User {
|
|
@@ -2013,6 +2088,8 @@
|
|
|
2013
2088
|
|
|
2014
2089
|
|
|
2015
2090
|
|
|
2091
|
+
|
|
2092
|
+
|
|
2016
2093
|
export namespace HomeyAPIV3Cloud.ManagerVirtualDevice {
|
|
2017
2094
|
|
|
2018
2095
|
export class VirtualDeviceDummySocket {
|
|
@@ -2125,78 +2202,6 @@
|
|
|
2125
2202
|
|
|
2126
2203
|
|
|
2127
2204
|
|
|
2128
|
-
export namespace HomeyAPIV3Cloud.ManagerZones {
|
|
2129
|
-
|
|
2130
|
-
export class Zone {
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
id: string;
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
}
|
|
2139
|
-
|
|
2140
|
-
}
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
2205
|
|
|
2201
2206
|
|
|
2202
2207
|
|
|
@@ -2217,11 +2222,19 @@
|
|
|
2217
2222
|
|
|
2218
2223
|
|
|
2219
2224
|
|
|
2225
|
+
export namespace HomeyAPIV3Cloud.ManagerZones {
|
|
2226
|
+
|
|
2227
|
+
export class Zone {
|
|
2228
|
+
|
|
2220
2229
|
|
|
2221
|
-
|
|
2230
|
+
|
|
2231
|
+
id: string;
|
|
2232
|
+
|
|
2222
2233
|
|
|
2223
|
-
|
|
2234
|
+
|
|
2235
|
+
}
|
|
2224
2236
|
|
|
2237
|
+
}
|
|
2225
2238
|
|
|
2226
2239
|
|
|
2227
2240
|
|
|
@@ -2245,6 +2258,8 @@
|
|
|
2245
2258
|
|
|
2246
2259
|
|
|
2247
2260
|
|
|
2261
|
+
|
|
2262
|
+
|
|
2248
2263
|
export namespace HomeyAPIV3Local.ManagerApps {
|
|
2249
2264
|
|
|
2250
2265
|
export class App {
|
|
@@ -2279,6 +2294,10 @@
|
|
|
2279
2294
|
|
|
2280
2295
|
|
|
2281
2296
|
|
|
2297
|
+
|
|
2298
|
+
|
|
2299
|
+
|
|
2300
|
+
|
|
2282
2301
|
export namespace HomeyAPIV3Local.ManagerCloud {
|
|
2283
2302
|
|
|
2284
2303
|
export class Webhook {
|
|
@@ -2297,6 +2316,8 @@
|
|
|
2297
2316
|
|
|
2298
2317
|
|
|
2299
2318
|
|
|
2319
|
+
|
|
2320
|
+
|
|
2300
2321
|
export namespace HomeyAPIV3Local.ManagerCron {
|
|
2301
2322
|
|
|
2302
2323
|
export class Cronjob {
|
|
@@ -2317,6 +2338,10 @@
|
|
|
2317
2338
|
|
|
2318
2339
|
|
|
2319
2340
|
|
|
2341
|
+
|
|
2342
|
+
|
|
2343
|
+
|
|
2344
|
+
|
|
2320
2345
|
export namespace HomeyAPIV3Local.ManagerDevices {
|
|
2321
2346
|
|
|
2322
2347
|
export class Capability {
|
|
@@ -2349,6 +2374,10 @@
|
|
|
2349
2374
|
|
|
2350
2375
|
|
|
2351
2376
|
|
|
2377
|
+
|
|
2378
|
+
|
|
2379
|
+
|
|
2380
|
+
|
|
2352
2381
|
export namespace HomeyAPIV3Local.ManagerDiscovery {
|
|
2353
2382
|
|
|
2354
2383
|
export class DiscoveryStrategyMAC {
|
|
@@ -2385,6 +2414,12 @@
|
|
|
2385
2414
|
|
|
2386
2415
|
|
|
2387
2416
|
|
|
2417
|
+
|
|
2418
|
+
|
|
2419
|
+
|
|
2420
|
+
|
|
2421
|
+
|
|
2422
|
+
|
|
2388
2423
|
export namespace HomeyAPIV3Local.ManagerDrivers {
|
|
2389
2424
|
|
|
2390
2425
|
export class Driver {
|
|
@@ -2415,8 +2450,22 @@
|
|
|
2415
2450
|
|
|
2416
2451
|
|
|
2417
2452
|
|
|
2453
|
+
|
|
2454
|
+
|
|
2455
|
+
|
|
2456
|
+
|
|
2418
2457
|
export namespace HomeyAPIV3Local.ManagerExperiments {
|
|
2419
2458
|
|
|
2459
|
+
export class ExperimentHomeKit {
|
|
2460
|
+
|
|
2461
|
+
|
|
2462
|
+
|
|
2463
|
+
id: string;
|
|
2464
|
+
|
|
2465
|
+
|
|
2466
|
+
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2420
2469
|
export class ExperimentPowerUser {
|
|
2421
2470
|
|
|
2422
2471
|
|
|
@@ -2451,6 +2500,14 @@
|
|
|
2451
2500
|
|
|
2452
2501
|
|
|
2453
2502
|
|
|
2503
|
+
|
|
2504
|
+
|
|
2505
|
+
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
|
|
2509
|
+
|
|
2510
|
+
|
|
2454
2511
|
export namespace HomeyAPIV3Local.ManagerFlow {
|
|
2455
2512
|
|
|
2456
2513
|
export class AdvancedFlow {
|
|
@@ -2511,7 +2568,19 @@
|
|
|
2511
2568
|
|
|
2512
2569
|
}
|
|
2513
2570
|
|
|
2514
|
-
}
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
|
|
2576
|
+
|
|
2577
|
+
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
|
|
2582
|
+
|
|
2583
|
+
|
|
2515
2584
|
|
|
2516
2585
|
|
|
2517
2586
|
|
|
@@ -2537,6 +2606,8 @@
|
|
|
2537
2606
|
|
|
2538
2607
|
|
|
2539
2608
|
|
|
2609
|
+
|
|
2610
|
+
|
|
2540
2611
|
export namespace HomeyAPIV3Local.ManagerIcons {
|
|
2541
2612
|
|
|
2542
2613
|
export class Icon {
|
|
@@ -2553,6 +2624,8 @@
|
|
|
2553
2624
|
|
|
2554
2625
|
|
|
2555
2626
|
|
|
2627
|
+
|
|
2628
|
+
|
|
2556
2629
|
export namespace HomeyAPIV3Local.ManagerImages {
|
|
2557
2630
|
|
|
2558
2631
|
export class Image {
|
|
@@ -2569,6 +2642,8 @@
|
|
|
2569
2642
|
|
|
2570
2643
|
|
|
2571
2644
|
|
|
2645
|
+
|
|
2646
|
+
|
|
2572
2647
|
export namespace HomeyAPIV3Local.ManagerInsights {
|
|
2573
2648
|
|
|
2574
2649
|
export class Log {
|
|
@@ -2597,6 +2672,10 @@
|
|
|
2597
2672
|
|
|
2598
2673
|
|
|
2599
2674
|
|
|
2675
|
+
|
|
2676
|
+
|
|
2677
|
+
|
|
2678
|
+
|
|
2600
2679
|
export namespace HomeyAPIV3Local.ManagerLogic {
|
|
2601
2680
|
|
|
2602
2681
|
export class Variable {
|
|
@@ -2621,6 +2700,8 @@
|
|
|
2621
2700
|
|
|
2622
2701
|
|
|
2623
2702
|
|
|
2703
|
+
|
|
2704
|
+
|
|
2624
2705
|
export namespace HomeyAPIV3Local.ManagerNotifications {
|
|
2625
2706
|
|
|
2626
2707
|
export class Notification {
|
|
@@ -2647,6 +2728,8 @@
|
|
|
2647
2728
|
|
|
2648
2729
|
|
|
2649
2730
|
|
|
2731
|
+
|
|
2732
|
+
|
|
2650
2733
|
export namespace HomeyAPIV3Local.ManagerRF {
|
|
2651
2734
|
|
|
2652
2735
|
export class Signal {
|
|
@@ -2669,6 +2752,8 @@
|
|
|
2669
2752
|
|
|
2670
2753
|
|
|
2671
2754
|
|
|
2755
|
+
|
|
2756
|
+
|
|
2672
2757
|
export namespace HomeyAPIV3Local.ManagerSessions {
|
|
2673
2758
|
|
|
2674
2759
|
export class Session {
|
|
@@ -2697,6 +2782,8 @@
|
|
|
2697
2782
|
|
|
2698
2783
|
|
|
2699
2784
|
|
|
2785
|
+
|
|
2786
|
+
|
|
2700
2787
|
export namespace HomeyAPIV3Local.ManagerUsers {
|
|
2701
2788
|
|
|
2702
2789
|
export class User {
|
|
@@ -2713,6 +2800,8 @@
|
|
|
2713
2800
|
|
|
2714
2801
|
|
|
2715
2802
|
|
|
2803
|
+
|
|
2804
|
+
|
|
2716
2805
|
export namespace HomeyAPIV3Local.ManagerVirtualDevice {
|
|
2717
2806
|
|
|
2718
2807
|
export class VirtualDeviceDummySocket {
|
|
@@ -2885,28 +2974,6 @@
|
|
|
2885
2974
|
|
|
2886
2975
|
|
|
2887
2976
|
|
|
2888
|
-
export namespace HomeyAPIV3Local.ManagerZones {
|
|
2889
|
-
|
|
2890
|
-
export class Zone {
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
id: string;
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
}
|
|
2899
|
-
|
|
2900
|
-
}
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
2977
|
|
|
2911
2978
|
|
|
2912
2979
|
|
|
@@ -2939,11 +3006,19 @@
|
|
|
2939
3006
|
|
|
2940
3007
|
|
|
2941
3008
|
|
|
3009
|
+
export namespace HomeyAPIV3Local.ManagerZones {
|
|
3010
|
+
|
|
3011
|
+
export class Zone {
|
|
3012
|
+
|
|
2942
3013
|
|
|
2943
|
-
|
|
3014
|
+
|
|
3015
|
+
id: string;
|
|
3016
|
+
|
|
2944
3017
|
|
|
2945
|
-
|
|
3018
|
+
|
|
3019
|
+
}
|
|
2946
3020
|
|
|
3021
|
+
}
|
|
2947
3022
|
|
|
2948
3023
|
|
|
2949
3024
|
|
|
@@ -10769,6 +10844,25 @@
|
|
|
10769
10844
|
|
|
10770
10845
|
|
|
10771
10846
|
|
|
10847
|
+
opts: {
|
|
10848
|
+
|
|
10849
|
+
|
|
10850
|
+
id: string,
|
|
10851
|
+
|
|
10852
|
+
|
|
10853
|
+
},
|
|
10854
|
+
|
|
10855
|
+
|
|
10856
|
+
|
|
10857
|
+
|
|
10858
|
+
):
|
|
10859
|
+
Promise<any>;
|
|
10860
|
+
|
|
10861
|
+
getAppUsage(
|
|
10862
|
+
|
|
10863
|
+
|
|
10864
|
+
|
|
10865
|
+
|
|
10772
10866
|
opts: {
|
|
10773
10867
|
|
|
10774
10868
|
|
|
@@ -10927,6 +11021,29 @@
|
|
|
10927
11021
|
|
|
10928
11022
|
getState(
|
|
10929
11023
|
|
|
11024
|
+
):
|
|
11025
|
+
Promise<any>;
|
|
11026
|
+
|
|
11027
|
+
runCommand(
|
|
11028
|
+
|
|
11029
|
+
|
|
11030
|
+
|
|
11031
|
+
|
|
11032
|
+
opts: {
|
|
11033
|
+
|
|
11034
|
+
|
|
11035
|
+
command: string,
|
|
11036
|
+
|
|
11037
|
+
|
|
11038
|
+
|
|
11039
|
+
opts: object,
|
|
11040
|
+
|
|
11041
|
+
|
|
11042
|
+
},
|
|
11043
|
+
|
|
11044
|
+
|
|
11045
|
+
|
|
11046
|
+
|
|
10930
11047
|
):
|
|
10931
11048
|
Promise<any>;
|
|
10932
11049
|
|
|
@@ -11620,7 +11737,7 @@
|
|
|
11620
11737
|
|
|
11621
11738
|
|
|
11622
11739
|
|
|
11623
|
-
data:
|
|
11740
|
+
data: *,
|
|
11624
11741
|
|
|
11625
11742
|
|
|
11626
11743
|
},
|
|
@@ -11647,7 +11764,7 @@
|
|
|
11647
11764
|
|
|
11648
11765
|
|
|
11649
11766
|
|
|
11650
|
-
data:
|
|
11767
|
+
data: *,
|
|
11651
11768
|
|
|
11652
11769
|
|
|
11653
11770
|
},
|
|
@@ -12555,6 +12672,44 @@
|
|
|
12555
12672
|
):
|
|
12556
12673
|
Promise<HomeyAPIV3Local.ManagerFlowToken.FlowToken>;
|
|
12557
12674
|
|
|
12675
|
+
getFlowToken(
|
|
12676
|
+
|
|
12677
|
+
|
|
12678
|
+
|
|
12679
|
+
|
|
12680
|
+
opts: {
|
|
12681
|
+
|
|
12682
|
+
|
|
12683
|
+
id: string,
|
|
12684
|
+
|
|
12685
|
+
|
|
12686
|
+
},
|
|
12687
|
+
|
|
12688
|
+
|
|
12689
|
+
|
|
12690
|
+
|
|
12691
|
+
):
|
|
12692
|
+
Promise<HomeyAPIV3Local.ManagerFlowToken.FlowToken>;
|
|
12693
|
+
|
|
12694
|
+
getFlowTokenValue(
|
|
12695
|
+
|
|
12696
|
+
|
|
12697
|
+
|
|
12698
|
+
|
|
12699
|
+
opts: {
|
|
12700
|
+
|
|
12701
|
+
|
|
12702
|
+
id: string,
|
|
12703
|
+
|
|
12704
|
+
|
|
12705
|
+
},
|
|
12706
|
+
|
|
12707
|
+
|
|
12708
|
+
|
|
12709
|
+
|
|
12710
|
+
):
|
|
12711
|
+
Promise<any>;
|
|
12712
|
+
|
|
12558
12713
|
isConnected(
|
|
12559
12714
|
|
|
12560
12715
|
):
|
|
@@ -13065,6 +13220,25 @@
|
|
|
13065
13220
|
):
|
|
13066
13221
|
Promise<any>;
|
|
13067
13222
|
|
|
13223
|
+
getVariable(
|
|
13224
|
+
|
|
13225
|
+
|
|
13226
|
+
|
|
13227
|
+
|
|
13228
|
+
opts: {
|
|
13229
|
+
|
|
13230
|
+
|
|
13231
|
+
id: string,
|
|
13232
|
+
|
|
13233
|
+
|
|
13234
|
+
},
|
|
13235
|
+
|
|
13236
|
+
|
|
13237
|
+
|
|
13238
|
+
|
|
13239
|
+
):
|
|
13240
|
+
Promise<HomeyAPIV3Local.ManagerLogic.Variable>;
|
|
13241
|
+
|
|
13068
13242
|
getVariables(
|
|
13069
13243
|
|
|
13070
13244
|
):
|
|
@@ -13410,6 +13584,25 @@
|
|
|
13410
13584
|
|
|
13411
13585
|
|
|
13412
13586
|
|
|
13587
|
+
):
|
|
13588
|
+
Promise<any>;
|
|
13589
|
+
|
|
13590
|
+
getPresent(
|
|
13591
|
+
|
|
13592
|
+
|
|
13593
|
+
|
|
13594
|
+
|
|
13595
|
+
opts: {
|
|
13596
|
+
|
|
13597
|
+
|
|
13598
|
+
id: string,
|
|
13599
|
+
|
|
13600
|
+
|
|
13601
|
+
},
|
|
13602
|
+
|
|
13603
|
+
|
|
13604
|
+
|
|
13605
|
+
|
|
13413
13606
|
):
|
|
13414
13607
|
Promise<any>;
|
|
13415
13608
|
|
|
@@ -13462,6 +13655,25 @@
|
|
|
13462
13655
|
|
|
13463
13656
|
|
|
13464
13657
|
|
|
13658
|
+
):
|
|
13659
|
+
Promise<any>;
|
|
13660
|
+
|
|
13661
|
+
getAsleep(
|
|
13662
|
+
|
|
13663
|
+
|
|
13664
|
+
|
|
13665
|
+
|
|
13666
|
+
opts: {
|
|
13667
|
+
|
|
13668
|
+
|
|
13669
|
+
id: string,
|
|
13670
|
+
|
|
13671
|
+
|
|
13672
|
+
},
|
|
13673
|
+
|
|
13674
|
+
|
|
13675
|
+
|
|
13676
|
+
|
|
13465
13677
|
):
|
|
13466
13678
|
Promise<any>;
|
|
13467
13679
|
|
|
@@ -14496,6 +14708,25 @@
|
|
|
14496
14708
|
|
|
14497
14709
|
getZones(
|
|
14498
14710
|
|
|
14711
|
+
):
|
|
14712
|
+
Promise<HomeyAPIV3Local.ManagerZones.Zone>;
|
|
14713
|
+
|
|
14714
|
+
getZone(
|
|
14715
|
+
|
|
14716
|
+
|
|
14717
|
+
|
|
14718
|
+
|
|
14719
|
+
opts: {
|
|
14720
|
+
|
|
14721
|
+
|
|
14722
|
+
id: string,
|
|
14723
|
+
|
|
14724
|
+
|
|
14725
|
+
},
|
|
14726
|
+
|
|
14727
|
+
|
|
14728
|
+
|
|
14729
|
+
|
|
14499
14730
|
):
|
|
14500
14731
|
Promise<HomeyAPIV3Local.ManagerZones.Zone>;
|
|
14501
14732
|
|
|
@@ -14696,6 +14927,48 @@
|
|
|
14696
14927
|
|
|
14697
14928
|
|
|
14698
14929
|
|
|
14930
|
+
export namespace HomeyAPIV3.ManagerDevices.Device {
|
|
14931
|
+
|
|
14932
|
+
export class DeviceCapability {
|
|
14933
|
+
|
|
14934
|
+
|
|
14935
|
+
|
|
14936
|
+
value: boolean | number | string | null;
|
|
14937
|
+
|
|
14938
|
+
lastChanged: Date | null;
|
|
14939
|
+
|
|
14940
|
+
|
|
14941
|
+
|
|
14942
|
+
destroy(
|
|
14943
|
+
|
|
14944
|
+
|
|
14945
|
+
|
|
14946
|
+
|
|
14947
|
+
|
|
14948
|
+
):
|
|
14949
|
+
any;
|
|
14950
|
+
|
|
14951
|
+
setValue(
|
|
14952
|
+
|
|
14953
|
+
|
|
14954
|
+
|
|
14955
|
+
|
|
14956
|
+
value: boolean | number | string,
|
|
14957
|
+
|
|
14958
|
+
|
|
14959
|
+
|
|
14960
|
+
opts: object,
|
|
14961
|
+
|
|
14962
|
+
|
|
14963
|
+
|
|
14964
|
+
|
|
14965
|
+
):
|
|
14966
|
+
Promise<any>;
|
|
14967
|
+
|
|
14968
|
+
}
|
|
14969
|
+
|
|
14970
|
+
}
|
|
14971
|
+
|
|
14699
14972
|
|
|
14700
14973
|
|
|
14701
14974
|
|