Skip to content

Conversation

Lx
Copy link

@Lx Lx commented Jun 29, 2023

  • State that extra_styles are not merged in config template usage.
  • Suggest a workaround.

- State that `extra_styles` are not merged in config template usage.
- Suggest a workaround.
@afarago
Copy link

afarago commented Jan 18, 2024

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 + " ... "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants