First post so sorry if make little sense. I want to change the colour of the actual temperature values evaluated against their target in my sitemap.
I.e Actual temp is 20 and target is 21 then text would be blue. if the actual temp was above the target then it would be red. and if it was equal then colour would be black.
I can get it to work when evaluating against a static temp as per the documentation I.e ```item=actual_temp valuecolor[>20=“red”]
that can be done directly in the site map. I am guessing I need to do this in a rule???
If I understand correctly, what you are after is not possible in sitemaps. You can only use static values for comparison with the valuecolor syntax. There is nothing you can do from a Rule to change that limitation.
Hi for future reference. This can be done with a combination of valuecolor and visibility.
Basically you can define a condition that will always be true in my case actual temperature >0 but differing colours then trigger the visibility of the relevant panel based on a rule below Site_Test is defined as a Number item.