diff --git a/esphome/components/logger/logger.cpp b/esphome/components/logger/logger.cpp index 1af2791644..322d153767 100644 --- a/esphome/components/logger/logger.cpp +++ b/esphome/components/logger/logger.cpp @@ -266,8 +266,7 @@ static const LogString *const LOG_LEVELS[] = { reinterpret_cast(LOG_LEVEL_VERBOSE), reinterpret_cast(LOG_LEVEL_VERY_VERBOSE), }; #else -static const LogString *const LOG_LEVELS[] = {"NONE", "ERROR", "WARN", "INFO", - "CONFIG", "DEBUG", "VERBOSE", "VERY_VERBOSE"}; +static const char *const LOG_LEVELS[] = {"NONE", "ERROR", "WARN", "INFO", "CONFIG", "DEBUG", "VERBOSE", "VERY_VERBOSE"}; #endif void Logger::dump_config() {