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("");