Disable restore notification_unread

This must be changed to a binary sensor in the future.
This commit is contained in:
Edward Firmo
2023-09-07 22:50:40 +02:00
parent 63905025bf
commit 071ee7f39a
2 changed files with 5 additions and 1 deletions

4
.gitignore vendored
View File

@@ -1,6 +1,10 @@
# Ignore Mac DS_Store files
.DS_Store
**/.DS_Store
Nextion2Text.*
*.cmd
*.bat
# Ignore IntelliJ IDEA project directory
.idea

View File

@@ -1309,7 +1309,7 @@ switch:
id: notification_unread
entity_category: config
optimistic: true
restore_mode: RESTORE_DEFAULT_ON
restore_mode: ALWAYS_OFF
on_turn_on:
- lambda: id(set_component_color).execute("home.bt_notific", id(home_notify_icon_color_unread), {});
on_turn_off: