#Equiv of blueprints for cards?

1 messages · Page 1 of 1 (latest)

dull musk
#

I have a highly configured mushroom template card for each of my rooms in the house, displaying heating info, light info, current temperature etc. I keep having to copy and paste the same block of yaml when I should really be able to just put in the parameters (temp sensor, light, climate entity) and it make it for me.

prisma lynx
#

That doesn't exist yet.

scenic lintel
#

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.

prisma lynx
#

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?

scenic lintel
#

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:.

scenic lintel
prisma lynx
#

Ah, ok.