Your Number:Temperature type Item has a state that includes units e.g. 7°C
You might need to strip that to a numeric to do your comparison, I don’t know how you do that in a widget. (In a rule you would compare with units e.g. mystate > 10 | °C but I do not think you can do that in HABpanel)
Thanks @rossko57 that is exactly my problem.
I think this will be needed from others also.
I know that i can create a parallell item that is decimal type but i want to keep down the number of items that needs to be updated.
So a way to parse this in the OH3 widget would be the preferred solution.
Ups, I didn’t checked the logic itself - the blue condition as well as the black condition are true at the same time if the values are lower or equal to 20 so you’ve to add an AND statement here, something like this: