Add todo in code for later implementation
This commit is contained in:
parent
53fe473913
commit
588e754f1f
@ -211,6 +211,7 @@ void IntegrationPluginGoECharger::executeAction(ThingActionInfo *info)
|
|||||||
} else if (action.actionTypeId() == goeHomeAbsoluteMaxAmpereActionTypeId) {
|
} else if (action.actionTypeId() == goeHomeAbsoluteMaxAmpereActionTypeId) {
|
||||||
uint maxAmpere = action.paramValue(goeHomeAbsoluteMaxAmpereActionAbsoluteMaxAmpereParamTypeId).toUInt();
|
uint maxAmpere = action.paramValue(goeHomeAbsoluteMaxAmpereActionAbsoluteMaxAmpereParamTypeId).toUInt();
|
||||||
qCDebug(dcGoECharger()) << "Setting absolute maximal charging amperes to" << maxAmpere << "A";
|
qCDebug(dcGoECharger()) << "Setting absolute maximal charging amperes to" << maxAmpere << "A";
|
||||||
|
// TODO: use amx if available
|
||||||
// Set the allow value
|
// Set the allow value
|
||||||
QString configuration = QString("ama=%1").arg(maxAmpere);
|
QString configuration = QString("ama=%1").arg(maxAmpere);
|
||||||
sendActionRequest(thing, info, configuration);
|
sendActionRequest(thing, info, configuration);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user