Hi,
I want to have a repeated change of text colors until value of HA sensor is above 800. I tried to that this way but I get only one change of colors instead all the time until value goes below 800.
Shouldn’t that be (co2).state ?
And your description is not so clear if you want to change color while >800 or <800.
You could do the color change while loop in a script and execute the script from on_value.
@Karosm
I have a typo when wrote this and let it stay like Co3
I want to colors start to change when CO2 goes above 800 and stop changing colors when it goes below 800.
If I know how to make script to have non stop color change, I wouldn’t ask here