Skip to content

Commit

Permalink
remove unused payload
Browse files Browse the repository at this point in the history
  • Loading branch information
caco3 authored Dec 2, 2024
1 parent ba7b4ee commit 5e2c994
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/components/jomjol_mqtt/server_mqtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ bool sendHomeAssistantDiscoveryTopic(std::string group, std::string field,
}
else if (field == "flowstart") { // Special case: Button
payload += "\"cmd_t\":\"~/ctrl/flow_start\","; // Add command topic
payload += "\"pl_prs\":\"1\",";
}
else {
payload += "\"state_topic\": \"~/" + field + "\",";
Expand Down

0 comments on commit 5e2c994

Please sign in to comment.