diff --git a/sd-card/html/index.html b/sd-card/html/index.html index cfaa6a98..c9a78cca 100644 --- a/sd-card/html/index.html +++ b/sd-card/html/index.html @@ -134,9 +134,9 @@
@@ -187,19 +187,19 @@ 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=""; } } function HA_send_discovery() { - console.log("HA Discovery scheduled"); + console.log("Homeassistant Discovery topic sending scheduled"); var url = getDomainname() + '/mqtt_publish_discovery'; var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { - firework.launch('Sending HA discovery topics scheduled. The sending will be processed in state "Publish to MQTT"', 'success', 5000); + firework.launch('Sending Homeassistant discovery topics scheduled. It will get sent in the step "Publish to MQTT" of the next digitization round', 'success', 5000); } } xhttp.open("GET", url, true);