Requirements
What would you like to improve?
In the previous version of the card, JINJA accepted more style tags than just color and background-color, which was beneficial because it gave us more flexibility.
Why is this improvement helpful?
It would be possible to change the font size and also create an HTML structure to handle multiple variables.
Describe alternatives you've considered
No response
Additional context
name: |-
{% set raw = states(entity) %}
<span style="
display:inline-block;
width:40%;
text-align:left;
font-weight:normal;
">Processador</span>
<span style="
display:inline-block;
width:58%;
text-align:right;
font-weight:normal;
">{{ raw | float(0) | round(0) }}%</span>
Requirements
What would you like to improve?
In the previous version of the card, JINJA accepted more style tags than just color and background-color, which was beneficial because it gave us more flexibility.
Why is this improvement helpful?
It would be possible to change the font size and also create an HTML structure to handle multiple variables.
Describe alternatives you've considered
No response
Additional context