Refresh pages when new settings comes
This commit is contained in:
@@ -1864,10 +1864,11 @@ script:
|
|||||||
id(is_blueprint_updated) = true;
|
id(is_blueprint_updated) = true;
|
||||||
disp1->send_command_printf("api=1");
|
disp1->send_command_printf("api=1");
|
||||||
|
|
||||||
// Update home page
|
if (current_page->state != "boot") {
|
||||||
ESP_LOGV(TAG, "Update home page");
|
// Update current page
|
||||||
page_home->execute();
|
ESP_LOGV(TAG, "Update current page");
|
||||||
|
page_changed->execute(current_page->state.c_str());
|
||||||
|
}
|
||||||
ESP_LOGV(TAG, "Current page: %s", current_page->state.c_str());
|
ESP_LOGV(TAG, "Current page: %s", current_page->state.c_str());
|
||||||
|
|
||||||
- if:
|
- if:
|
||||||
|
|||||||
Reference in New Issue
Block a user