Revert "Remove esp-idf"

This reverts commit 58d86aeb86.
This commit is contained in:
Edward Firmo
2023-11-28 16:09:39 +01:00
parent 58d86aeb86
commit 55f254e7a2
4 changed files with 26 additions and 31 deletions

View File

@@ -13,11 +13,6 @@ substitutions:
# nextion_update_blank_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/raw/main/custom_configuration/nspanel_blank.tft"
##############################################
#external_components:
# - source: github://pr#5683 # Remove this when that pr is merged
# components:
# - nextion
button:
##### UPDATE TFT DISPLAY #####
- name: ${device_name} Update TFT display
@@ -94,8 +89,7 @@ script:
exit_reparse->execute();
delay_seconds_(2);
ESP_LOGV(TAG, "Calling upload from Nextion component");
disp1->upload_tft();
id(restart_nspanel).press();
if (disp1->upload_tft()) id(restart_nspanel).press();
ESP_LOGD(TAG, "Turn off Nextion");
screen_power->turn_off();
delay_seconds_(3);