Add todo in code for later implementation

master
Simon Stürz 2021-09-30 12:10:26 +02:00
parent 53fe473913
commit 588e754f1f
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ void IntegrationPluginGoECharger::executeAction(ThingActionInfo *info)
} else if (action.actionTypeId() == goeHomeAbsoluteMaxAmpereActionTypeId) {
uint maxAmpere = action.paramValue(goeHomeAbsoluteMaxAmpereActionAbsoluteMaxAmpereParamTypeId).toUInt();
qCDebug(dcGoECharger()) << "Setting absolute maximal charging amperes to" << maxAmpere << "A";
// TODO: use amx if available
// Set the allow value
QString configuration = QString("ama=%1").arg(maxAmpere);
sendActionRequest(thing, info, configuration);