I am trying to have the secondary info a certain color depending on the state of a sensor (on/off).
When its indoor warmer than outdoor than color should be green (airing makes sense) otherwise red (airing makes no sense).
Now with ".info" the mainline of the row gets red - okay, with ".state" the state value. But when I use ".secondary" nothing happens. Seems because the color is always taken from variable "--secondary-text-color". It would be cool if the styling would work. Maybe I am doing something wrong?
Hi
I am trying to have the secondary info a certain color depending on the state of a sensor (on/off). When its indoor warmer than outdoor than color should be green (airing makes sense) otherwise red (airing makes no sense).
Example:
Now with ".info" the mainline of the row gets red - okay, with ".state" the state value. But when I use ".secondary" nothing happens. Seems because the color is always taken from variable "--secondary-text-color". It would be cool if the styling would work. Maybe I am doing something wrong?