Add minimal charging current to electricvehicle interface

This commit is contained in:
Simon Stürz 2021-10-22 12:06:20 +02:00
parent 249393241c
commit 29ee1b48f0

View File

@ -1,11 +1,18 @@
{ {
"description": "Interface for electric vehicles", "description": "Interface for electric vehicles. Some electric cars require a minimal charging current, otherwise they don't start charging. Default is a minimum of 6 ampere.",
"extends": ["battery"], "extends": ["battery"],
"states": [ "states": [
{ {
"name": "capacity", "name": "capacity",
"type": "double", "type": "double",
"unit": "KiloWattHour" "unit": "KiloWattHour"
},
{
"name": "minimalChargingCurrent",
"type": "uint",
"unit": "Ampere",
"minValue": 6,
"maxValue": 16
} }
] ]
} }