updated test

This commit is contained in:
proddy
2020-11-14 16:57:01 +01:00
parent 256944aea3
commit 16dd1dab71
2 changed files with 13 additions and 10 deletions

View File

@@ -78,12 +78,12 @@ bool System::command_publish(const char * value, const int8_t id) {
if (Helpers::value2string(value, ha)) {
if (ha == "ha") {
EMSESP::publish_all(true); // includes HA
LOG_INFO(F("Published all data to MQTT, including HA configs"));
LOG_INFO(F("Publishing all data to MQTT, including HA configs"));
return true;
}
}
EMSESP::publish_all(); // ignore value and id
LOG_INFO(F("Published all data to MQTT"));
LOG_INFO(F("Publishing all data to MQTT"));
return true;
}