iantrich / config-template-card

📝 Templatable Lovelace Configurations
MIT License
434 stars 56 forks source link

I'm not quite clear on what constructs are allowing and where? #48

Closed deepcoder closed 3 years ago

deepcoder commented 3 years ago

I'm not quite clear on what constructs are allowing and where?

Q1: what language is this, where can I find docs on syntax and operators:

LIGHT_STATE === 'on' ? 'glance' : 'entities'

Q2: 'All templates must be enclosed by ${}'

When you say 'template', is this the standard HA templating? Is Jinja allowed?

Any examples you might point me to would be great.

Thanks for your work and help!

Dave

iantrich commented 3 years ago

Per the first line of the ReadMe, this is JavaScript