From 488f302be44bfd062508a5d00079f6a3dc34407e Mon Sep 17 00:00:00 2001 From: Koen Serneels Date: Mon, 8 Aug 2022 00:20:40 +0200 Subject: [PATCH] Update swagger --- SmartEVSE-3/swagger.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/SmartEVSE-3/swagger.yml b/SmartEVSE-3/swagger.yml index 4b7de96f..46876e84 100644 --- a/SmartEVSE-3/swagger.yml +++ b/SmartEVSE-3/swagger.yml @@ -73,6 +73,9 @@ paths: type: integer 3phases_enabled: type: boolean + mains_meter: + type: string + home_battery: type: object properties: @@ -108,6 +111,13 @@ paths: tags: - Operations parameters: + - in: query + name: backlight + description: |- + Turns backlight on (1) or off (0) + required: false + schema: + type: integer - in: query name: mode description: |- @@ -153,14 +163,6 @@ paths: required: false schema: type: boolean - # - in: query - # name: force_contactors - # description: |- - # Works only when using NORMAL mode and 3phases are enabled (using the EVSE menu or the enable_3phases parameter)
- # Force contactor 2 to be opened/closed
- # required: false - # schema: - # type: boolean requestBody: content: application/json: @@ -257,4 +259,4 @@ components: schemas: Nullable: type: object - nullable: true \ No newline at end of file + nullable: true