diff --git a/src/mqtt.cpp b/src/mqtt.cpp index ad2ab8457..bb52d35a4 100644 --- a/src/mqtt.cpp +++ b/src/mqtt.cpp @@ -579,6 +579,7 @@ void Mqtt::ha_status() { } #endif + // TODO camelCase publish_system_ha_sensor_config(DeviceValueType::STRING, "EMS Bus", "bus_status", DeviceValueUOM::NONE); publish_system_ha_sensor_config(DeviceValueType::STRING, "Uptime", "uptime", DeviceValueUOM::NONE); publish_system_ha_sensor_config(DeviceValueType::INT8, "Uptime (sec)", "uptime_sec", DeviceValueUOM::SECONDS); diff --git a/src/system.cpp b/src/system.cpp index 374d28b9b..b661416f3 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -668,6 +668,7 @@ void System::send_info_mqtt() { } // create the json for heartbeat +// TODO camelCase void System::heartbeat_json(JsonObject output) { switch (EMSESP::bus_status()) { case EMSESP::BUS_STATUS_OFFLINE: