Somehow, I managed to “destroy” my overview dashboard.
So I completely emptied it in raw mode and saved it.
But now I get the message: “Error loading the dashboard strategy: No strategy type found.”
In raw mode, I get “Cannot: read properties of undefined (reading ‘startsWith’).”
How do I get the overview dashboard back?
Do you have a backup?
That’s the only way as far as I know
Yes I have a few backups, but I changed much in between.
And I don’t know how to restore only the overview dashboard
Do you mean a hand made dashboard (one you took control of) or an autogenerated one? Hand made ones are indeed recoverable by backup only.
Emptying the yaml in raw mode to create an autogenerated one is no longer working, due to improvements there are several types of autogenerated boards now. But you can create one by adding a new dashboard and picking the option you prefer.
If needed, you can copy the corresponding yaml of your new dashboard to overview in raw mode to make it the default for every one.
I copied my own dashboard raw (YAML) and pasted it into the default one, but that didn’t work either.
It’s enough for me if the overview dashboard is simply empty; I don’t need it from the backup, but somehow HA refuses to do it.
Try and paste this in your raw config.
title: ''
views:
- icon: mdi:home-assistant
title: Home
badges: []
cards:
Thanks for the code, but the result is the same:
Dashboard shows:
Error loading the dashboard strategy:
No strategy type found
In raw yaml there is below the editor:
- Cannot read properties of undefined (reading ‘startsWith’)
Try adding this code then
title: ''
views:
- type: masonry
path: ''
title: test
cards:
- type: entity
entity: sun.sun
This should give you a dashboard with the sun entity
That maybe right, but the only thing i get, if i got to settings->dashboads and push open at the overview dashboard is
And there are no other buttons, like the “Raw configuration editor” i had in my own dashboards and you had shown in the picture, that looks like HA has something set bad in the default dashboard options (sorry I’m not sure how to describe it )
It would be nice there were a “Reset Overview Dashboard” Button that could repair this fault.
NOT Solved, sorry.
It is not possble to attach dashboard to side-bar.
And only editable with the buttons shown in last picture.
To go to raw/yaml mode, open the dashboard. Then first use the pencil in the top right corner to start editing, then again to the three dot menu to choose raw/yaml mode. That is where you can cut and paste entire dashboards. For automated dashboards, the second three dot menu is in the dashboard config dialog.
For handmade dashboards, it is in the top right of the main window, Hellis’s screenshot a couple of posts above.
For an old style automated dashboard, the yaml looks like this:
type: original-states
Think i coming nearer…
@Edwin_D
I did it this way the last time I tried, but I couldn’t create a “normal” dashboard as an overview dashboard, only the automatic one, which I couldn’t customize.
Now I’ve chosen the “Take Control” option and was able to create a normal overview dashboard.
The only thing is, I can’t see the dashboard in the sidebar. Even when I look under User → Hide Sidebar Items, isn’t the dashboard I created there?
The only way to open it is via Settings → Dashboards → Open
Feedback geben
Übersetzungsergebnisse verfügbar
If you’ve set another default dashboard in settings, overview is hidden. Set overview as your default and it is back. This is special behaviour of the overview dashboard.
You can click your profile pic to change it, or in the dashboard list by opening the settings.
Big thank’s ! That’s it, now my dashboard system is “normal” again !
Have a nice weekend to all of you !