mirror of
https://github.com/esphome/esphome.git
synced 2025-03-16 15:48:16 +00:00
fix: remove redundant default case logging in restore_lamp_settings_ for cleaner code
This commit is contained in:
parent
d89963d208
commit
446699cd57
@ -358,9 +358,6 @@ void DynamicLampComponent::restore_lamp_settings_() {
|
|||||||
//ESP_LOGW(TAG, "Save mode FRAM not implemented yet, sorry");
|
//ESP_LOGW(TAG, "Save mode FRAM not implemented yet, sorry");
|
||||||
//this->status_set_warning();
|
//this->status_set_warning();
|
||||||
break;
|
break;
|
||||||
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_);
|
|
||||||
this->save_mode_ = 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user