Skip to content

Commit

Permalink
Fix HA menu entry
Browse files Browse the repository at this point in the history
  • Loading branch information
caco3 authored Oct 18, 2024
1 parent dadf18f commit 7bf0616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sd-card/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ <h2>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="";
}
Expand Down

0 comments on commit 7bf0616

Please sign in to comment.