mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 09:44:12 +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_();
|
this->get_current_config_();
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
if (this->check_config_()) {
|
if (!this->check_config_()) {
|
||||||
ESP_LOGD(TAG, "Config is good to go!");
|
ESP_LOGD(TAG, "Config is not right, changing it now");
|
||||||
} else {
|
|
||||||
this->set_config_();
|
this->set_config_();
|
||||||
ESP_LOGD(TAG, "Config is not right, have to do something about that!");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this->get_mode_() != NORMAL) {
|
if (this->get_mode_() != NORMAL) {
|
||||||
|
|
Loading…
Reference in a new issue