From 7db6e4598dd8623cfa65fef050b9388887ce48e5 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Fri, 22 Mar 2024 12:25:06 +0100 Subject: [PATCH] Fix `is_uploading_tft` name --- esphome/nspanel_esphome_core.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/esphome/nspanel_esphome_core.yaml b/esphome/nspanel_esphome_core.yaml index 64fee0b..813832a 100644 --- a/esphome/nspanel_esphome_core.yaml +++ b/esphome/nspanel_esphome_core.yaml @@ -282,7 +282,7 @@ api: state: bool # State for the button(s) indication: true for active, false for inactive then: - lambda: |- - if (!id(is_uploading)) { + if (!id(is_uploading_tft)) { // Updates the visual state indication for hardware buttons // Use bitwise AND to check specific bits if (button_mask & 1) // Checks if the least significant bit is set (left button) @@ -323,7 +323,7 @@ api: then: - if: condition: - - lambda: return (!id(is_uploading)); + - lambda: return (!id(is_uploading_tft)); then: - script.execute: id: global_settings @@ -360,7 +360,7 @@ api: then: - if: condition: - - lambda: return (!id(is_uploading)); + - lambda: return (!id(is_uploading_tft)); then: - script.execute: id: init_hardware_climate @@ -516,7 +516,7 @@ api: - service: notification_clear then: - lambda: |- - if (!id(is_uploading)) { + if (!id(is_uploading_tft)) { if (current_page->state == "notification") goto_page->execute("home"); notification_label->publish_state(""); notification_text->publish_state("");