mirror of
https://github.com/esphome/esphome.git
synced 2025-01-31 10:10:56 +00:00
Include "Failed" status in config log. (#6482)
This commit is contained in:
parent
0148ebcaa6
commit
2c67d83976
@ -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…
x
Reference in New Issue
Block a user