If this is the front-end cache, then it gets lost quite often due to updates from hacs integrations.
Why not store it in the user preferences? Optionally with a device name so you can have a different dashboard per device.
On a weekly basis I get the overview dashboard 2 or 3 times, usually random. And somehow it takes a while to go to my default dashboard when I click it.
It is not the front-end cache, it is the browser local storage. Normally it gets wiped if one logs out, but it doesnāt have an expiration like session storage or cookies, but it is possible to clean it from a JavaScript code though.
That is the best solution, something similar to this. There are many settings that should be stored in the database instead of in the local storage.
This seems to be an issue with the code that retrieves it from the local storage. If you get it sometimes, then the default dashboard entry is not deleted from the local storage, but it is failing to be retrieved instead.
I donāt use that feature so I have not experienced that issue, but if it occurs it should be a bug in Home Assistant frontend.
I really donāt know. But if it loads sometimes and sometimes not it should not be because the data is lost and recovered, it should be because the process of retrieving the data is failing for some reason.
I agree as well. Itās very annoying that anytime I log in on a new device or if cache is cleared for a browser, I have to re-hide the overview dashboard. Just make this a global setting!
I canāt seem to get default_path: '/some/dashboard' working. My new dashboard Iād like to enable for all users has the name ā2025ā and the URL would be https://xxx.xxx.xxx/dashboard-2025
I know that Iām late to this conversation, and Iām also a newbie (so please be gentle), but this is my solution:
The Overview dashboard is useful, but I donāt want ānormalā users to see it.
So ā¦
step 1 is to create a duplicate of Overview, which I called āAdmin Overviewā, using the Default dashboard layout, only accessible to Admin
step 2 is to create the dashboard you want everyone else to have as their default dashboard, and again, make it only accessible to Admin (odd, but bear with me)
step 3 is to edit that dashboard, and from the top right 3 dot menu, choose ā{} Raw configuration editorā. This shows you the yaml for what you want to be everyoneās default dashboard. Copy it to the clipboard (& maybe save it somewhere safe ⦠I used notepad++). Close the editor, click Done & go back to the Settings>Dashboards list.
step 4 is to take control of the default dashboard, change the existing layout to āNew dashboard from scratchā, use the "{} Raw configuration, and paste in your yaml.
You might be able to shorten the process if you were starting from scratch, but since I already had the dashboard I wanted other users to default to, I thought copying the yaml, and hiding the original was a quicker way to get where I wanted.
It seems to do what I want, & Iām not aware of any drawbacks (although Iām sure that old hands out there are about to tell me).
Hopefully Home Assistant will replace this with a simpler and more obvious design. Say by simply allowing you to reorder and select the default dashboard in Settings ā Dashboards.
Users could of course modify visibility, default and order further in their accounts / clients. To me the important thing is for the admin to be able to easily and intuitively set defaults.