#Equiv of blueprints for cards?
1 messages · Page 1 of 1 (latest)
That doesn't exist yet.
Four options: the config-template-card, the decluttering-card, a stylized custom:button-card made to look like the Mushroom card, and YAML anchors.
The custom:button-card is highly customizable, supports styling, templating via JavaScript, and configuration templates. It is one of the more difficult cards to set up but the results can be worth it. In the screenshot, one is a custom:button-card and the other is a Mushroom Light card.
I thought YAML anchors would only work with a full YAML lovelace config to be used in other dashboards? Is that not the case anymore?
Using YAML anchors is a more advanced method. The entire dashboard would have to be written in YAML and cannot use the Editor UI. You can, however, configure a UI-based dashboard and a YAML-based dashboard. This is helpful to configure a card in the UI and then copy your code into the YAML-based dashboard. Take a look at Adding more dashbaords with YAML noting the second example under You can also add YAML dashboards when your main dashboard is UI configured:.
Yeah. Full YAML-based dashboard only but HA can run UI- and YAML-based at the same time.
Ah, ok.