diff --git a/src/MqttClient.cpp b/src/MqttClient.cpp index 19029498..0f4fbd33 100644 --- a/src/MqttClient.cpp +++ b/src/MqttClient.cpp @@ -260,7 +260,7 @@ void publishState() { String state = selectToMarkerLast(tmp, ":"); state.replace("\"", ""); - if (topic != "name" && topic != "lang" && topic != "ip" && topic.indexOf("_in") < 0) { + if ((topic != "time") && (topic != "name") && (topic != "lang") && (topic != "ip") && (topic.indexOf("_in") < 0)) { publishStatus(topic, state); } str = deleteBeforeDelimiter(str, ",");