mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 07:08:20 +00:00
fix: add missing break statement in restore_timers_ for correct flow control
This commit is contained in:
parent
4d238766e9
commit
c025ccabaa
@ -409,6 +409,7 @@ void DynamicLampComponent::restore_timers_() {
|
|||||||
default:
|
default:
|
||||||
ESP_LOGW(TAG, "Currently only NONE(0), LOCAL(1) & FRAM(2) save modes supported, ignoring value %" PRIu8 " and defaulting to NONE!", this->save_mode_);
|
ESP_LOGW(TAG, "Currently only NONE(0), LOCAL(1) & FRAM(2) save modes supported, ignoring value %" PRIu8 " and defaulting to NONE!", this->save_mode_);
|
||||||
this->save_mode_ = 0;
|
this->save_mode_ = 0;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user