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:
parent
f3468027a3
commit
55fc652cd5
@ -410,7 +410,7 @@ void DynamicLampComponent::restore_timers_() {
|
||||
}
|
||||
}
|
||||
|
||||
void DynamicLampComponent::clear_fram_() {
|
||||
void DynamicLampComponent::clear_fram() {
|
||||
this->fram_->clear();
|
||||
ESP_LOGV(TAG, "Cleared FRAM");
|
||||
}
|
||||
|
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user