Jump to wakeup page if blueprint isn't responding

Solves #1432
This commit is contained in:
Edward Firmo
2023-12-17 21:43:14 +01:00
parent 5999a984ba
commit 857cda0552

View File

@@ -2584,6 +2584,16 @@ script:
timer_reset_all->execute("boot");
notification_clear->execute();
id(boot_sequence_completed) = true;
- wait_until:
condition:
- not:
- text_sensor.state: # Is boot page visible?
id: current_page
state: 'boot'
timeout: 15s
- lambda: |-
static const char *const TAG = "script.boot_sequence";
if (current_page->state == "boot") disp1->goto_page(wakeup_page_name->state.c_str());
ESP_LOGD(TAG, "Boot sequence finished!");
- id: notification_clear