WTH can’t I use !include as an easy template for buttons, graphs etc?

Hey All,

My dashboard has a lot of mini graphs and button cards that all have the configuration except the entity_id.

WTH can’t I use !include to my advantage and have the rest of the config coded in a single place? I could change and edit them all at once and would only be 2 lines of code to create new buttons etc.

Eg:

- entity_id: light.example
  !include /path/button_card_styling_config.yaml

This largely stems from the fact that I’ve coded almost my entire setup from my phone so working with and copy/paste large chucks of text can be a PIA :stuck_out_tongue:

But, I would love to refactor the whole thing to streamline my code

Thanks :slight_smile:
Linton