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