Drag on an area to copy out its YAML to the clipboard

Hello everyone!

This is a little bit complicated perhaps but I think it would be really helpful for working between YAML and the visual UI when creating and editing dashboards.

Take an example Home Assistant dashboard which, over time, might become pretty “crowded” with many different tabs:

Now imagine the following!

I could draw a lassoon around a part of a tab or alternatively enter some kind of selection mode in which I can hold down perhaps the shift key and select multiple elements simultaneously.

Then, click “Copy As YAML” and the YAML for just those cards (and nothing else) would be copied onto the clipboard.

And how would you select the YAML setup for that?
Just cards, so no element control or horizontal stacks in a vertical stack or vertical stack in a horizontal stacks or a grid layout and what grid then?

Hello danielrosehill,

This appears to be a Frontend Related Feature Request as it is asking for changes to Frontend Menus, Dashboards, or Sections.

These Feature Requests are handled in a different system, and will not be seen by the right people here.

Please add your Feature Request into GitHub here:
home-assistant/frontend Other Feature Requests · Discussions · GitHub.

See more info about Feature Requests HERE