@@ -279,7 +279,7 @@ paths:
279
279
responses :
280
280
" 200 " :
281
281
$ref : " #/components/responses/NumberResult"
282
- /loadpoints/{id}/limitenergy/{power } :
282
+ /loadpoints/{id}/limitenergy/{energy } :
283
283
post :
284
284
summary : Update energy limit
285
285
description : >
@@ -290,7 +290,7 @@ paths:
290
290
- Loadpoints
291
291
parameters :
292
292
- $ref : " #/components/parameters/id"
293
- - $ref : " #/components/parameters/power "
293
+ - $ref : " #/components/parameters/energy "
294
294
responses :
295
295
" 200 " :
296
296
$ref : " #/components/responses/NumberResult"
@@ -418,7 +418,7 @@ paths:
418
418
responses :
419
419
" 200 " :
420
420
$ref : " #/components/responses/EmptyResult"
421
- /loadpoints/{id}/plan/energy/{power }/{timestamp} :
421
+ /loadpoints/{id}/plan/energy/{energy }/{timestamp} :
422
422
post :
423
423
summary : Sets an energy-based charging plan
424
424
description : >
@@ -429,7 +429,7 @@ paths:
429
429
- Loadpoints
430
430
parameters :
431
431
- $ref : " #/components/parameters/id"
432
- - $ref : " #/components/parameters/power "
432
+ - $ref : " #/components/parameters/energy "
433
433
- $ref : " #/components/parameters/timestamp"
434
434
responses :
435
435
" 200 " :
@@ -1065,6 +1065,11 @@ components:
1065
1065
type : number
1066
1066
example : 16
1067
1067
minimum : 0
1068
+ Energy :
1069
+ description : Energy in kWh
1070
+ type : number
1071
+ example : 25.5
1072
+ minimum : 0
1068
1073
Delay :
1069
1074
description : >
1070
1075
Time in seconds. [Read
@@ -1225,7 +1230,7 @@ components:
1225
1230
type : object
1226
1231
properties :
1227
1232
energy :
1228
- $ref : " #/components/schemas/Power "
1233
+ $ref : " #/components/schemas/Energy "
1229
1234
precondition :
1230
1235
$ref : " #/components/schemas/Precondition"
1231
1236
time :
@@ -1382,6 +1387,13 @@ components:
1382
1387
required : true
1383
1388
schema :
1384
1389
$ref : " #/components/schemas/Power"
1390
+ energy :
1391
+ name : energy
1392
+ description : Energy in kWh
1393
+ in : path
1394
+ required : true
1395
+ schema :
1396
+ $ref : " #/components/schemas/Energy"
1385
1397
threshold :
1386
1398
name : threshold
1387
1399
description : Power in Watts
0 commit comments