frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Default dashboard keeps resetting to Overview

Open GizmoGoody opened this issue 2 years ago • 28 comments

Checklist

  • [X] I have updated to the latest available Home Assistant version.
  • [X] I have cleared the cache of my browser.
  • [X] I have tried a different browser to see if it is related to my browser.

Describe the issue you are experiencing

I recently reconfigured my primary custom .yaml dashboard configuration to clean up the URL (i.e. remove reference to anything "lovelace"). My configuration now looks like this:

lovelace:
  mode: storage
  dashboards:
    dash-board:
      mode: yaml
      filename: dashboard.yaml
      title: Home
      icon: mdi:home-account
      show_in_sidebar: true
      require_admin: false

Ever since, some of my devices seem to reset the default dashboard every 1-2 days to the Overview which is marked as default even if I stay logged in and on WiFi and/or when the app has to switch to external access (Nabu Casa) and then back to internal.

I cannot seem to pinpoint what part of the configuration changes are causing this. Any ideas or is this just a bug I need to report?

Describe the behavior you expected

The dashboard I set as the default to persist.

Steps to reproduce the issue

See above

What version of Home Assistant Core has the issue?

2023.11.2

What was the last working version of Home Assistant Core?

N/A

In which browser are you experiencing the issue with?

Multiple including iOS HA app and Edge

Which operating system are you using to run this browser?

iOS 17.0.3 and Windows 10

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

GizmoGoody avatar Nov 11 '23 03:11 GizmoGoody

I am also having this issue on iOS. On Android it is fine.

My configuration.yaml looks like below which I am setting as default on iOS but it keeps resetting the default to Overview.

lovelace:
  mode: storage
  dashboards:
    mobile-dashboard:
      mode: yaml
      filename: dashboards/mobile-dashboard/mobile-dashboard.yaml
      title: Mobile Dashboard

codemunkie15 avatar Dec 06 '23 16:12 codemunkie15

More context added here.

GizmoGoody avatar Dec 16 '23 11:12 GizmoGoody

I also experience this. From what I can tell the defaultPanel in the local storage is reset on a refresh of the page, but I don't know why this happens.

janrivo avatar Feb 07 '24 08:02 janrivo

This occurs on my android device, ios device and desktop.

jprokopowich avatar Feb 11 '24 18:02 jprokopowich

Can you clarify if this is just in your user setting for your own default dashboard or is it actually changing the default dashboard outside of your own user default dashboard under user settings?

I have the problem which appears to be related to the above complaint which is triggered by connecting to a different network for example: I am away from home and on LTE or a different network and I connect via the iphone APP using NabuCasa. My user profile defaults to the HA default dashboard instead of my user default dashboard. I then have to go into my user profile and change it back to my actual default dashboard which is a different dashboard than the Overview default dashboard. My default in HA is not the Overview default dashboard but rather a dashboard I created.

prohidium avatar Mar 07 '24 15:03 prohidium

Well, with all the changes I made trying to put things back to default setting, my dashboards are still not displaying as intended and my problem now is that I cannot seem to get the Overview page to stay in the sidebar (ironically, the inverse symptom of my original issue).

I've returned my configuration.yaml back to the default setting for a YAML Overview dashboard:

lovelace:
  mode: yaml #I have also tried storage
  resources: !include resources.yaml

But, unless I manually select Overview on each device, it doesn't default to Overview. Also, even when I manually set it per device (via Profile>Dashboard OR Settings>Dashboard>Overview>SET AS DEFAULT ON THIS DEVICE), it seems any number of things (*including force closing and reopening the iOS app while still on my home network OR turning off WiFi on my iPhone forcing a refresh) can cause it to still disappear from the sidebar. In both cases, if I go back into Settings>Dashboard, Show in sidebar is once again deselected and none of the dashboards are selected as default (same under Profile). So, in this way, this is still symptomatic of my original issue which is that the default device dashboard keeps resetting (previously to Overview and now to null).

So, instead, I've had to create a duplicate dashboard (title Dashboard) that is visible in the sidebar and does seem to hold as a default. Here is that part of my configuration...also under lovelace:

  dashboards:
    dash-board:
      mode: yaml
      filename: dashboard.yaml
      title: Dashboard
      icon: mdi:home-account
      show_in_sidebar: true
      require_admin: true

Fortunately, my configuration is split, so I just had to duplicate the reference ui-lovelace.yaml file to dashboard.yaml which only contains

views: !include_dir_merge_list views

Here is a look at my current Dashboard summary from my laptop:

image

*If this were on my iPhone, the two checkmarks on the Overview line would disappear if I did either of the things mentioned.

I'm open to any ideas on how to get back to a stable dashboard configuration since this affects all of the members of my family. It's relatively easy (but still a PITA) for me to get a dashboard back up every.single.time since I'm an Admin, but the rest of my family couldn't get to any of the HA features until I implement the duplicate Dashboard workaround.

GizmoGoody avatar Mar 13 '24 16:03 GizmoGoody

This happens to me periodically as well. It will save for a while, but eventually will revert back to Overview.

akropp avatar May 22 '24 14:05 akropp

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Aug 20 '24 14:08 github-actions[bot]

This is still an issue at least on iOS for me.

codemunkie15 avatar Aug 20 '24 14:08 codemunkie15

Still an issue for me as well.

akropp avatar Aug 20 '24 15:08 akropp

Happened to me just a day or two ago on my iphone. Each time this happens, I have to go into my user profile within the iphone app and reset my dashboard back to the correct one that I have set as default within HA. It appears that the HA companion app still sees Overview as the default dashboard periodically even though I have set a different dashboard as the default dashboard within HA.

prohidium avatar Aug 22 '24 13:08 prohidium

Can it be explained by loosing a local settings? Create a simple custom theme, apply it on a Companion app - and see if this setting is persistent. If the theme is reset to "default" - here is a possible reason.

ildar170975 avatar Aug 22 '24 13:08 ildar170975

Possibly, but sort of beside the point. There really needs to be a way to set the default dashboard on the server side. The "Overview" dashboard is totally worthless in a big installation, and actually crashes the ios app sometimes. So whether it is the app resetting itself to the default, or giving a new user access, there should be a way to set which dashboard the app starts on. All of us maintaining these installations are probably fine with tinkering and adjusting settings, but if we want buy-in from less technical people (e.g. my wife), it needs to be pretty seamless. I have not installed the app for her partly because of the inevitable "what the hell is this?" when the app comes up frozen on the overview page.

--Adam

On Thu, Aug 22, 2024 at 9:23 AM ildar170975 @.***> wrote:

Can it be explained by loosing a local settings? Create a simple custom theme, apply it on a Companion app - and see if this setting is persistent. If the theme is reset to "default" - here is a possible reason.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/frontend/issues/18626#issuecomment-2304664615, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHIXJVPSWR2SZAY4DQS4BHTZSXQ3TAVCNFSM6AAAAAA7G6EJMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBUGY3DINRRGU . You are receiving this because you commented.Message ID: @.***>

akropp avatar Aug 22 '24 19:08 akropp

Ok, I think I may have found the issue. In the companion app, along with setting the default dashboard within your profile, in settings/dashboards, you also have to select your desired dashboard and “set it to default for this device”. I have never set the default on each device and just assumed that my default dashboard set within my profile in the companion app would take care of it. When I switch from wifi (internal access) to LTE (external NabuCasa access), it must dump the profile settings.

So, on the companion app on each iOS device, go to settings/dashboard and make the dashboard you want as default and then also go into your login profile in the companion app and set your default dashboard there as well and I think all will be good going forward.

prohidium avatar Aug 23 '24 14:08 prohidium

I’m facing the same issue in the iOS app but it basically applies to all app settings in the profile. At least the theme, primary & accent colors, and the default dashboard reset occasionally.

I guess this is somewhat expected since the description of the respective section mentions a possible reset when clearing local data. But there really needs to be a better implementation, at least for the mobile apps.

I can reliably reproduce the behavior when switching between WiFi and mobile data which shouldn’t cause local data to be cleared. Maybe it has something to do with the different base URLs?

etiennelenhart avatar Aug 25 '24 06:08 etiennelenhart

I have the same issue of resetting to "Overview" both in iOS app and browser. Right now, I open a Chrome incognito window (no cookies), login as user, click on user icon, set default dashboard to other than "Overview", reload page and verify it works as expected. I then log the user out and log back in - bam, back to overview, and the dashboard setting I just changed is back to "Overview".
Something is obviously broken here... I guess this is the result of "User settings" statement of "The following settings are tied to your account and will persist across all sessions and devices." vs. "Browser settings": "The following settings are local to this client only, and may reset to defaults on logout or when local data is cleared." So how do I set the default for a user? Currently in //homeassistant/config/lovelace/dashboards a dashboard other than "Overview" is set as default.

loopy321 avatar Sep 29 '24 15:09 loopy321

This is simply by design currently, and the only way it could be different is with a new feature request. Please check and see if it exists in the feature requests forum (I'm sure it does) and vote for it there.

There is no ability to set a default dashboard per user. There is only the ability to set a default dashboard for a specific client, and all client settings are reset on logout or cache cleared. So that's expected behavior unfortunately.

karwosts avatar Sep 29 '24 16:09 karwosts

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 28 '24 17:12 github-actions[bot]

Not stale

jhemak avatar Dec 28 '24 17:12 jhemak

This is still an ongoing issue. I need a different default dashboard for mobile devices, but whatever I set as default dashboard in the iOS app reverts back to Overview after a day or just some minutes. It's honestly so so frustrating because you run into this problem multiple times a day and it definitely decreases the overall acceptance factor significantly!

Please give us a solution for this or tell us how to help developing one. Thank you!

dafi87 avatar Dec 29 '24 08:12 dafi87

I've now created a matching feature request for this - if you feel like voting today ;-)

https://community.home-assistant.io/t/make-default-dashboard-and-other-settings-persistent-per-device/828865

Edit: it was merged into a topic with a name I would've never found via search in my whole life 😁 https://community.home-assistant.io/t/server-side-preservation-of-left-menu-pane-settings/615001

⚠⚠⚠ ^ Just vote this! ⚠⚠⚠

xpac1985 avatar Jan 14 '25 21:01 xpac1985

I am experiencing the same issue on Linux Firefox, both Android and iOS apps. Quite frustrating.

radupantiru avatar Jan 18 '25 11:01 radupantiru

Still have this issue.

mbino avatar Mar 14 '25 07:03 mbino

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 12 '25 13:06 github-actions[bot]

Still an issue. Could we store this server-side now to match the 2025.6 changes to the sidebar customization?

codemunkie15 avatar Jun 12 '25 13:06 codemunkie15

Definitely still an issue. I don't understand why given the whole point of Home Assistant is that you can customize everything however you want, you are always forced to show your users this default dashboard and have to instruct them how to get to the actual dashboard you want them to use. Particularly since it is completely broken for large installations. It sets a very bad first impression to new users.

akropp avatar Jun 17 '25 12:06 akropp

Still an issue and definitely has nothing to do with logging out. I have this issue frequently (e.g. after updating Home Assistant via docker) or when being outside of my home WiFi.

Edit: iPhone 14 Pro on iOS 18.5 with Companion App 2025.5

freddeh avatar Jun 17 '25 17:06 freddeh

Can you clarify if this is just in your user setting for your own default dashboard or is it actually changing the default dashboard outside of your own user default dashboard under user settings?

I have the problem which appears to be related to the above complaint which is triggered by connecting to a different network for example: I am away from home and on LTE or a different network and I connect via the iphone APP using NabuCasa. My user profile defaults to the HA default dashboard instead of my user default dashboard. I then have to go into my user profile and change it back to my actual default dashboard which is a different dashboard than the Overview default dashboard. My default in HA is not the Overview default dashboard but rather a dashboard I created.

Update: I replaced my phone and tablet with a current apple device with the latest iOS on both. I am no longer experiencing an issue. I am wondering if this is an older iOS issue or older device issue? When it was happening, i was using an iphone X and an ipad air 2 and both were a generation or two behind in iOS versions.

prohidium avatar Jun 17 '25 21:06 prohidium

This is still an issue on the latest ios companion app. After app updates, resets to Overview for both local and remote access.

bbostock avatar Aug 23 '25 09:08 bbostock

Happening with me as well. It seemed good for a while but now my home page is defaulting to Overview again. Sent from my iPhoneOn Aug 23, 2025, at 5:59 AM, Bill Bostock @.***> wrote:bbostock left a comment (home-assistant/frontend#18626) This is still an issue on the latest ios companion app. After app updates, resets to Overview for both local and remote access.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

prohidium avatar Aug 23 '25 16:08 prohidium