diff --git a/sd-card/html/index.html b/sd-card/html/index.html
index 54cc638c..b02fce1e 100644
--- a/sd-card/html/index.html
+++ b/sd-card/html/index.html
@@ -120,9 +120,9 @@
Info
- Manual Control
+ Manual Control
@@ -145,7 +145,7 @@
console.log("Loading page: " + getCookie("page"));
document.getElementById('maincontent').src = getCookie("page");
-
+ /*
function flow_start() {
var url = getDomainname() + '/flow_start';
var xhttp = new XMLHttpRequest();
@@ -166,6 +166,7 @@
xhttp.open("GET", url, true);
xhttp.send();
}
+ */
function HA_send_discovery_visiblilty() {
@@ -173,8 +174,10 @@
ParseConfig();
category = getConfigCategory();
param = getConfigParameters();
- if (category["MQTT"]["enabled"] && param["MQTT"]["HomeassistantDiscovery"]["value1"] == "true")
+ if (category["MQTT"]["enabled"] && param["MQTT"]["HomeassistantDiscovery"]["value1"] == "true") {
+ document.getElementById("ManualControl").style.display="";
document.getElementById("HASendDiscovery").style.display="";
+ }
}