diff --git a/sd-card/html/index.html b/sd-card/html/index.html
index cfaa6a983..6a68e2e25 100644
--- a/sd-card/html/index.html
+++ b/sd-card/html/index.html
@@ -187,7 +187,7 @@
An ESP32 all inclusive neural network recognition system for meter Digitizat
category = getConfigCategory();
param = getConfigParameters();
- if (category["MQTT"]["enabled"] && param["MQTT"]["HomeassistantDiscovery"].value == "true") {
+ if (category["MQTT"]["enabled"] && param["MQTT"]["HomeassistantDiscovery"].value1 == "true") {
document.getElementById("ManualControl").style.display="";
document.getElementById("HASendDiscovery").style.display="";
}