Why is the "default dashboard" not available in YAML

In the past, one could “take over” the default dashboard. I have used this in the past to see how things were put together.

AFAIK, it is now IMPOSSSIBLE to do this.

  1. Is that true? If not please tell me how you can see the YAML used to build the default dashboard.

  2. If it is impossible, why? Is this some secret that only HA Developers can do but not the rest of the world?

It is a simple question really:

Show me how to make this:

Why you ask? I want consistency in views and this reacts perfectly to all screen sizes. I want most all my lights, switches, etc. built in a similar way but the only way it can be done is by creating hugely repetitive code. Any attempt to use auto-entities or decluttering templates fails. It will not scale anywhere near the view of the “default dashboard”.

After 1000+ experiments, I can only conclude that HA “GUI” people designed this “dashboard” by hand. They in no way use common cards that would allow their users to do something similar.

I have asked this or similar questions … none go answered so I would guess that no code owner cares to respond.

I believe it’s strategy-based so there isn’t necessarily a static YAML config in the way there is for user-constructed dashboards and views.

frontend/src/panels/lovelace/strategies/home/home-overview-view-strategy.ts at df61953ed41f4c40f1b73a01c874d578a13b72a7 · home-assistant/frontend · GitHub

1 Like

So the answer really is it is impossible to generate that layout with built-in common cards like grid, tile minimally and most definitely not using auto-entities or decluttering.

That is a fine answer … because it’s an answer.
At least it saves me 1000 more tries.

And I need to abandon the entire thought.

IMHO, I find that wrong. Default things done by Home Assistant should use standard cards and be able to be replicated. Otherwise that “default dashboard” by Home Assistant is absolutely worthless.

I think it is using standard cards, mostly Tile, Grid, and Area by the looks of it. And, anyone could make their own strategy… it’s just more complicated than a regular dashboard. A few people have even shared them here on the forums over the years:

Mushroom Strategy
Strategy Pack
Bonbon Strategy

1 Like