Closed psfales closed 9 months ago
It would also be useful to have templates supported in the "color" field for drawcustom.
Color is the one that's of most interest to me, but I imagine templates could also be useful for the other fields like font, size, x, y, etc.
It would also be useful to have templates supported in the "color" field for drawcustom.
alias: OEPL - Display Schreibtische description: "" trigger:
OK, my face is red... I was sure that I tested it in drawcustom, but apparently I didn't do it correctly because, yes, it works for me to!
So you can ignore that comment! But I believe it's still correct that it doesn't work in the lines4 or lines5 service, right?
Closing this issue because a workaround was found and 4line/5line are depricated
As far as I can tell, it's not possible use a template in lines4 or lines5 services for the "format:" or "border:" lines
It would be nice if it were possible to use templates to do things like:
format1: "{% if state_attr('climate.lower_level','current_temperature') > 80 -%}lwbr{%- else -%}lwbb{%- endif %}"
to use red text if the temperature is over 80, and black text otherwise.