Disable unlanded min max state value setting
This commit is contained in:
parent
2807cd970f
commit
7bc1d802d4
@ -360,7 +360,8 @@ void IntegrationPluginGoECharger::update(Thing *thing, const QVariantMap &status
|
|||||||
uint cableLimit = statusMap.value("cbl").toUInt();
|
uint cableLimit = statusMap.value("cbl").toUInt();
|
||||||
|
|
||||||
// Set the limit for the max charging amps
|
// Set the limit for the max charging amps
|
||||||
thing->setStateMaxValue(goeHomeMaxChargingCurrentStateTypeId, qMin(amaLimit, cableLimit));
|
// FIXME: set the max value for the state to limit
|
||||||
|
//thing->setStateMaxValue(goeHomeMaxChargingCurrentStateTypeId, qMin(amaLimit, cableLimit));
|
||||||
|
|
||||||
thing->setStateValue(goeHomeAbsoluteMaxAmpereStateTypeId, amaLimit);
|
thing->setStateValue(goeHomeAbsoluteMaxAmpereStateTypeId, amaLimit);
|
||||||
thing->setStateValue(goeHomeCableType2AmpereStateTypeId, cableLimit);
|
thing->setStateValue(goeHomeCableType2AmpereStateTypeId, cableLimit);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user