From 5e2c9948b273b4fc70dd700e6f1f9e09475c74f1 Mon Sep 17 00:00:00 2001 From: CaCO3 Date: Mon, 2 Dec 2024 21:24:33 +0100 Subject: [PATCH] remove unused payload --- code/components/jomjol_mqtt/server_mqtt.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/code/components/jomjol_mqtt/server_mqtt.cpp b/code/components/jomjol_mqtt/server_mqtt.cpp index ce55cf299..2ec954af4 100644 --- a/code/components/jomjol_mqtt/server_mqtt.cpp +++ b/code/components/jomjol_mqtt/server_mqtt.cpp @@ -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 + "\",";