From d7116c0c684e2b611ba899cd85de2724f3ce442c Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Tue, 3 Oct 2023 14:56:48 +0200 Subject: [PATCH] Removed unnecessary call to `bt_notific` `notification` page is loaded right after that. --- nspanel_esphome.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/nspanel_esphome.yaml b/nspanel_esphome.yaml index 3b314e8..e98bf22 100644 --- a/nspanel_esphome.yaml +++ b/nspanel_esphome.yaml @@ -242,7 +242,6 @@ api: ESP_LOGV("service.notification_show", "Starting"); id(disp1).send_command_printf("is_notification=1"); - if (id(current_page).state.c_str() == "home") id(disp1).show_component("bt_notific"); id(disp1).goto_page("notification"); id(disp1).set_component_text_printf("notification.notifi_label", "%s", label.c_str());