camelCase system name

This commit is contained in:
proddy
2026-06-07 14:39:56 +02:00
parent 844b48accb
commit 511f5c1681

View File

@@ -838,8 +838,8 @@ void System::send_info_mqtt() {
_connection = connection;
JsonDocument doc;
doc["version"] = EMSESP_APP_VERSION;
doc["system_name"] = system_name_.isEmpty() ? "EMS-ESP" : system_name_;
doc["version"] = EMSESP_APP_VERSION;
doc["systemName"] = system_name_.isEmpty() ? "EMS-ESP" : system_name_;
// if NTP is enabled send the boot_time in local time in ISO 8601 format (eg: 2022-11-15 20:46:38)
// https://github.com/emsesp/EMS-ESP32/issues/751