Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Slider0007 committed Oct 19, 2024
1 parent 908b81b commit 598feb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/components/jomjol_mqtt/server_mqtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ bool sendHomeAssistantDiscoveryTopic(std::string group, std::string field,
payload += "\"value_template\": \"{{ 'OFF' if 'no error' in value else 'ON'}}\",";
}
else if (field == "flowstart") { // Special case: Button
payload += "\"cmd_t\":\"~" + "/ctrl/flow_start" + "\","; // Add command topic
payload += "\"cmd_t\":\"~/ctrl/flow_start\","; // Add command topic
payload += "\"pl_prs\":\"1\",";
}
else {
Expand Down

0 comments on commit 598feb7

Please sign in to comment.