diff --git a/nspanel_esphome_core.yaml b/nspanel_esphome_core.yaml index cdd3be4..89bdf83 100644 --- a/nspanel_esphome_core.yaml +++ b/nspanel_esphome_core.yaml @@ -2563,10 +2563,11 @@ script: then: - lambda: |- disp1->send_command_printf("is_notification=0"); - if (current_page->state == "home") disp1->hide_component("bt_notific"); + if (current_page->state == "notification") disp1->goto_page("home"); notification_label->publish_state(""); notification_text->publish_state(""); notification_unread->turn_off(); + if (current_page->state == "home") disp1->hide_component("bt_notific"); ##### ADD-ONS ############################################################ ##### Add-on - Climate #####