add TODO reminders

This commit is contained in:
proddy
2024-07-15 20:59:14 +02:00
parent 16fa03fb48
commit 87b47c57bb
2 changed files with 2 additions and 0 deletions

View File

@@ -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);

View File

@@ -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: