Keba: set limit for charging current
This commit is contained in:
parent
74290ca1a3
commit
e7775e46ef
@ -426,9 +426,8 @@ void IntegrationPluginKeba::onReportTwoReceived(const KeContact::ReportTwo &repo
|
|||||||
thing->setStateValue(wallboxMaxChargingCurrentPercentStateTypeId, reportTwo.maxCurrentPercentage);
|
thing->setStateValue(wallboxMaxChargingCurrentPercentStateTypeId, reportTwo.maxCurrentPercentage);
|
||||||
|
|
||||||
// Set the state limits according to the hardware limits
|
// Set the state limits according to the hardware limits
|
||||||
// FIXME: enable limits once landed
|
thing->setStateMaxValue(wallboxMaxChargingCurrentStateTypeId, reportTwo.currentHardwareLimitation);
|
||||||
//thing->setStateMaxValue(wallboxMaxChargingCurrentStateTypeId, reportTwo.currentHardwareLimitation);
|
thing->setStateMaxValue(wallboxMaxChargingCurrentGeneralStateTypeId, reportTwo.currentHardwareLimitation);
|
||||||
//thing->setStateMaxValue(wallboxMaxChargingCurrentGeneralStateTypeId, reportTwo.currentHardwareLimitation);
|
|
||||||
|
|
||||||
thing->setStateValue(wallboxOutputX2StateTypeId, reportTwo.output);
|
thing->setStateValue(wallboxOutputX2StateTypeId, reportTwo.output);
|
||||||
thing->setStateValue(wallboxInputStateTypeId, reportTwo.input);
|
thing->setStateValue(wallboxInputStateTypeId, reportTwo.input);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user