Delete, hide, or admin only the default (Overview) dashboard

Hello community,

How do I completely remove the default lovelace dashboard when in yaml mode?

lovelace:
  mode: yaml

If there’s no way to remove it… how can I set
show_in_sidebar: false

I see there are options show_in_sidebar and require_admin on the dashboards page for the Overview dashboard… but can’t find how to set them?

Thanks

The user icon (most bottom on sidebar), select a different default dashboard in ‘dashboard’ and the overview will disappear and the option just 2 below that is ‘always hide the sidebar’

Thanks for the reply! I should have been more specific!

I want remove the Overview dashboard for ALL users (or require_admin: true)

1 Like

I ‘think’ I figured it out?? For anybody wondering…

I changed…

lovelace:
  mode: yaml
  resources: []
  dashboards:
    admin-ui:
      mode: yaml
      filename: ui-admin.yaml
      title: Admin
      show_in_sidebar: true
      require_admin: true
    dashboard-ui:
      mode: yaml
      filename: ui-dashboard.yaml
      title: Dashboard
      show_in_sidebar: true
      require_admin: false

to

lovelace:
#  mode: yaml
  resources: []
  dashboards:
    admin-ui:
      mode: yaml
      filename: ui-admin.yaml
      title: Admin
      show_in_sidebar: true
      require_admin: true
    dashboard-ui:
      mode: yaml
      filename: ui-dashboard.yaml
      title: Dashboard
      show_in_sidebar: true
      require_admin: false

Just commented out the ‘mode’ entry.

While the ‘Overview’ dashboard is now gone, my resources aren’t working anymore. Not what I wanted! :expressionless:

GAHA, where you able to get this figured out? I’d like to do the same. I’m mostly looking to put a limited dashboard on my kids ipads, but I’m not comfortable allowing them to access the primary dashboard.

1 Like

Not yet as I’ve been busy with work. I have been looking into a possible solution. Will report back once I figure something out. Should have some time next week to try again.

That would be great, I’m trying to solve the exact same thing and I’m stuck. The overview dashboard keeps being populated with stuff that should not be editable (helpers and such), I don’t want to expose this to any user.

Hope you’ve had some luck with this GAHA?

You have to specify the resources in yaml if you switch to yaml.

@petro

Do you think the following is a viable addition to the configuration.yaml?

lovelace:
  mode: [storage,yaml]
  ###############
  # New options to target the default 'Overview' dashboard
  show_in_sidebar: false
  require_admin: true
  ###############
  resources:
    - url: /local/config-template-card.js?v=1.3.6
      type: module
  dashboards:
    ui-users:
      mode: yaml
      filename: ui-users.yaml
      title: Dashboard
      show_in_sidebar: true
      require_admin: true
    ...

Feature Request submitted…

1 Like

Hi @GAHA

Did you find a solution that is sutable for you?

If not, have a look at the browser_mod.
It can do what you want and specify the default dashboard for all users.

1 Like

This is helpful, and also nice to know about!
Nice to also have a global setting for the default dashboard (referring to Browser Mod Settings > Frontend Settings).
I however still experience some wonkiness, like when I remove website data, in order to invoke fresh Home Assistant login, I am still landing on the Overview dashboard. But when I clear the browser cache (Mac Safari alt+cmd+E followed by cmd+R) all is the way I want it to be and staying like this. But you have to know about this of course. Not sure what the cause of this would be.
A pity that however this seems to ruin the usability of custom lovelace cards like simple-thermostat, which were already sensitive like to cache issues.