Thresholds only for Numbers?

I would like to display the state of a sensor with different colors. The value displayed is open or closed.

Hi,

Have you checked value mappings? You can set mappings like this:

and it should work (case sensitive, so it might need some tweaking). If not, can you share a little more (like screens, the data etc).

it works! I had overlooked that.
Thanks!

1 Like