diff --git a/advanced/esphome/nspanel_esphome_core.yaml b/advanced/esphome/nspanel_esphome_core.yaml index ea6940d..601b7d7 100644 --- a/advanced/esphome/nspanel_esphome_core.yaml +++ b/advanced/esphome/nspanel_esphome_core.yaml @@ -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