This commit is contained in:
J. Nick Koston 2025-07-24 21:08:57 -10:00
parent 9d20b04512
commit 431766d898
No known key found for this signature in database

View File

@ -152,8 +152,10 @@ void Component::call() {
case COMPONENT_STATE_CONSTRUCTION: { case COMPONENT_STATE_CONSTRUCTION: {
// State Construction: Call setup and set state to setup // State Construction: Call setup and set state to setup
this->set_component_state_(COMPONENT_STATE_SETUP); this->set_component_state_(COMPONENT_STATE_SETUP);
#if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_VERBOSE
ESP_LOGV(TAG, "Setup %s", this->get_component_source());
#endif
#if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_DEBUG #if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_DEBUG
ESP_LOGD(TAG, "Setup %s", this->get_component_source());
uint32_t start_time = millis(); uint32_t start_time = millis();
#endif #endif
this->call_setup(); this->call_setup();