Fix: show AC input power of Huawei AC charger in live view
makes the value match its description. since most values in the top part of the live view are related to the AC side of the system, it makes sense to use the correct value rather than to change the description.
This commit is contained in:
parent
f634f58788
commit
8b3a1bef47
@ -80,7 +80,7 @@ void WebApiWsLiveClass::generateOnBatteryJsonResponse(JsonVariant& root, bool al
|
||||
|
||||
if (config.Huawei.Enabled) {
|
||||
const RectifierParameters_t * rp = HuaweiCan.get();
|
||||
addTotalField(huaweiObj, "Power", rp->output_power, "W", 2);
|
||||
addTotalField(huaweiObj, "Power", rp->input_power, "W", 2);
|
||||
}
|
||||
|
||||
if (!all) { _lastPublishHuawei = millis(); }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user