Is there still no solution for setting a dashboard as default for all?

Am I missing some easy un documented way of doing this?

I see there’s a three year old FR for this, but it seems very odd that this functionality doesn’t exist. I’ve been working on a new dashboard to replace my original ui-lovelace.yaml and it seems very odd that after you create a new dashboard, there is no way to replace the default (uncustomized) dashboard for all users.

1 Like

Dashboards are not assigned to users. They are assigned to devices. There are advantages and disadvantages to both ways of doing this. The devs have chosen one way. Will it ever change?

IDK.

If you want to replace your default dashboard with your new dashboard you can copy and paste everything in the raw view from new to old.

Is there a process for making my default dashboard, which is currently ui-lovelace.yaml, and making it a UI configured dashboard? IE - how do I make the default existing dashboard a UI one instead of yaml?

Oh you’re using YAML. Sorry.

See: Convert YAML mode to UI mode?

Thanks but that post explains how to add a new dashboard that is UI configured, while I’m trying to convert my existing (default) dashboard to UI configured. It’s a slight difference, but the first would set the new dashboard as the default for all devices while the latter would require me to configure each device to use the new UI dashboard in the settings for each and every device.

Is my understanding correct? Or is there something else that I’m missing?

You go into your “new” dashboard, open the raw config editor, select all and copy it. Go to your “old” dashboard, open the raw config editor, select all, delete all and paste the code you copied in the “new” dashboard. Save and be happy! :slight_smile:

This explains how to create a new dashboard in UI mode. I’m trying to convert my existing default dashboard to UI mode. As far as I can see, there is no way to select a newly created dashboard as the system-wide default dashboard.

Have you read what I posted above, the post before yours? That’s the explanation to your question. :slight_smile:

You take the new code and transfer it to your old default dashboard. That’s it, nothing fancy. :wink:

Again, to be clear:

  • You already configured a “new” dashboard (we call it “new”)
  • Open “new”, click on the three dots in the upper right corner and select “RAW config editor”
  • In the newly opened view, you see a lot of code. Select all and copy it.
  • Go to your default dashboard, click the three dots menu in the upper right corner and select “RAW config editor”.
  • Select all and delete it. Now paste in the code you copied from “new”, save.
  • Go to Settings > Dashboards and delete “new”.

You’re done, your default dashboard should now show the new content. Don’t forget to clear your cache!

If you have used YAML for the default dashboard before, you might need to change another entry as well. That would be

lovelace:
  mode: storage #instead of mode: yaml

in configuration.yaml.

What is the disadvantage to letting an admin set a default dashboard for devices on first connection?

Settings, dashboards, click on the dashboard you want then editor box appears, you can then set it as default, or make it supervisor only. Or did I misread what you were trying to do?

You will set it as default for the current user (most likely you, the admin). To me, it would be really important to be able to set the default for every new user on every new device so that newbies get an easy default dashboard whenever they add a new device.