I am trying to create a text divider template but i am having a hard time extracting the font size from a variable,would like to be able to extract the color also i need help.
Thanks
txt_divider:
card:
type: entities
entities:
- type: custom:text-divider-row
text: '[[var_divider_text]]'
card_mod:
style: |
.text-divider span {
background-color: #111111 !important;
padding: 2px !important;
}
card_mod:
style: |
ha-card {
background: none;
box-shadow: none;
border: none;
--text-divider-color: #8Ab4f8 ;
--text-divider-font-size:'[[var_text_divider_font_size]]';
}