Close Notification page when cleared
This commit is contained in:
@@ -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 #####
|
||||
|
||||
Reference in New Issue
Block a user