Erm dashboards go in the sidebar. Views create tabs in the dashboard. You can hit the + to add a view when editing a dashboard. You could also paste a view into the raw config, although it’s fiddly to do that. Its easier to paste into an existing view.
I’m not sure. Subview wan’t be listed in the navigation bar at the top as I understand.
The thing I try to achieve is to have on UI based dashboard/view were you can make development and new configuration, test new stuff.
Then I would like to have all of my other dashboards/views yaml based. Meaning that it’s easier to make copy’s/backups of them.
I would like to have the appearance where all my different pages in the GUI are listed in the navigation bar at the top, same as views in the HA instructions.
But in my case this views should consist of dashboard that are split into different files to make it more simple to maintain.
Hope you understand what I try to achieve.
Maybe there’s a better way to do this ?
Okay, do you know if it’s possible to rename and swap place on Overview & Switches dashboards.
Meaning that my Overview/main dashboard will be the yaml dashboard and second dashboard will be the UI based dashboard. Which I only will use for development and testing.
Dose the “default_view” path have something to do with that?
Perfect that’s working.
But I still have the issue with divide the yaml-file into different parts.
Just for making it easer to navigate and maintain.
And I would like to have the different files/parts as separate views in the top bar.
I don’t think this is currently possible.
You can point a button at as a subview, but not as a View navigating to a another View on a separate Dashboard.
Thank you
I have to sort out how I want to do it.
If you have you master dashboard UI based and the extra dashboards as yaml.
How is it with this then? “Once you take control of your UI via YAML, the Home Assistant interface for modifying it won’t be available anymore and new entities will not automatically be added to your UI.”
Yes, but as I understand need you manually import the cards in yaml mode.
Which you don’t need to do in UI mode, in UI mode the new cards is automatically updated.
The question is now do I get automatically updates or not?
I see, but what do they mean with following sentence in the HA manual?
“Once you take control of your UI via YAML, the Home Assistant interface for modifying it won’t be available anymore and new entities will not automatically be added to your UI.”
YAML - you write everything in a file
GUI - you control the dashboard and what appears using the GUI (and maybe a little bit of YAML through the GUI editor
Auto-generated - you do nothing and HA creates a dashboard and populates it with entities that aren’t hidden (or disabled)
By default, if you create a new GUI dashboard in settings - dashboards it will be auto-generated. Once you start editing it, it will be controlled by you.
You can have some control over the auto-generated dashboard. Hide entities that you don’t want to see, use areas to group things together, customise an entities icon.