mirror of
https://github.com/esphome/esphome.git
synced 2024-12-25 23:14:54 +01:00
Update ebyte_lora.cpp
This commit is contained in:
parent
2bb9061fe1
commit
ce7c9cec7c
1 changed files with 2 additions and 4 deletions
|
@ -213,11 +213,9 @@ void EbyteLoraComponent::update() {
|
|||
this->get_current_config_();
|
||||
return;
|
||||
} else {
|
||||
if (this->check_config_()) {
|
||||
ESP_LOGD(TAG, "Config is good to go!");
|
||||
} else {
|
||||
if (!this->check_config_()) {
|
||||
ESP_LOGD(TAG, "Config is not right, changing it now");
|
||||
this->set_config_();
|
||||
ESP_LOGD(TAG, "Config is not right, have to do something about that!");
|
||||
}
|
||||
}
|
||||
if (this->get_mode_() != NORMAL) {
|
||||
|
|
Loading…
Reference in a new issue