1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-05 21:02:20 +01:00

Reduce libretiny logconfig messages (#9239)

This commit is contained in:
J. Nick Koston
2025-06-27 22:53:40 -05:00
committed by GitHub
parent e9870c2922
commit f8d59b5aeb

View File

@@ -10,9 +10,11 @@ namespace libretiny {
static const char *const TAG = "lt.component"; static const char *const TAG = "lt.component";
void LTComponent::dump_config() { void LTComponent::dump_config() {
ESP_LOGCONFIG(TAG, "LibreTiny:"); ESP_LOGCONFIG(TAG,
ESP_LOGCONFIG(TAG, " Version: %s", LT_BANNER_STR + 10); "LibreTiny:\n"
ESP_LOGCONFIG(TAG, " Loglevel: %u", LT_LOGLEVEL); " Version: %s\n"
" Loglevel: %u",
LT_BANNER_STR + 10, LT_LOGLEVEL);
#ifdef USE_TEXT_SENSOR #ifdef USE_TEXT_SENSOR
if (this->version_ != nullptr) { if (this->version_ != nullptr) {