From 29ee1b48f075eef42de2c6ed4559a06c676b5e9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Fri, 22 Oct 2021 12:06:20 +0200 Subject: [PATCH] Add minimal charging current to electricvehicle interface --- libnymea/interfaces/electricvehicle.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libnymea/interfaces/electricvehicle.json b/libnymea/interfaces/electricvehicle.json index 5ccafef3..d5cbcaa6 100644 --- a/libnymea/interfaces/electricvehicle.json +++ b/libnymea/interfaces/electricvehicle.json @@ -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"], "states": [ { "name": "capacity", "type": "double", "unit": "KiloWattHour" + }, + { + "name": "minimalChargingCurrent", + "type": "uint", + "unit": "Ampere", + "minValue": 6, + "maxValue": 16 } ] }