From ec35a07f524ae07669df1b542268e6ded4c5131e Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Tue, 28 Nov 2023 14:46:16 +0100 Subject: [PATCH] Fix call to older upload_tft() --- nspanel_esphome_addon_upload_tft.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nspanel_esphome_addon_upload_tft.yaml b/nspanel_esphome_addon_upload_tft.yaml index ab9c7a5..071ca88 100644 --- a/nspanel_esphome_addon_upload_tft.yaml +++ b/nspanel_esphome_addon_upload_tft.yaml @@ -94,7 +94,8 @@ script: exit_reparse->execute(); delay_seconds_(2); ESP_LOGV(TAG, "Calling upload from Nextion component"); - if (disp1->upload_tft()) id(restart_nspanel).press(); + disp1->upload_tft(); + id(restart_nspanel).press(); ESP_LOGD(TAG, "Turn off Nextion"); screen_power->turn_off(); delay_seconds_(3);