@@ -2584,6 +2584,16 @@ script:
|
|||||||
timer_reset_all->execute("boot");
|
timer_reset_all->execute("boot");
|
||||||
notification_clear->execute();
|
notification_clear->execute();
|
||||||
id(boot_sequence_completed) = true;
|
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!");
|
ESP_LOGD(TAG, "Boot sequence finished!");
|
||||||
|
|
||||||
- id: notification_clear
|
- id: notification_clear
|
||||||
|
|||||||
Reference in New Issue
Block a user