* Rationalisation of logs and removal of duplicate codes
This commit is contained in:
1 parent
10f0d4cff4
commit
bdda5df839
5 files changed
+132
-116
No files matched your search
@@ -101,6 +101,7 @@ void pubBTMainCore(JsonObject& data, bool haPresenceEnabled = true) {
|
||||
if (data.containsKey("servicedata"))
|
||||
data.remove("servicedata");
|
||||
String topic = String(Base_Topic) + "home_presence/" + String(gateway_name);
|
||||
Log.trace(F("Pub HA Presence %s" CR), topic.c_str());
|
||||
pub_custom_topic((char*)topic.c_str(), data, false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user