diff --git a/advanced/esphome/nspanel_esphome_addon_upload_tft.yaml b/advanced/esphome/nspanel_esphome_addon_upload_tft.yaml index 52dffb198..a61641f52 100644 --- a/advanced/esphome/nspanel_esphome_addon_upload_tft.yaml +++ b/advanced/esphome/nspanel_esphome_addon_upload_tft.yaml @@ -475,7 +475,7 @@ script: return upload_end_(false); } - if (not display_mode->state > 0) { + if (display_mode->state <= 0) { ESP_LOGD(TAG, "Setting Nextion protocol reparse mode to passive"); exit_reparse->execute(); disable_boot_timers_(); @@ -743,7 +743,7 @@ script: return upload_end_(false); } - if (not display_mode->state > 0) { + if (display_mode->state <= 0) { ESP_LOGD(TAG, "Setting Nextion protocol reparse mode to passive"); exit_reparse->execute(); disable_boot_timers_(); @@ -944,7 +944,7 @@ script: display_wrapped_text->execute("confirm.body", "Try #3 failed. Restarting display.", 18); } else { lovelace_custom_command->execute("pageType~popupNotify"); - sprintf(update_msg, "entityUpdateDetail~~Upload TFT - %s~65535~~0~~0~Power cycle display~65535~10000~3~~~", framework.c_str(), original_baud_rate_); + sprintf(update_msg, "entityUpdateDetail~~Upload TFT - %s~65535~~0~~0~Power cycle display~65535~10000~3~~~", framework.c_str()); lovelace_custom_command->execute(update_msg); } delay_seconds_(3);