From d7e6e0e9b858942e237aba8c92a605419c785fdb Mon Sep 17 00:00:00 2001 From: Yuri Trikoz Date: Sat, 27 Jun 2020 04:37:11 +0300 Subject: [PATCH] skip time --- src/MqttClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ",");