Wanted to create a duplicate of the Overview dashboard since it is well populated. AI tells me just create a new one and name it Overview 2. Nice, but it didn’t populate the dashboard with any cards. I go to the Overview dashboard hoping to copy all the yaml code and paste it in the new one, but clicking on ‘Raw Configuration Editor’ brings up a file with only:
strategy:
type: original-states
I search in the lovelace .storage folder and see the other dashboards, but no Overview. Am I forced to manually create all the cards shown on the Overview dashboard into another dashboard?
Thanks for your help.
Cannot say for sure - but may be the new dashboard was wrongly added as “auto-generated”.
Dashboards created in UI (auto-generted or not) are in so called “storage-mode”, i.e. are managed in UI. There are no yaml files for them, they are stored as json. The “raw yaml editor” is in fact a “json → yaml” conversion.
Only “yaml mode” dashboards are stored in yaml files.
When I click on ‘Raw Configuration Editor’ on all of the dashboards, it still only shows: type: original-states.
So what it comes down to is: there is no copy/paste of a dashboard configuration…? I was under the impression that a dashboard had yaml code that could be configured.
i think the thing you’re hitting is that the overview dashboard by default is a special auto-generated one… at least until you customize it. so if you’re trying to create one that has the same auto-populating property by copying it’s config, i don’t believe that’s possible…
for other non-autogenerated dashboard, you can go to the raw config and copy/paste…
Thanks to both of you. I just added a button/entity to the copied Dashboard and then clicked on ‘Raw Configuration Editor’ and I see the yaml code that was created.
Still though, no way to copy all the entities from the original Overview file…
I’m in the situation where the auto-generated Card for my Samsung TV is what I want, but the “suggestion” that is made when I add the device to dashboard is much more minimal, without the same features. So I’d be interested in getting to see whatever possible about the auto-generated card, even if it’s not yaml.
Honestly, it should be possible to clone the Overview / make new dashboard based on existing dashboard.