Add maximum charging current to the electric vehicle inteface

This commit is contained in:
Simon Stürz 2025-12-22 13:47:18 +01:00
parent 8ca1bca75d
commit 9609598ff5

View File

@ -1,5 +1,5 @@
{
"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.",
"description": "Interface for electric vehicles. Some cars require a minimum charging current to start charging (typically 6 A), and may also enforce a maximum charging current even if the charger supports more.",
"extends": ["battery"],
"states": [
{
@ -15,6 +15,14 @@
"maxValue": 16,
"optional": true
},
{
"name": "maxChargingCurrent",
"type": "uint",
"unit": "Ampere",
"minValue": 16,
"maxValue": 80,
"optional": true
},
{
"name": "phaseCount",
"type": "uint",