Turn on screen after turn off
This commit is contained in:
@@ -765,6 +765,7 @@ script:
|
||||
id(screen_power).turn_off();
|
||||
delay_seconds_(2);
|
||||
ESP_LOGD(TAG, "Turn on Nextion");
|
||||
id(screen_power).turn_on();
|
||||
delay_seconds_(5);
|
||||
}
|
||||
unsigned int new_baud_rate;
|
||||
|
||||
@@ -68,7 +68,7 @@ esphome:
|
||||
- wait_until:
|
||||
condition:
|
||||
- lambda: !lambda return disp1->is_setup();
|
||||
timeout: 20s
|
||||
timeout: 45s
|
||||
- lambda: |-
|
||||
static const char *const TAG = "on_boot";
|
||||
nextion_status->execute();
|
||||
|
||||
Reference in New Issue
Block a user