Disable restore notification_unread
This must be changed to a binary sensor in the future.
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,6 +1,10 @@
|
|||||||
# Ignore Mac DS_Store files
|
# Ignore Mac DS_Store files
|
||||||
.DS_Store
|
.DS_Store
|
||||||
**/.DS_Store
|
**/.DS_Store
|
||||||
|
|
||||||
Nextion2Text.*
|
Nextion2Text.*
|
||||||
*.cmd
|
*.cmd
|
||||||
*.bat
|
*.bat
|
||||||
|
|
||||||
|
# Ignore IntelliJ IDEA project directory
|
||||||
|
.idea
|
||||||
|
|||||||
@@ -1309,7 +1309,7 @@ switch:
|
|||||||
id: notification_unread
|
id: notification_unread
|
||||||
entity_category: config
|
entity_category: config
|
||||||
optimistic: true
|
optimistic: true
|
||||||
restore_mode: RESTORE_DEFAULT_ON
|
restore_mode: ALWAYS_OFF
|
||||||
on_turn_on:
|
on_turn_on:
|
||||||
- lambda: id(set_component_color).execute("home.bt_notific", id(home_notify_icon_color_unread), {});
|
- lambda: id(set_component_color).execute("home.bt_notific", id(home_notify_icon_color_unread), {});
|
||||||
on_turn_off:
|
on_turn_off:
|
||||||
|
|||||||
Reference in New Issue
Block a user