diff --git a/keba/integrationpluginkeba.cpp b/keba/integrationpluginkeba.cpp index 370e9728..80209bb8 100644 --- a/keba/integrationpluginkeba.cpp +++ b/keba/integrationpluginkeba.cpp @@ -433,6 +433,7 @@ void IntegrationPluginKeba::onReportTwoReceived(const KeContact::ReportTwo &repo thing->setStateValue(wallboxMaxChargingCurrentStateTypeId, qRound(reportTwo.currentUser)); thing->setStateValue(wallboxMaxChargingCurrentPercentStateTypeId, reportTwo.maxCurrentPercentage); + thing->setStateValue(wallboxMaxChargingCurrentHardwareStateTypeId, reportTwo.currentHardwareLimitation); // Set the state limits according to the hardware limits if (reportTwo.currentHardwareLimitation > 0) { diff --git a/keba/integrationpluginkeba.json b/keba/integrationpluginkeba.json index 0b35bff6..9cf84009 100644 --- a/keba/integrationpluginkeba.json +++ b/keba/integrationpluginkeba.json @@ -153,6 +153,16 @@ "minValue": 0, "maxValue": 100 }, + { + "id": "33e2ed95-f01e-44db-8156-34d124a8ecc8", + "name": "maxChargingCurrentHardware", + "displayName": "Maximal hardware charging current", + "displayNameEvent": "Maximal hardware charging current changed", + "type": "uint", + "unit": "Ampere", + "defaultValue": 32, + "suggestLogging": true + }, { "id": "4a2d75d8-a3a0-4b40-9ca7-e8b6f11d0ef9", "name": "voltagePhaseA",