Removed service upload_tft

Please use this instead:
```yaml
service: esphome.xxxxx_upload_tft_url
data:
  url: "default"
```
This commit is contained in:
Edward Firmo
2023-11-10 14:21:56 +01:00
parent 889aa4fd43
commit 25efb93877
3 changed files with 33 additions and 11 deletions

View File

@@ -49,6 +49,16 @@ esphome:
ESP_LOGD(TAG, "Turn on Nextion");
screen_power->turn_on();
}
- wait_until:
condition:
- lambda: !lambda return disp1->is_setup();
timeout: 20s
- lambda: |-
static const char *const TAG = "on_boot";
if (not disp1->is_setup()) {
ESP_LOGE(TAG, "No response from Nextion display");
}
ESP_LOGD(TAG, "Finished");
##### TYPE OF ESP BOARD #####
esp32: