diff --git a/.gitignore b/.gitignore index 7c98d2d..071293d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,10 @@ # Ignore Mac DS_Store files .DS_Store **/.DS_Store + Nextion2Text.* *.cmd *.bat + +# Ignore IntelliJ IDEA project directory +.idea diff --git a/nspanel_esphome.yaml b/nspanel_esphome.yaml index 90e1d1a..f9f6ddc 100644 --- a/nspanel_esphome.yaml +++ b/nspanel_esphome.yaml @@ -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: