iantrich / config-template-card

📝 Templatable Lovelace Configurations
MIT License
425 stars 55 forks source link

Allow multiple templates anywhere in property value #110

Open swiergot opened 1 year ago

swiergot commented 1 year ago

Currently only entire property values can be a template. These changes make it possible to use multiple templates anywhere in a property value. Particularly useful in markdown cards. See the updated README for an example.

Attached is a compiled version that includes both this PR and #109.

config-template-card.js.gz

swiergot commented 1 year ago

config-template-card.js.gz

iantrich commented 1 year ago

@swiergot Didn't look at this one before #109, looks like there are some conflicts now.

swiergot commented 1 year ago

@iantrich Resolved.

ildar170975 commented 10 months ago

@iantrich @swiergot Guys, let's do smth about this PR. Could it be merged or not? I can merge it, but these changes should be reviewed, not ready to do it myself. Also, a new release should be issued then, never did it myself yet)))