typos, update

This commit is contained in:
MichaelDvP
2025-10-06 08:59:16 +02:00
parent 689a3a9a69
commit e9e7162bcd
3 changed files with 6 additions and 3 deletions

View File

@@ -108,7 +108,7 @@ build_type = release
board_build.filesystem = littlefs
lib_deps =
bblanchon/ArduinoJson @ 7.4.2
ESP32Async/AsyncTCP @ 3.4.8
ESP32Async/AsyncTCP @ 3.4.9
ESP32Async/ESPAsyncWebServer @ 3.8.1
https://github.com/emsesp/EMS-ESP-Modules.git @ 1.0.8

View File

@@ -258,6 +258,9 @@ uint8_t EMSdevice::device_name_2_device_type(const char * topic) {
if (!strcmp(lowtopic, F_(pool))) {
return DeviceType::POOL;
}
if (!strcmp(lowtopic, F_(connect))) {
return DeviceType::CONNECT;
}
// non EMS
if (!strcmp(lowtopic, F_(custom))) {
@@ -1901,7 +1904,7 @@ void EMSdevice::mqtt_ha_entity_config_create() {
Mqtt::publish_ha_climate_config(dv.tag, true, false, dv.min, dv.max);
}
#ifndef EMSESP_STANDALONE
#ifndef EMSESP_STANDALONE
// always create minimum one config
if (count && (heap_caps_get_free_size(MALLOC_CAP_8BIT) < 65 * 1024)) { // checks free Heap+PSRAM
break;

View File

@@ -124,7 +124,7 @@ void Connect::process_roomThermostatName(std::shared_ptr<const Telegram> telegra
rc->name_[(i - 2) / 2] = telegram->message_data[i];
}
}
rc->name_[50] = ' \0'; // make sure name is terminated
rc->name_[50] = '\0'; // make sure name is terminated
}
// settings 0-mode, 1-tempautotemp, 3 - manualtemp, 6,7 - ?