Merge PR #473: Add min charging current to the electricvehicle interface
This commit is contained in:
commit
020a2e968a
@ -1,11 +1,19 @@
|
|||||||
{
|
{
|
||||||
"description": "Interface for electric vehicles",
|
"description": "Interface for electric vehicles. Some electric cars require a minimum 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": "minChargingCurrent",
|
||||||
|
"type": "uint",
|
||||||
|
"unit": "Ampere",
|
||||||
|
"minValue": 6,
|
||||||
|
"maxValue": 16,
|
||||||
|
"optional": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user