button-card
button-card copied to clipboard
doc: add extra_styles/config template notes
- State that
extra_stylesare not merged in config template usage. - Suggest a workaround.
I am using another workaround:
in button_card_templates:
variables:
var_extra_styles: |-
...
extra_styles: |-
[[[ return variables.var_extra_styles; ]]]
in the actual button:
extra_styles: |-
[[[
return variables.var_extra_styles + " ... "