1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 06:38:17 +00:00

fix: rename clear_fram_ method to clear_fram for consistency in DynamicLampComponent

This commit is contained in:
Oliver Kleinecke 2025-02-19 19:49:04 +01:00
parent f3468027a3
commit 55fc652cd5
2 changed files with 2 additions and 2 deletions

View File

@ -410,7 +410,7 @@ void DynamicLampComponent::restore_timers_() {
}
}
void DynamicLampComponent::clear_fram_() {
void DynamicLampComponent::clear_fram() {
this->fram_->clear();
ESP_LOGV(TAG, "Cleared FRAM");
}

View File

@ -110,6 +110,7 @@ class DynamicLampComponent : public Component {
uint8_t minute, bool monday, bool tuesday, bool wednesday, bool thursday,
bool friday, bool saturday, bool sunday);
void read_timers_to_log();
void clear_fram();
protected:
friend class DynamicLamp;
@ -123,7 +124,6 @@ class DynamicLampComponent : public Component {
std::array<bool, 16> get_lamp_outputs_by_name_(std::string lamp_name);
std::vector<uint8_t> split_to_int_vector_(std::string lamp_list_str);
std::vector<bool> build_lamp_list_from_list_str_(std::string lamp_list_str);
void clear_fram_();
CombinedLamp active_lamps_[16];
LinkedOutput available_outputs_[16];