Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95493

YAML Templates for configuration.yaml

$
0
0

@cargsl wrote:

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.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95493

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>