YAML Templates for configuration.yaml

I’m building a dashboard using lovelace and have a bunch of cards that show a chart (using the absolutely great mini-graph-card). All these charts are configured exactly the same except for a couple of fields (entity and icon). Right now I’m copy pasting each card, but making updates to the cards is becoming rather cumbersome.

I wanted to ask if there is a way to use a “template” in configuration.yaml, so I can define the configuration for the card in one place and then get it included in configuration.yaml several times with slightly different parameters.

Decluttering-card is what you are looking for

It’s not in your configuration.yaml but in your lovelace config, you define a template and can then reuse this with variables.

Thanks for the hyper-fast response!