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

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