diff --git a/esphome/components/debug/debug_component.cpp b/esphome/components/debug/debug_component.cpp index c4de42c7e9..41e07dac35 100644 --- a/esphome/components/debug/debug_component.cpp +++ b/esphome/components/debug/debug_component.cpp @@ -15,10 +15,6 @@ namespace debug { static const char *const TAG = "debug"; void DebugComponent::dump_config() { -#ifndef ESPHOME_LOG_HAS_DEBUG - return; // Can't log below if debug logging is disabled -#endif - ESP_LOGCONFIG(TAG, "Debug component:"); #ifdef USE_TEXT_SENSOR LOG_TEXT_SENSOR(" ", "Device info", this->device_info_);