Refactor session settings and apis (BC) (#10335)

This commit is contained in:
andig 2023-12-02 20:56:30 +05:00 • committed by GitHub
parent 66143c2c61
commit d63dec9511
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
116 changed files with 4073 additions and 2539 deletions

View file

@ -103,6 +103,12 @@
"capacity": {
"type": "integer"
},
"phases": {
"type": "integer"
},
"identifiers": {
"type": "array"
},
"user": {
"type": "string"
},
@ -121,10 +127,7 @@
"mode": {
"$ref": "#/definitions/mode"
},
"minSoc": {
"type": "integer"
},
"targetSoc": {
"priority": {
"type": "integer"
},
"minCurrent": {
@ -165,15 +168,6 @@
"minItems": 1,
"uniqueItems": true
},
"pvs": {
"description": "PV inverters/meters",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
},
"battery": {
"description": "Home battery (1 or more)",
"type": [
@ -186,15 +180,6 @@
"minItems": 1,
"uniqueItems": true
},
"batteries": {
"description": "Home batteries",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
},
"smart": {
"type": "string"
}
@ -203,20 +188,8 @@
"residualPower": {
"type": "number"
},
"prioritySoc": {
"type": "number"
},
"bufferSoc": {
"type": "number"
},
"bufferStartSoc": {
"type": "number"
},
"maxGridSupplyWhileBatteryCharging": {
"type": "number"
},
"autoChargeCostLimit": {
"type": "number"
}
}
},