diff --git a/src/web/AmsWebServer.cpp b/src/web/AmsWebServer.cpp index 5fd0202e..ee435af8 100644 --- a/src/web/AmsWebServer.cpp +++ b/src/web/AmsWebServer.cpp @@ -104,7 +104,8 @@ void AmsWebServer::indexHtml() { html.replace("${data.P}", String(data.getActiveImportPower())); html.replace("${data.PO}", String(data.getActiveExportPower())); - html.replace("${display.production}", config->getProductionCapacity() > 0 ? "" : "none"); + html.replace("${display.export}", config->getProductionCapacity() > 0 ? "" : "none"); + html.replace("${text.import}", config->getProductionCapacity() > 0 ? "Import" : "Consumption"); html.replace("${data.U1}", u1 > 0 ? String(u1, 1) : ""); html.replace("${data.I1}", u1 > 0 ? String(i1, 1) : ""); diff --git a/web/index.html b/web/index.html index e57688b5..56fa19c6 100644 --- a/web/index.html +++ b/web/index.html @@ -92,7 +92,7 @@