homey-api 3.0.10 → 3.0.12

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.
@@ -178,7 +178,6 @@
178
178
  },
179
179
  "value": {
180
180
  "in": "body",
181
- "type": "object",
182
181
  "required": true
183
182
  }
184
183
  }
@@ -1091,8 +1090,7 @@
1091
1090
  "required": true
1092
1091
  },
1093
1092
  "data": {
1094
- "in": "body",
1095
- "type": "object"
1093
+ "in": "body"
1096
1094
  }
1097
1095
  }
1098
1096
  },
@@ -1115,8 +1113,7 @@
1115
1113
  "required": true
1116
1114
  },
1117
1115
  "data": {
1118
- "in": "body",
1119
- "type": "object"
1116
+ "in": "body"
1120
1117
  }
1121
1118
  }
1122
1119
  },
@@ -1618,6 +1615,30 @@
1618
1615
  }
1619
1616
  }
1620
1617
  },
1618
+ "getFlowCardTrigger": {
1619
+ "method": "get",
1620
+ "path": "/flowcardtrigger/:uri/:id",
1621
+ "private": false,
1622
+ "scopes": [
1623
+ "homey.flow.readonly"
1624
+ ],
1625
+ "crud": {
1626
+ "type": "getOne",
1627
+ "item": "FlowCardTrigger"
1628
+ },
1629
+ "parameters": {
1630
+ "id": {
1631
+ "in": "path",
1632
+ "type": "string",
1633
+ "required": true
1634
+ },
1635
+ "uri": {
1636
+ "in": "path",
1637
+ "type": "string",
1638
+ "required": true
1639
+ }
1640
+ }
1641
+ },
1621
1642
  "getFlowCardTriggers": {
1622
1643
  "method": "get",
1623
1644
  "path": "/flowcardtrigger",
@@ -1631,6 +1652,30 @@
1631
1652
  },
1632
1653
  "parameters": {}
1633
1654
  },
1655
+ "getFlowCardCondition": {
1656
+ "method": "get",
1657
+ "path": "/flowcardcondition/:uri/:id",
1658
+ "private": false,
1659
+ "scopes": [
1660
+ "homey.flow.readonly"
1661
+ ],
1662
+ "crud": {
1663
+ "type": "getOne",
1664
+ "item": "FlowCardCondition"
1665
+ },
1666
+ "parameters": {
1667
+ "id": {
1668
+ "in": "path",
1669
+ "type": "string",
1670
+ "required": true
1671
+ },
1672
+ "uri": {
1673
+ "in": "path",
1674
+ "type": "string",
1675
+ "required": true
1676
+ }
1677
+ }
1678
+ },
1634
1679
  "getFlowCardConditions": {
1635
1680
  "method": "get",
1636
1681
  "path": "/flowcardcondition",
@@ -1649,7 +1694,7 @@
1649
1694
  "path": "/flowcardcondition/:uri/:id/run",
1650
1695
  "private": false,
1651
1696
  "scopes": [
1652
- "homey.flow.start"
1697
+ "homey.flow"
1653
1698
  ],
1654
1699
  "parameters": {
1655
1700
  "id": {
@@ -1680,6 +1725,30 @@
1680
1725
  }
1681
1726
  }
1682
1727
  },
1728
+ "getFlowCardAction": {
1729
+ "method": "get",
1730
+ "path": "/flowcardaction/:uri/:id",
1731
+ "private": false,
1732
+ "scopes": [
1733
+ "homey.flow.readonly"
1734
+ ],
1735
+ "crud": {
1736
+ "type": "getOne",
1737
+ "item": "FlowCardAction"
1738
+ },
1739
+ "parameters": {
1740
+ "id": {
1741
+ "in": "path",
1742
+ "type": "string",
1743
+ "required": true
1744
+ },
1745
+ "uri": {
1746
+ "in": "path",
1747
+ "type": "string",
1748
+ "required": true
1749
+ }
1750
+ }
1751
+ },
1683
1752
  "getFlowCardActions": {
1684
1753
  "method": "get",
1685
1754
  "path": "/flowcardaction",
@@ -1698,7 +1767,7 @@
1698
1767
  "path": "/flowcardaction/:uri/:id/run",
1699
1768
  "private": false,
1700
1769
  "scopes": [
1701
- "homey.flow.start"
1770
+ "homey.flow"
1702
1771
  ],
1703
1772
  "parameters": {
1704
1773
  "id": {
@@ -1919,6 +1988,40 @@
1919
1988
  "item": "FlowToken"
1920
1989
  },
1921
1990
  "parameters": {}
1991
+ },
1992
+ "getFlowToken": {
1993
+ "method": "get",
1994
+ "path": "/flowtoken/:id",
1995
+ "private": false,
1996
+ "scopes": [
1997
+ "homey.flow.readonly"
1998
+ ],
1999
+ "crud": {
2000
+ "type": "getOne",
2001
+ "item": "FlowToken"
2002
+ },
2003
+ "parameters": {
2004
+ "id": {
2005
+ "in": "path",
2006
+ "type": "string",
2007
+ "required": true
2008
+ }
2009
+ }
2010
+ },
2011
+ "getFlowTokenValue": {
2012
+ "method": "get",
2013
+ "path": "/flowtoken/:id/value",
2014
+ "private": false,
2015
+ "scopes": [
2016
+ "homey.flow.readonly"
2017
+ ],
2018
+ "parameters": {
2019
+ "id": {
2020
+ "in": "path",
2021
+ "type": "string",
2022
+ "required": true
2023
+ }
2024
+ }
1922
2025
  }
1923
2026
  }
1924
2027
  },
@@ -1981,33 +2084,6 @@
1981
2084
  "homey.geolocation"
1982
2085
  ]
1983
2086
  },
1984
- "getOptionMode": {
1985
- "method": "GET",
1986
- "path": "/option/mode",
1987
- "scopes": [
1988
- "homey.geolocation.readonly"
1989
- ]
1990
- },
1991
- "setOptionMode": {
1992
- "method": "PUT",
1993
- "path": "/option/mode",
1994
- "scopes": [
1995
- "homey.geolocation"
1996
- ],
1997
- "parameters": {
1998
- "value": {
1999
- "in": "body",
2000
- "required": true
2001
- }
2002
- }
2003
- },
2004
- "unsetOptionMode": {
2005
- "method": "DELETE",
2006
- "path": "/option/mode",
2007
- "scopes": [
2008
- "homey.geolocation"
2009
- ]
2010
- },
2011
2087
  "getState": {
2012
2088
  "method": "get",
2013
2089
  "path": "/state",
@@ -2340,6 +2416,25 @@
2340
2416
  ],
2341
2417
  "parameters": {}
2342
2418
  },
2419
+ "getVariable": {
2420
+ "method": "get",
2421
+ "path": "/variable/:id",
2422
+ "private": false,
2423
+ "scopes": [
2424
+ "homey.logic.readonly"
2425
+ ],
2426
+ "crud": {
2427
+ "type": "getOne",
2428
+ "item": "Variable"
2429
+ },
2430
+ "parameters": {
2431
+ "id": {
2432
+ "in": "path",
2433
+ "type": "string",
2434
+ "required": true
2435
+ }
2436
+ }
2437
+ },
2343
2438
  "getVariables": {
2344
2439
  "method": "get",
2345
2440
  "path": "/variable",
@@ -2698,6 +2793,21 @@
2698
2793
  }
2699
2794
  }
2700
2795
  },
2796
+ "getPresent": {
2797
+ "method": "get",
2798
+ "path": "/:id/present",
2799
+ "private": false,
2800
+ "scopes": [
2801
+ "homey.presence.readonly"
2802
+ ],
2803
+ "parameters": {
2804
+ "id": {
2805
+ "in": "path",
2806
+ "type": "string",
2807
+ "required": true
2808
+ }
2809
+ }
2810
+ },
2701
2811
  "setAsleepMe": {
2702
2812
  "method": "put",
2703
2813
  "path": "/me/asleep",
@@ -2739,6 +2849,21 @@
2739
2849
  "type": "boolean"
2740
2850
  }
2741
2851
  }
2852
+ },
2853
+ "getAsleep": {
2854
+ "method": "get",
2855
+ "path": "/:id/asleep",
2856
+ "private": false,
2857
+ "scopes": [
2858
+ "homey.presence.readonly"
2859
+ ],
2860
+ "parameters": {
2861
+ "id": {
2862
+ "in": "path",
2863
+ "type": "string",
2864
+ "required": true
2865
+ }
2866
+ }
2742
2867
  }
2743
2868
  }
2744
2869
  },
@@ -2935,7 +3060,8 @@
2935
3060
  "type": "string",
2936
3061
  "enum": [
2937
3062
  "OAUTH",
2938
- "APP"
3063
+ "APP",
3064
+ "PAT"
2939
3065
  ]
2940
3066
  },
2941
3067
  "scopes": {
@@ -3525,13 +3651,34 @@
3525
3651
  "method": "get",
3526
3652
  "path": "/zone",
3527
3653
  "private": false,
3528
- "scopes": [],
3654
+ "scopes": [
3655
+ "homey.zone.readonly"
3656
+ ],
3529
3657
  "crud": {
3530
3658
  "type": "getAll",
3531
3659
  "item": "Zone"
3532
3660
  },
3533
3661
  "parameters": {}
3534
3662
  },
3663
+ "getZone": {
3664
+ "method": "get",
3665
+ "path": "/zone/:id",
3666
+ "private": false,
3667
+ "scopes": [
3668
+ "homey.zone.readonly"
3669
+ ],
3670
+ "crud": {
3671
+ "type": "getOne",
3672
+ "item": "Zone"
3673
+ },
3674
+ "parameters": {
3675
+ "id": {
3676
+ "in": "path",
3677
+ "type": "string",
3678
+ "required": true
3679
+ }
3680
+ }
3681
+ },
3535
3682
  "createZone": {
3536
3683
  "method": "post",
3537
3684
  "path": "/zone",
@@ -3690,6 +3837,48 @@
3690
3837
  "type": "object"
3691
3838
  }
3692
3839
  }
3840
+ },
3841
+ "verifyFirmware": {
3842
+ "method": "get",
3843
+ "path": "/verify-firmware",
3844
+ "private": true,
3845
+ "scopes": [
3846
+ "homey.system"
3847
+ ],
3848
+ "parameters": {}
3849
+ },
3850
+ "flashFirmware": {
3851
+ "method": "put",
3852
+ "path": "/flash-firmware",
3853
+ "private": true,
3854
+ "scopes": [
3855
+ "homey.system"
3856
+ ],
3857
+ "parameters": {
3858
+ "keepNV": {
3859
+ "in": "body",
3860
+ "type": "boolean",
3861
+ "required": true
3862
+ }
3863
+ }
3864
+ },
3865
+ "getLastFlashResult": {
3866
+ "method": "get",
3867
+ "path": "/get-last-flash-result",
3868
+ "private": true,
3869
+ "scopes": [
3870
+ "homey.system"
3871
+ ],
3872
+ "parameters": {}
3873
+ },
3874
+ "eraseNV": {
3875
+ "method": "put",
3876
+ "path": "/erase-nv",
3877
+ "private": true,
3878
+ "scopes": [
3879
+ "homey.system"
3880
+ ],
3881
+ "parameters": {}
3693
3882
  }
3694
3883
  }
3695
3884
  }
@@ -1704,16 +1704,20 @@
1704
1704
  "method": "get",
1705
1705
  "path": "/experiment",
1706
1706
  "private": false,
1707
- "scopes": [],
1707
+ "scopes": [
1708
+ "homey.system"
1709
+ ],
1708
1710
  "parameters": {}
1709
1711
  },
1710
1712
  "enableExperiment": {
1711
1713
  "method": "put",
1712
- "path": "/experiment/:experimentId/enable",
1714
+ "path": "/experiment/:id/enable",
1713
1715
  "private": false,
1714
- "scopes": [],
1716
+ "scopes": [
1717
+ "homey.system"
1718
+ ],
1715
1719
  "parameters": {
1716
- "experimentId": {
1720
+ "id": {
1717
1721
  "in": "path",
1718
1722
  "type": "string",
1719
1723
  "required": true
@@ -1722,11 +1726,13 @@
1722
1726
  },
1723
1727
  "disableExperiment": {
1724
1728
  "method": "put",
1725
- "path": "/experiment/:experimentId/disable",
1729
+ "path": "/experiment/:id/disable",
1726
1730
  "private": false,
1727
- "scopes": [],
1731
+ "scopes": [
1732
+ "homey.system"
1733
+ ],
1728
1734
  "parameters": {
1729
- "experimentId": {
1735
+ "id": {
1730
1736
  "in": "path",
1731
1737
  "type": "string",
1732
1738
  "required": true
@@ -3166,6 +3172,33 @@
3166
3172
  "idCamelCase": "matter",
3167
3173
  "items": {},
3168
3174
  "operations": {
3175
+ "getOptionPaaSettings": {
3176
+ "method": "GET",
3177
+ "path": "/option/paaSettings",
3178
+ "scopes": [
3179
+ "homey.system"
3180
+ ]
3181
+ },
3182
+ "setOptionPaaSettings": {
3183
+ "method": "PUT",
3184
+ "path": "/option/paaSettings",
3185
+ "scopes": [
3186
+ "homey.system"
3187
+ ],
3188
+ "parameters": {
3189
+ "value": {
3190
+ "in": "body",
3191
+ "required": true
3192
+ }
3193
+ }
3194
+ },
3195
+ "unsetOptionPaaSettings": {
3196
+ "method": "DELETE",
3197
+ "path": "/option/paaSettings",
3198
+ "scopes": [
3199
+ "homey.system"
3200
+ ]
3201
+ },
3169
3202
  "getState": {
3170
3203
  "method": "get",
3171
3204
  "path": "/state",
@@ -3174,6 +3207,79 @@
3174
3207
  "homey.system.readonly"
3175
3208
  ],
3176
3209
  "parameters": {}
3210
+ },
3211
+ "pairApi": {
3212
+ "method": "post",
3213
+ "path": "/pair",
3214
+ "private": true,
3215
+ "scopes": [
3216
+ "homey.system"
3217
+ ],
3218
+ "parameters": {
3219
+ "code": {
3220
+ "in": "body",
3221
+ "type": "string",
3222
+ "required": true
3223
+ },
3224
+ "zone": {
3225
+ "in": "body",
3226
+ "type": "string"
3227
+ }
3228
+ }
3229
+ },
3230
+ "updateDCLPaaCerts": {
3231
+ "method": "get",
3232
+ "path": "/update-dcl-paa-certs",
3233
+ "private": true,
3234
+ "scopes": [
3235
+ "homey.system"
3236
+ ],
3237
+ "parameters": {}
3238
+ },
3239
+ "interview": {
3240
+ "method": "get",
3241
+ "path": "/interview",
3242
+ "private": true,
3243
+ "scopes": [
3244
+ "homey.system"
3245
+ ],
3246
+ "parameters": {
3247
+ "nodeId": {
3248
+ "in": "query",
3249
+ "type": "string",
3250
+ "required": true
3251
+ }
3252
+ }
3253
+ },
3254
+ "makeDeviceApi": {
3255
+ "method": "get",
3256
+ "path": "/make-device",
3257
+ "private": true,
3258
+ "scopes": [
3259
+ "homey.system"
3260
+ ],
3261
+ "parameters": {
3262
+ "nodeId": {
3263
+ "in": "query",
3264
+ "type": "string",
3265
+ "required": true
3266
+ }
3267
+ }
3268
+ },
3269
+ "readBasicInformation": {
3270
+ "method": "get",
3271
+ "path": "/read-basic-info",
3272
+ "private": true,
3273
+ "scopes": [
3274
+ "homey.system"
3275
+ ],
3276
+ "parameters": {
3277
+ "nodeId": {
3278
+ "in": "query",
3279
+ "type": "string",
3280
+ "required": true
3281
+ }
3282
+ }
3177
3283
  }
3178
3284
  }
3179
3285
  },
@@ -3853,6 +3959,24 @@
3853
3959
  "required": true
3854
3960
  }
3855
3961
  }
3962
+ },
3963
+ "enableWifi": {
3964
+ "method": "post",
3965
+ "path": "/enable-wifi",
3966
+ "private": false,
3967
+ "scopes": [
3968
+ "homey.system"
3969
+ ],
3970
+ "parameters": {}
3971
+ },
3972
+ "disableWifi": {
3973
+ "method": "post",
3974
+ "path": "/disable-wifi",
3975
+ "private": false,
3976
+ "scopes": [
3977
+ "homey.system"
3978
+ ],
3979
+ "parameters": {}
3856
3980
  }
3857
3981
  }
3858
3982
  },
@@ -4424,6 +4548,28 @@
4424
4548
  }
4425
4549
  }
4426
4550
  }
4551
+ },
4552
+ "VirtualDriverMatter": {
4553
+ "id": "virtualdrivermatter",
4554
+ "schema": {
4555
+ "type": "object",
4556
+ "properties": {
4557
+ "id": {
4558
+ "type": "string"
4559
+ }
4560
+ }
4561
+ }
4562
+ },
4563
+ "VirtualDeviceMatter": {
4564
+ "id": "virtualdevicematter",
4565
+ "schema": {
4566
+ "type": "object",
4567
+ "properties": {
4568
+ "id": {
4569
+ "type": "string"
4570
+ }
4571
+ }
4572
+ }
4427
4573
  }
4428
4574
  },
4429
4575
  "operations": {
@@ -4737,6 +4883,21 @@
4737
4883
  "required": true
4738
4884
  }
4739
4885
  }
4886
+ },
4887
+ "setLBTThreshold": {
4888
+ "method": "put",
4889
+ "path": "/lbt-threshold",
4890
+ "private": true,
4891
+ "scopes": [
4892
+ "homey.system"
4893
+ ],
4894
+ "parameters": {
4895
+ "threshold": {
4896
+ "in": "body",
4897
+ "type": "number",
4898
+ "required": true
4899
+ }
4900
+ }
4740
4901
  }
4741
4902
  }
4742
4903
  }