Lovelace - Linking to different dashboard from toolbar instead of a view in the same dashboard

My “Overview” Dashboard is my Home dashboard (I’ll rename it if allowed now that I think of it). To declutter things a bit, and for ease of navigation and/or user access control, I also created The “Admin” and “Safety” dashboards. I am the only one who can access Admin and that is where I exposed settings or toggles to disable Node-Red automations, plus a few other things I am testing. My current trouble is related to navigation to the Safety Dashboard.

I started off with the Safety dashboard being a view in the Home Dashboard but it quickly became cluttered with too many different things (access control, smoke alarms, leaks, etc.) so I opted to move it to its own dashboard which will have a safety summary, and additional dedicated views to the various categories.

BUG: While doing so I ran into what I believe to be a bug… I tried to change the navigation path of the icon in the toolbar to point to the new dashboard, and ended up with it pointing to my Home Dashboard instead. When I deleted that view, it deleted my Home Dashboard instead!!! I was also unable to restore the link back to what it was so my only recourse was to hunt for the code using the “Raw Configuration Editor”. I don’t know whether I fully corrected the issue but I was able to remove the “Safety” icon from the toolbar. It had me tense for a bit as restoring from backup would have lost a lot of my work…

QUESTION: Is there any way to have a “view” icon in the toolbar that will point to the Safety Dashboard instead of a view in that same dashboard? If not, would this make sense as a feature enhancement?

I can easily navigate to the various views using the column of buttons (which also fits perfectly on my mobile when I load the dashboard). Notice the red arrow pointing to the Safety button which used to point to a view and now takes to the Safety Dashboard. My standard was to have the same icon in the toolbar pointing to the same location but it appears not to be feasible (see BUG above that happened when I tried).

How did you do this?

@gwp1 I had a Safety view which I wanted to expand into a dashboard so I created the dashboard and then modified the view’s path to point to the new dashboard sharing the name but that corrupted my main dashboard and could no longer edit it the usual way. I had to go into the raw editor to eliminate any references to the safety view and/or dashboard from my main one. I forgot the details but the bug (caused by my likely not forseen / supported edit) was causing the home dashboard view to get deleted if I tried to delete the safety view that I tried to point to the new safety dashboard. In other words, don’t try this on your production system and/or without backups as it may result in the loss of the main view of the main dashboard. Hope all of this makes sense. Is this what you were asking?

1 Like