mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
fix: implement lamp deactivation in SAVE_MODE_FRAM for proper state management
This commit is contained in:
@@ -374,9 +374,9 @@ void DynamicLampComponent::restore_lamp_settings_() {
|
|||||||
this->status_set_warning();
|
this->status_set_warning();
|
||||||
break;
|
break;
|
||||||
case SAVE_MODE_FRAM:
|
case SAVE_MODE_FRAM:
|
||||||
// ToDo - yet to be implemented
|
for (uint8_t i=0; i < 16; i++) {
|
||||||
//ESP_LOGW(TAG, "Save mode FRAM not implemented yet, sorry");
|
this->active_lamps_[i].active = false;
|
||||||
//this->status_set_warning();
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user