homey-api 1.10.19 → 1.10.20
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.
|
@@ -590,6 +590,25 @@
|
|
|
590
590
|
"homey.system.readonly"
|
|
591
591
|
],
|
|
592
592
|
"parameters": {}
|
|
593
|
+
},
|
|
594
|
+
"runCommand": {
|
|
595
|
+
"method": "post",
|
|
596
|
+
"path": "/command",
|
|
597
|
+
"private": false,
|
|
598
|
+
"scopes": [
|
|
599
|
+
"homey.system"
|
|
600
|
+
],
|
|
601
|
+
"parameters": {
|
|
602
|
+
"command": {
|
|
603
|
+
"in": "body",
|
|
604
|
+
"type": "string",
|
|
605
|
+
"required": true
|
|
606
|
+
},
|
|
607
|
+
"opts": {
|
|
608
|
+
"in": "body",
|
|
609
|
+
"type": "object"
|
|
610
|
+
}
|
|
611
|
+
}
|
|
593
612
|
}
|
|
594
613
|
}
|
|
595
614
|
},
|
|
@@ -1480,8 +1499,7 @@
|
|
|
1480
1499
|
"required": true
|
|
1481
1500
|
},
|
|
1482
1501
|
"data": {
|
|
1483
|
-
"in": "body"
|
|
1484
|
-
"type": "object"
|
|
1502
|
+
"in": "body"
|
|
1485
1503
|
}
|
|
1486
1504
|
}
|
|
1487
1505
|
},
|
|
@@ -1504,8 +1522,7 @@
|
|
|
1504
1522
|
"required": true
|
|
1505
1523
|
},
|
|
1506
1524
|
"data": {
|
|
1507
|
-
"in": "body"
|
|
1508
|
-
"type": "object"
|
|
1525
|
+
"in": "body"
|
|
1509
1526
|
}
|
|
1510
1527
|
}
|
|
1511
1528
|
},
|
|
@@ -2463,6 +2480,40 @@
|
|
|
2463
2480
|
"item": "FlowToken"
|
|
2464
2481
|
},
|
|
2465
2482
|
"parameters": {}
|
|
2483
|
+
},
|
|
2484
|
+
"getFlowToken": {
|
|
2485
|
+
"method": "get",
|
|
2486
|
+
"path": "/flowtoken/:id",
|
|
2487
|
+
"private": false,
|
|
2488
|
+
"scopes": [
|
|
2489
|
+
"homey.flow.readonly"
|
|
2490
|
+
],
|
|
2491
|
+
"crud": {
|
|
2492
|
+
"type": "getOne",
|
|
2493
|
+
"item": "FlowToken"
|
|
2494
|
+
},
|
|
2495
|
+
"parameters": {
|
|
2496
|
+
"id": {
|
|
2497
|
+
"in": "path",
|
|
2498
|
+
"type": "string",
|
|
2499
|
+
"required": true
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
},
|
|
2503
|
+
"getFlowTokenValue": {
|
|
2504
|
+
"method": "get",
|
|
2505
|
+
"path": "/flowtoken/:id/value",
|
|
2506
|
+
"private": false,
|
|
2507
|
+
"scopes": [
|
|
2508
|
+
"homey.flow.readonly"
|
|
2509
|
+
],
|
|
2510
|
+
"parameters": {
|
|
2511
|
+
"id": {
|
|
2512
|
+
"in": "path",
|
|
2513
|
+
"type": "string",
|
|
2514
|
+
"required": true
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2466
2517
|
}
|
|
2467
2518
|
}
|
|
2468
2519
|
},
|
|
@@ -3715,6 +3766,21 @@
|
|
|
3715
3766
|
"homey.system"
|
|
3716
3767
|
],
|
|
3717
3768
|
"parameters": {}
|
|
3769
|
+
},
|
|
3770
|
+
"setDebug": {
|
|
3771
|
+
"method": "put",
|
|
3772
|
+
"path": "/debug",
|
|
3773
|
+
"private": false,
|
|
3774
|
+
"scopes": [
|
|
3775
|
+
"homey.system"
|
|
3776
|
+
],
|
|
3777
|
+
"parameters": {
|
|
3778
|
+
"namespace": {
|
|
3779
|
+
"in": "body",
|
|
3780
|
+
"type": "string",
|
|
3781
|
+
"required": true
|
|
3782
|
+
}
|
|
3783
|
+
}
|
|
3718
3784
|
}
|
|
3719
3785
|
}
|
|
3720
3786
|
},
|
|
@@ -4415,13 +4481,34 @@
|
|
|
4415
4481
|
"method": "get",
|
|
4416
4482
|
"path": "/zone",
|
|
4417
4483
|
"private": false,
|
|
4418
|
-
"scopes": [
|
|
4484
|
+
"scopes": [
|
|
4485
|
+
"homey.zone.readonly"
|
|
4486
|
+
],
|
|
4419
4487
|
"crud": {
|
|
4420
4488
|
"type": "getAll",
|
|
4421
4489
|
"item": "Zone"
|
|
4422
4490
|
},
|
|
4423
4491
|
"parameters": {}
|
|
4424
4492
|
},
|
|
4493
|
+
"getZone": {
|
|
4494
|
+
"method": "get",
|
|
4495
|
+
"path": "/zone/:id",
|
|
4496
|
+
"private": false,
|
|
4497
|
+
"scopes": [
|
|
4498
|
+
"homey.zone.readonly"
|
|
4499
|
+
],
|
|
4500
|
+
"crud": {
|
|
4501
|
+
"type": "getOne",
|
|
4502
|
+
"item": "Zone"
|
|
4503
|
+
},
|
|
4504
|
+
"parameters": {
|
|
4505
|
+
"id": {
|
|
4506
|
+
"in": "path",
|
|
4507
|
+
"type": "string",
|
|
4508
|
+
"required": true
|
|
4509
|
+
}
|
|
4510
|
+
}
|
|
4511
|
+
},
|
|
4425
4512
|
"createZone": {
|
|
4426
4513
|
"method": "post",
|
|
4427
4514
|
"path": "/zone",
|
|
@@ -11524,6 +11524,29 @@
|
|
|
11524
11524
|
|
|
11525
11525
|
getState(
|
|
11526
11526
|
|
|
11527
|
+
):
|
|
11528
|
+
Promise<any>;
|
|
11529
|
+
|
|
11530
|
+
runCommand(
|
|
11531
|
+
|
|
11532
|
+
|
|
11533
|
+
|
|
11534
|
+
|
|
11535
|
+
opts: {
|
|
11536
|
+
|
|
11537
|
+
|
|
11538
|
+
command: string,
|
|
11539
|
+
|
|
11540
|
+
|
|
11541
|
+
|
|
11542
|
+
opts: object,
|
|
11543
|
+
|
|
11544
|
+
|
|
11545
|
+
},
|
|
11546
|
+
|
|
11547
|
+
|
|
11548
|
+
|
|
11549
|
+
|
|
11527
11550
|
):
|
|
11528
11551
|
Promise<any>;
|
|
11529
11552
|
|
|
@@ -12217,7 +12240,7 @@
|
|
|
12217
12240
|
|
|
12218
12241
|
|
|
12219
12242
|
|
|
12220
|
-
data:
|
|
12243
|
+
data: *,
|
|
12221
12244
|
|
|
12222
12245
|
|
|
12223
12246
|
},
|
|
@@ -12244,7 +12267,7 @@
|
|
|
12244
12267
|
|
|
12245
12268
|
|
|
12246
12269
|
|
|
12247
|
-
data:
|
|
12270
|
+
data: *,
|
|
12248
12271
|
|
|
12249
12272
|
|
|
12250
12273
|
},
|
|
@@ -13152,6 +13175,44 @@
|
|
|
13152
13175
|
):
|
|
13153
13176
|
Promise<HomeyAPIV3Local.ManagerFlowToken.FlowToken>;
|
|
13154
13177
|
|
|
13178
|
+
getFlowToken(
|
|
13179
|
+
|
|
13180
|
+
|
|
13181
|
+
|
|
13182
|
+
|
|
13183
|
+
opts: {
|
|
13184
|
+
|
|
13185
|
+
|
|
13186
|
+
id: string,
|
|
13187
|
+
|
|
13188
|
+
|
|
13189
|
+
},
|
|
13190
|
+
|
|
13191
|
+
|
|
13192
|
+
|
|
13193
|
+
|
|
13194
|
+
):
|
|
13195
|
+
Promise<HomeyAPIV3Local.ManagerFlowToken.FlowToken>;
|
|
13196
|
+
|
|
13197
|
+
getFlowTokenValue(
|
|
13198
|
+
|
|
13199
|
+
|
|
13200
|
+
|
|
13201
|
+
|
|
13202
|
+
opts: {
|
|
13203
|
+
|
|
13204
|
+
|
|
13205
|
+
id: string,
|
|
13206
|
+
|
|
13207
|
+
|
|
13208
|
+
},
|
|
13209
|
+
|
|
13210
|
+
|
|
13211
|
+
|
|
13212
|
+
|
|
13213
|
+
):
|
|
13214
|
+
Promise<any>;
|
|
13215
|
+
|
|
13155
13216
|
isConnected(
|
|
13156
13217
|
|
|
13157
13218
|
):
|
|
@@ -14469,6 +14530,25 @@
|
|
|
14469
14530
|
|
|
14470
14531
|
rebootOTA(
|
|
14471
14532
|
|
|
14533
|
+
):
|
|
14534
|
+
Promise<any>;
|
|
14535
|
+
|
|
14536
|
+
setDebug(
|
|
14537
|
+
|
|
14538
|
+
|
|
14539
|
+
|
|
14540
|
+
|
|
14541
|
+
opts: {
|
|
14542
|
+
|
|
14543
|
+
|
|
14544
|
+
namespace: string,
|
|
14545
|
+
|
|
14546
|
+
|
|
14547
|
+
},
|
|
14548
|
+
|
|
14549
|
+
|
|
14550
|
+
|
|
14551
|
+
|
|
14472
14552
|
):
|
|
14473
14553
|
Promise<any>;
|
|
14474
14554
|
|
|
@@ -15074,6 +15154,25 @@
|
|
|
15074
15154
|
|
|
15075
15155
|
getZones(
|
|
15076
15156
|
|
|
15157
|
+
):
|
|
15158
|
+
Promise<HomeyAPIV3Local.ManagerZones.Zone>;
|
|
15159
|
+
|
|
15160
|
+
getZone(
|
|
15161
|
+
|
|
15162
|
+
|
|
15163
|
+
|
|
15164
|
+
|
|
15165
|
+
opts: {
|
|
15166
|
+
|
|
15167
|
+
|
|
15168
|
+
id: string,
|
|
15169
|
+
|
|
15170
|
+
|
|
15171
|
+
},
|
|
15172
|
+
|
|
15173
|
+
|
|
15174
|
+
|
|
15175
|
+
|
|
15077
15176
|
):
|
|
15078
15177
|
Promise<HomeyAPIV3Local.ManagerZones.Zone>;
|
|
15079
15178
|
|
|
@@ -17481,6 +17481,29 @@
|
|
|
17481
17481
|
|
|
17482
17482
|
getState(
|
|
17483
17483
|
|
|
17484
|
+
):
|
|
17485
|
+
Promise<any>;
|
|
17486
|
+
|
|
17487
|
+
runCommand(
|
|
17488
|
+
|
|
17489
|
+
|
|
17490
|
+
|
|
17491
|
+
|
|
17492
|
+
opts: {
|
|
17493
|
+
|
|
17494
|
+
|
|
17495
|
+
command: string,
|
|
17496
|
+
|
|
17497
|
+
|
|
17498
|
+
|
|
17499
|
+
opts: object,
|
|
17500
|
+
|
|
17501
|
+
|
|
17502
|
+
},
|
|
17503
|
+
|
|
17504
|
+
|
|
17505
|
+
|
|
17506
|
+
|
|
17484
17507
|
):
|
|
17485
17508
|
Promise<any>;
|
|
17486
17509
|
|
|
@@ -18315,7 +18338,7 @@
|
|
|
18315
18338
|
|
|
18316
18339
|
|
|
18317
18340
|
|
|
18318
|
-
data:
|
|
18341
|
+
data: *,
|
|
18319
18342
|
|
|
18320
18343
|
|
|
18321
18344
|
},
|
|
@@ -18342,7 +18365,7 @@
|
|
|
18342
18365
|
|
|
18343
18366
|
|
|
18344
18367
|
|
|
18345
|
-
data:
|
|
18368
|
+
data: *,
|
|
18346
18369
|
|
|
18347
18370
|
|
|
18348
18371
|
},
|
|
@@ -19250,6 +19273,44 @@
|
|
|
19250
19273
|
):
|
|
19251
19274
|
Promise<HomeyAPIV3Local.ManagerFlowToken.FlowToken>;
|
|
19252
19275
|
|
|
19276
|
+
getFlowToken(
|
|
19277
|
+
|
|
19278
|
+
|
|
19279
|
+
|
|
19280
|
+
|
|
19281
|
+
opts: {
|
|
19282
|
+
|
|
19283
|
+
|
|
19284
|
+
id: string,
|
|
19285
|
+
|
|
19286
|
+
|
|
19287
|
+
},
|
|
19288
|
+
|
|
19289
|
+
|
|
19290
|
+
|
|
19291
|
+
|
|
19292
|
+
):
|
|
19293
|
+
Promise<HomeyAPIV3Local.ManagerFlowToken.FlowToken>;
|
|
19294
|
+
|
|
19295
|
+
getFlowTokenValue(
|
|
19296
|
+
|
|
19297
|
+
|
|
19298
|
+
|
|
19299
|
+
|
|
19300
|
+
opts: {
|
|
19301
|
+
|
|
19302
|
+
|
|
19303
|
+
id: string,
|
|
19304
|
+
|
|
19305
|
+
|
|
19306
|
+
},
|
|
19307
|
+
|
|
19308
|
+
|
|
19309
|
+
|
|
19310
|
+
|
|
19311
|
+
):
|
|
19312
|
+
Promise<any>;
|
|
19313
|
+
|
|
19253
19314
|
isConnected(
|
|
19254
19315
|
|
|
19255
19316
|
):
|
|
@@ -20567,6 +20628,25 @@
|
|
|
20567
20628
|
|
|
20568
20629
|
rebootOTA(
|
|
20569
20630
|
|
|
20631
|
+
):
|
|
20632
|
+
Promise<any>;
|
|
20633
|
+
|
|
20634
|
+
setDebug(
|
|
20635
|
+
|
|
20636
|
+
|
|
20637
|
+
|
|
20638
|
+
|
|
20639
|
+
opts: {
|
|
20640
|
+
|
|
20641
|
+
|
|
20642
|
+
namespace: string,
|
|
20643
|
+
|
|
20644
|
+
|
|
20645
|
+
},
|
|
20646
|
+
|
|
20647
|
+
|
|
20648
|
+
|
|
20649
|
+
|
|
20570
20650
|
):
|
|
20571
20651
|
Promise<any>;
|
|
20572
20652
|
|
|
@@ -21177,6 +21257,25 @@
|
|
|
21177
21257
|
|
|
21178
21258
|
getZones(
|
|
21179
21259
|
|
|
21260
|
+
):
|
|
21261
|
+
Promise<HomeyAPIV3Local.ManagerZones.Zone>;
|
|
21262
|
+
|
|
21263
|
+
getZone(
|
|
21264
|
+
|
|
21265
|
+
|
|
21266
|
+
|
|
21267
|
+
|
|
21268
|
+
opts: {
|
|
21269
|
+
|
|
21270
|
+
|
|
21271
|
+
id: string,
|
|
21272
|
+
|
|
21273
|
+
|
|
21274
|
+
},
|
|
21275
|
+
|
|
21276
|
+
|
|
21277
|
+
|
|
21278
|
+
|
|
21180
21279
|
):
|
|
21181
21280
|
Promise<HomeyAPIV3Local.ManagerZones.Zone>;
|
|
21182
21281
|
|