homey-api 3.0.0-rc.9 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -287,6 +287,33 @@
287
287
 
288
288
 
289
289
 
290
+ ):
291
+ Promise<any>;
292
+
293
+ createLocalAPI(
294
+
295
+
296
+
297
+
298
+ opts: {
299
+
300
+
301
+ address: String,
302
+
303
+
304
+
305
+ token: String,
306
+
307
+
308
+
309
+ debug: function | null,
310
+
311
+
312
+ },
313
+
314
+
315
+
316
+
290
317
  ):
291
318
  Promise<any>;
292
319
 
@@ -686,78 +713,6 @@
686
713
 
687
714
 
688
715
 
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
716
 
762
717
 
763
718
 
@@ -795,6 +750,8 @@
795
750
 
796
751
 
797
752
 
753
+
754
+
798
755
  export namespace HomeyAPIV2.ManagerApps {
799
756
 
800
757
  export class App {
@@ -960,6 +917,10 @@
960
917
 
961
918
 
962
919
 
920
+
921
+
922
+
923
+
963
924
 
964
925
  export namespace HomeyAPIV2.ManagerDevices {
965
926
 
@@ -1071,6 +1032,10 @@
1071
1032
 
1072
1033
 
1073
1034
 
1035
+
1036
+
1037
+
1038
+
1074
1039
  export namespace HomeyAPIV2.ManagerDrivers {
1075
1040
 
1076
1041
  export class Driver {
@@ -1137,6 +1102,10 @@
1137
1102
 
1138
1103
 
1139
1104
 
1105
+
1106
+
1107
+
1108
+
1140
1109
  export namespace HomeyAPIV2.ManagerFlow {
1141
1110
 
1142
1111
  export class AdvancedFlow {
@@ -1303,6 +1272,18 @@
1303
1272
 
1304
1273
 
1305
1274
 
1275
+
1276
+
1277
+
1278
+
1279
+
1280
+
1281
+
1282
+
1283
+
1284
+
1285
+
1286
+
1306
1287
  export namespace HomeyAPIV2.ManagerFlowToken {
1307
1288
 
1308
1289
  export class FlowToken {
@@ -1335,6 +1316,8 @@
1335
1316
 
1336
1317
 
1337
1318
 
1319
+
1320
+
1338
1321
  export namespace HomeyAPIV2.ManagerImages {
1339
1322
 
1340
1323
  export class Image {
@@ -1357,6 +1340,8 @@
1357
1340
 
1358
1341
 
1359
1342
 
1343
+
1344
+
1360
1345
  export namespace HomeyAPIV2.ManagerInsights {
1361
1346
 
1362
1347
  export class Log {
@@ -1387,6 +1372,8 @@
1387
1372
 
1388
1373
 
1389
1374
 
1375
+
1376
+
1390
1377
  export namespace HomeyAPIV2.ManagerLogic {
1391
1378
 
1392
1379
  export class Variable {
@@ -1411,6 +1398,10 @@
1411
1398
 
1412
1399
 
1413
1400
 
1401
+
1402
+
1403
+
1404
+
1414
1405
  export namespace HomeyAPIV2.ManagerNotifications {
1415
1406
 
1416
1407
  export class Notification {
@@ -1453,6 +1444,8 @@
1453
1444
 
1454
1445
 
1455
1446
 
1447
+
1448
+
1456
1449
  export namespace HomeyAPIV2.ManagerSessions {
1457
1450
 
1458
1451
  export class Session {
@@ -1485,6 +1478,8 @@
1485
1478
 
1486
1479
 
1487
1480
 
1481
+
1482
+
1488
1483
  export namespace HomeyAPIV2.ManagerSpeechOutput {
1489
1484
 
1490
1485
  export class Voice {
@@ -1513,6 +1508,8 @@
1513
1508
 
1514
1509
 
1515
1510
 
1511
+
1512
+
1516
1513
  export namespace HomeyAPIV2.ManagerUsers {
1517
1514
 
1518
1515
  export class User {
@@ -1549,6 +1546,8 @@
1549
1546
 
1550
1547
 
1551
1548
 
1549
+
1550
+
1552
1551
  export namespace HomeyAPIV2.ManagerZones {
1553
1552
 
1554
1553
  export class Zone {
@@ -1581,56 +1580,6 @@
1581
1580
 
1582
1581
 
1583
1582
 
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
1583
  export namespace HomeyAPIV3Cloud.ManagerApps {
1635
1584
 
1636
1585
  export class App {
@@ -1661,6 +1610,10 @@
1661
1610
 
1662
1611
 
1663
1612
 
1613
+
1614
+
1615
+
1616
+
1664
1617
  export namespace HomeyAPIV3Cloud.ManagerCloud {
1665
1618
 
1666
1619
  export class Webhook {
@@ -1679,6 +1632,8 @@
1679
1632
 
1680
1633
 
1681
1634
 
1635
+
1636
+
1682
1637
  export namespace HomeyAPIV3Cloud.ManagerCron {
1683
1638
 
1684
1639
  export class Cronjob {
@@ -1699,6 +1654,10 @@
1699
1654
 
1700
1655
 
1701
1656
 
1657
+
1658
+
1659
+
1660
+
1702
1661
  export namespace HomeyAPIV3Cloud.ManagerDevices {
1703
1662
 
1704
1663
  export class Capability {
@@ -1731,6 +1690,10 @@
1731
1690
 
1732
1691
 
1733
1692
 
1693
+
1694
+
1695
+
1696
+
1734
1697
  export namespace HomeyAPIV3Cloud.ManagerDrivers {
1735
1698
 
1736
1699
  export class Driver {
@@ -1761,6 +1724,10 @@
1761
1724
 
1762
1725
 
1763
1726
 
1727
+
1728
+
1729
+
1730
+
1764
1731
  export namespace HomeyAPIV3Cloud.ManagerFlow {
1765
1732
 
1766
1733
  export class AdvancedFlow {
@@ -1825,6 +1792,18 @@
1825
1792
 
1826
1793
 
1827
1794
 
1795
+
1796
+
1797
+
1798
+
1799
+
1800
+
1801
+
1802
+
1803
+
1804
+
1805
+
1806
+
1828
1807
  export namespace HomeyAPIV3Cloud.ManagerFlowToken {
1829
1808
 
1830
1809
  export class FlowToken {
@@ -1845,6 +1824,8 @@
1845
1824
 
1846
1825
 
1847
1826
 
1827
+
1828
+
1848
1829
  export namespace HomeyAPIV3Cloud.ManagerIcons {
1849
1830
 
1850
1831
  export class Icon {
@@ -1861,6 +1842,8 @@
1861
1842
 
1862
1843
 
1863
1844
 
1845
+
1846
+
1864
1847
  export namespace HomeyAPIV3Cloud.ManagerImages {
1865
1848
 
1866
1849
  export class Image {
@@ -1877,6 +1860,8 @@
1877
1860
 
1878
1861
 
1879
1862
 
1863
+
1864
+
1880
1865
  export namespace HomeyAPIV3Cloud.ManagerInsights {
1881
1866
 
1882
1867
  export class Log {
@@ -1903,6 +1888,10 @@
1903
1888
 
1904
1889
 
1905
1890
 
1891
+
1892
+
1893
+
1894
+
1906
1895
  export namespace HomeyAPIV3Cloud.ManagerLogic {
1907
1896
 
1908
1897
  export class Variable {
@@ -1925,6 +1914,8 @@
1925
1914
 
1926
1915
 
1927
1916
 
1917
+
1918
+
1928
1919
  export namespace HomeyAPIV3Cloud.ManagerNotifications {
1929
1920
 
1930
1921
  export class Notification {
@@ -1953,6 +1944,8 @@
1953
1944
 
1954
1945
 
1955
1946
 
1947
+
1948
+
1956
1949
  export namespace HomeyAPIV3Cloud.ManagerRF {
1957
1950
 
1958
1951
  export class Signal {
@@ -1973,6 +1966,8 @@
1973
1966
 
1974
1967
 
1975
1968
 
1969
+
1970
+
1976
1971
  export namespace HomeyAPIV3Cloud.ManagerSessions {
1977
1972
 
1978
1973
  export class Session {
@@ -1997,6 +1992,8 @@
1997
1992
 
1998
1993
 
1999
1994
 
1995
+
1996
+
2000
1997
  export namespace HomeyAPIV3Cloud.ManagerUsers {
2001
1998
 
2002
1999
  export class User {
@@ -2013,6 +2010,8 @@
2013
2010
 
2014
2011
 
2015
2012
 
2013
+
2014
+
2016
2015
  export namespace HomeyAPIV3Cloud.ManagerVirtualDevice {
2017
2016
 
2018
2017
  export class VirtualDeviceDummySocket {
@@ -2125,78 +2124,6 @@
2125
2124
 
2126
2125
 
2127
2126
 
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
2127
 
2201
2128
 
2202
2129
 
@@ -2217,11 +2144,19 @@
2217
2144
 
2218
2145
 
2219
2146
 
2147
+ export namespace HomeyAPIV3Cloud.ManagerZones {
2148
+
2149
+ export class Zone {
2150
+
2220
2151
 
2221
-
2152
+
2153
+ id: string;
2154
+
2222
2155
 
2223
-
2156
+
2157
+ }
2224
2158
 
2159
+ }
2225
2160
 
2226
2161
 
2227
2162
 
@@ -2245,6 +2180,8 @@
2245
2180
 
2246
2181
 
2247
2182
 
2183
+
2184
+
2248
2185
  export namespace HomeyAPIV3Local.ManagerApps {
2249
2186
 
2250
2187
  export class App {
@@ -2279,6 +2216,10 @@
2279
2216
 
2280
2217
 
2281
2218
 
2219
+
2220
+
2221
+
2222
+
2282
2223
  export namespace HomeyAPIV3Local.ManagerCloud {
2283
2224
 
2284
2225
  export class Webhook {
@@ -2297,6 +2238,8 @@
2297
2238
 
2298
2239
 
2299
2240
 
2241
+
2242
+
2300
2243
  export namespace HomeyAPIV3Local.ManagerCron {
2301
2244
 
2302
2245
  export class Cronjob {
@@ -2317,6 +2260,10 @@
2317
2260
 
2318
2261
 
2319
2262
 
2263
+
2264
+
2265
+
2266
+
2320
2267
  export namespace HomeyAPIV3Local.ManagerDevices {
2321
2268
 
2322
2269
  export class Capability {
@@ -2349,6 +2296,10 @@
2349
2296
 
2350
2297
 
2351
2298
 
2299
+
2300
+
2301
+
2302
+
2352
2303
  export namespace HomeyAPIV3Local.ManagerDiscovery {
2353
2304
 
2354
2305
  export class DiscoveryStrategyMAC {
@@ -2385,6 +2336,12 @@
2385
2336
 
2386
2337
 
2387
2338
 
2339
+
2340
+
2341
+
2342
+
2343
+
2344
+
2388
2345
  export namespace HomeyAPIV3Local.ManagerDrivers {
2389
2346
 
2390
2347
  export class Driver {
@@ -2415,8 +2372,22 @@
2415
2372
 
2416
2373
 
2417
2374
 
2375
+
2376
+
2377
+
2378
+
2418
2379
  export namespace HomeyAPIV3Local.ManagerExperiments {
2419
2380
 
2381
+ export class ExperimentHomeKit {
2382
+
2383
+
2384
+
2385
+ id: string;
2386
+
2387
+
2388
+
2389
+ }
2390
+
2420
2391
  export class ExperimentPowerUser {
2421
2392
 
2422
2393
 
@@ -2451,6 +2422,14 @@
2451
2422
 
2452
2423
 
2453
2424
 
2425
+
2426
+
2427
+
2428
+
2429
+
2430
+
2431
+
2432
+
2454
2433
  export namespace HomeyAPIV3Local.ManagerFlow {
2455
2434
 
2456
2435
  export class AdvancedFlow {
@@ -2511,7 +2490,19 @@
2511
2490
 
2512
2491
  }
2513
2492
 
2514
- }
2493
+ }
2494
+
2495
+
2496
+
2497
+
2498
+
2499
+
2500
+
2501
+
2502
+
2503
+
2504
+
2505
+
2515
2506
 
2516
2507
 
2517
2508
 
@@ -2537,6 +2528,8 @@
2537
2528
 
2538
2529
 
2539
2530
 
2531
+
2532
+
2540
2533
  export namespace HomeyAPIV3Local.ManagerIcons {
2541
2534
 
2542
2535
  export class Icon {
@@ -2553,6 +2546,8 @@
2553
2546
 
2554
2547
 
2555
2548
 
2549
+
2550
+
2556
2551
  export namespace HomeyAPIV3Local.ManagerImages {
2557
2552
 
2558
2553
  export class Image {
@@ -2569,6 +2564,8 @@
2569
2564
 
2570
2565
 
2571
2566
 
2567
+
2568
+
2572
2569
  export namespace HomeyAPIV3Local.ManagerInsights {
2573
2570
 
2574
2571
  export class Log {
@@ -2597,6 +2594,10 @@
2597
2594
 
2598
2595
 
2599
2596
 
2597
+
2598
+
2599
+
2600
+
2600
2601
  export namespace HomeyAPIV3Local.ManagerLogic {
2601
2602
 
2602
2603
  export class Variable {
@@ -2621,6 +2622,8 @@
2621
2622
 
2622
2623
 
2623
2624
 
2625
+
2626
+
2624
2627
  export namespace HomeyAPIV3Local.ManagerNotifications {
2625
2628
 
2626
2629
  export class Notification {
@@ -2647,6 +2650,8 @@
2647
2650
 
2648
2651
 
2649
2652
 
2653
+
2654
+
2650
2655
  export namespace HomeyAPIV3Local.ManagerRF {
2651
2656
 
2652
2657
  export class Signal {
@@ -2669,6 +2674,8 @@
2669
2674
 
2670
2675
 
2671
2676
 
2677
+
2678
+
2672
2679
  export namespace HomeyAPIV3Local.ManagerSessions {
2673
2680
 
2674
2681
  export class Session {
@@ -2697,6 +2704,8 @@
2697
2704
 
2698
2705
 
2699
2706
 
2707
+
2708
+
2700
2709
  export namespace HomeyAPIV3Local.ManagerUsers {
2701
2710
 
2702
2711
  export class User {
@@ -2713,6 +2722,8 @@
2713
2722
 
2714
2723
 
2715
2724
 
2725
+
2726
+
2716
2727
  export namespace HomeyAPIV3Local.ManagerVirtualDevice {
2717
2728
 
2718
2729
  export class VirtualDeviceDummySocket {
@@ -2885,28 +2896,6 @@
2885
2896
 
2886
2897
 
2887
2898
 
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
2899
 
2911
2900
 
2912
2901
 
@@ -2939,11 +2928,19 @@
2939
2928
 
2940
2929
 
2941
2930
 
2931
+ export namespace HomeyAPIV3Local.ManagerZones {
2932
+
2933
+ export class Zone {
2934
+
2942
2935
 
2943
-
2936
+
2937
+ id: string;
2938
+
2944
2939
 
2945
-
2940
+
2941
+ }
2946
2942
 
2943
+ }
2947
2944
 
2948
2945
 
2949
2946
 
@@ -10769,6 +10766,25 @@
10769
10766
 
10770
10767
 
10771
10768
 
10769
+ opts: {
10770
+
10771
+
10772
+ id: string,
10773
+
10774
+
10775
+ },
10776
+
10777
+
10778
+
10779
+
10780
+ ):
10781
+ Promise<any>;
10782
+
10783
+ getAppUsage(
10784
+
10785
+
10786
+
10787
+
10772
10788
  opts: {
10773
10789
 
10774
10790
 
@@ -10927,6 +10943,29 @@
10927
10943
 
10928
10944
  getState(
10929
10945
 
10946
+ ):
10947
+ Promise<any>;
10948
+
10949
+ runCommand(
10950
+
10951
+
10952
+
10953
+
10954
+ opts: {
10955
+
10956
+
10957
+ command: string,
10958
+
10959
+
10960
+
10961
+ opts: object,
10962
+
10963
+
10964
+ },
10965
+
10966
+
10967
+
10968
+
10930
10969
  ):
10931
10970
  Promise<any>;
10932
10971
 
@@ -11620,7 +11659,7 @@
11620
11659
 
11621
11660
 
11622
11661
 
11623
- data: object,
11662
+ data: *,
11624
11663
 
11625
11664
 
11626
11665
  },
@@ -11647,7 +11686,7 @@
11647
11686
 
11648
11687
 
11649
11688
 
11650
- data: object,
11689
+ data: *,
11651
11690
 
11652
11691
 
11653
11692
  },
@@ -12555,6 +12594,44 @@
12555
12594
  ):
12556
12595
  Promise<HomeyAPIV3Local.ManagerFlowToken.FlowToken>;
12557
12596
 
12597
+ getFlowToken(
12598
+
12599
+
12600
+
12601
+
12602
+ opts: {
12603
+
12604
+
12605
+ id: string,
12606
+
12607
+
12608
+ },
12609
+
12610
+
12611
+
12612
+
12613
+ ):
12614
+ Promise<HomeyAPIV3Local.ManagerFlowToken.FlowToken>;
12615
+
12616
+ getFlowTokenValue(
12617
+
12618
+
12619
+
12620
+
12621
+ opts: {
12622
+
12623
+
12624
+ id: string,
12625
+
12626
+
12627
+ },
12628
+
12629
+
12630
+
12631
+
12632
+ ):
12633
+ Promise<any>;
12634
+
12558
12635
  isConnected(
12559
12636
 
12560
12637
  ):
@@ -13065,6 +13142,25 @@
13065
13142
  ):
13066
13143
  Promise<any>;
13067
13144
 
13145
+ getVariable(
13146
+
13147
+
13148
+
13149
+
13150
+ opts: {
13151
+
13152
+
13153
+ id: string,
13154
+
13155
+
13156
+ },
13157
+
13158
+
13159
+
13160
+
13161
+ ):
13162
+ Promise<HomeyAPIV3Local.ManagerLogic.Variable>;
13163
+
13068
13164
  getVariables(
13069
13165
 
13070
13166
  ):
@@ -13410,6 +13506,25 @@
13410
13506
 
13411
13507
 
13412
13508
 
13509
+ ):
13510
+ Promise<any>;
13511
+
13512
+ getPresent(
13513
+
13514
+
13515
+
13516
+
13517
+ opts: {
13518
+
13519
+
13520
+ id: string,
13521
+
13522
+
13523
+ },
13524
+
13525
+
13526
+
13527
+
13413
13528
  ):
13414
13529
  Promise<any>;
13415
13530
 
@@ -13462,6 +13577,25 @@
13462
13577
 
13463
13578
 
13464
13579
 
13580
+ ):
13581
+ Promise<any>;
13582
+
13583
+ getAsleep(
13584
+
13585
+
13586
+
13587
+
13588
+ opts: {
13589
+
13590
+
13591
+ id: string,
13592
+
13593
+
13594
+ },
13595
+
13596
+
13597
+
13598
+
13465
13599
  ):
13466
13600
  Promise<any>;
13467
13601
 
@@ -14496,6 +14630,25 @@
14496
14630
 
14497
14631
  getZones(
14498
14632
 
14633
+ ):
14634
+ Promise<HomeyAPIV3Local.ManagerZones.Zone>;
14635
+
14636
+ getZone(
14637
+
14638
+
14639
+
14640
+
14641
+ opts: {
14642
+
14643
+
14644
+ id: string,
14645
+
14646
+
14647
+ },
14648
+
14649
+
14650
+
14651
+
14499
14652
  ):
14500
14653
  Promise<HomeyAPIV3Local.ManagerZones.Zone>;
14501
14654
 
@@ -14696,6 +14849,48 @@
14696
14849
 
14697
14850
 
14698
14851
 
14852
+ export namespace HomeyAPIV3.ManagerDevices.Device {
14853
+
14854
+ export class DeviceCapability {
14855
+
14856
+
14857
+
14858
+ value: boolean | number | string | null;
14859
+
14860
+ lastChanged: Date | null;
14861
+
14862
+
14863
+
14864
+ destroy(
14865
+
14866
+
14867
+
14868
+
14869
+
14870
+ ):
14871
+ any;
14872
+
14873
+ setValue(
14874
+
14875
+
14876
+
14877
+
14878
+ value: boolean | number | string,
14879
+
14880
+
14881
+
14882
+ opts: object,
14883
+
14884
+
14885
+
14886
+
14887
+ ):
14888
+ Promise<any>;
14889
+
14890
+ }
14891
+
14892
+ }
14893
+
14699
14894
 
14700
14895
 
14701
14896