1
0
mirror of https://github.com/esphome/esphome.git synced 2025-04-16 07:40:29 +01:00

fix: implement lamp deactivation in SAVE_MODE_FRAM for proper state management

This commit is contained in:
Oliver Kleinecke 2025-02-19 18:32:26 +01:00
parent 82007c2ec0
commit 3f9bb14273

View File

@ -374,9 +374,9 @@ void DynamicLampComponent::restore_lamp_settings_() {
this->status_set_warning();
break;
case SAVE_MODE_FRAM:
// ToDo - yet to be implemented
//ESP_LOGW(TAG, "Save mode FRAM not implemented yet, sorry");
//this->status_set_warning();
for (uint8_t i=0; i < 16; i++) {
this->active_lamps_[i].active = false;
}
break;
}
}