mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
Include "Failed" status in config log. (#6482)
This commit is contained in:
parent
0148ebcaa6
commit
2c67d83976
1 changed files with 6 additions and 1 deletions
|
@ -76,7 +76,12 @@ bool Component::cancel_timeout(const std::string &name) { // NOLINT
|
|||
|
||||
void Component::call_loop() { this->loop(); }
|
||||
void Component::call_setup() { this->setup(); }
|
||||
void Component::call_dump_config() { this->dump_config(); }
|
||||
void Component::call_dump_config() {
|
||||
this->dump_config();
|
||||
if (this->is_failed()) {
|
||||
ESP_LOGE(this->get_component_source(), " Component is marked FAILED");
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t Component::get_component_state() const { return this->component_state_; }
|
||||
void Component::call() {
|
||||
|
|
Loading…
Reference in a new issue