fix sonar compile

This commit is contained in:
proddy
2024-08-16 16:14:07 +02:00
parent 1d287b6e20
commit bc8a840695
4 changed files with 8 additions and 2 deletions

View File

@@ -1834,7 +1834,7 @@ void EMSdevice::mqtt_ha_entity_config_create() {
#endif
}
}
#ifdef EMSESP_DEBUG
#if defined(EMSESP_DEBUG) || defined(EMSESP_STANDALONE)
if (count) {
EMSESP::logger().debug("Created %d HA-%s-configs", count, device_type_name());
}