Set Default Dashboard for all users

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.

Well, I guess both the app and Safari wipe things quite often then!

How can that be?

Totally agree!

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. that should be a basic functionality for an admin.

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

What would I put in my sidebard-config.yaml?

Simply that:

default_path: '/dashboard-2025'

But first of all, check that custom-sidebar is working for you. Simplest test is to try to change the title.

Perfect, thank you :slight_smile:
Was looking for something like this since GitHub - daredoes/default-dashboard: Automatically set the default dashboard for all devices for Home Assistant isn’t maintained and became a bit unreliable.

2 Likes

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).

This author has stopped maintaining it due to lack of demand, but there is a fork of it, and I tested that it works fine.

No, that is the best way to do it.

Set up the Overview as the default dashboard that everyone sees then set up additional dashboards for admin only.

No third party resources required.

yes please add

While that works, it is far from intuitive.

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.

Eh. It’s not that bad. It’s just something you have to learn. Like the idiosyncrasies of the automation editor.

Maybe one day when we get RBAC it will include default dashboard settings but for now it is all we have.

Completely agree. Voted

I also believe this is being added in 2025.12.

1 Like

oh may goashhh