Merge PR #474: Add phase count and session energy state to the evcharger interface

This commit is contained in:
Jenkins nymea 2021-12-11 00:31:04 +01:00
commit b969f5f4fa

View File

@ -4,7 +4,7 @@
"states": [ "states": [
{ {
"name": "maxChargingCurrent", "name": "maxChargingCurrent",
"type": "double", "type": "uint",
"writable": true, "writable": true,
"unit": "Ampere" "unit": "Ampere"
}, },
@ -18,6 +18,20 @@
"type": "bool", "type": "bool",
"logged": true, "logged": true,
"optional": true "optional": true
},
{
"name": "phaseCount",
"type": "uint",
"minValue": 1,
"maxValue": 3,
"optional": true
},
{
"name": "sessionEnergy",
"type": "double",
"logged": true,
"unit": "KiloWattHour",
"optional": true
} }
] ]
} }