I just want to change items color in sitemap if they was update long times ago. For example if item updated more than 100 min ago i want to set gray color.
I use in sitemaps this variant:
Text item=Bath_Tmp label="Температура в ванной [%.2f °C]" icon="temperature" valuecolor=[Bath_Last_Upd=="Uninitialized"="gray",Bath_Last_Upd>100="gray"]
and this rule:
rule "Records last lodge update time" when Item Bath_Humi received update or Item Bath_Humi received update then postUpdate(Bath_Last_Upd, new DateTimeType()) end
I found somwhere this example,but i am not sure this is correct and work: Bath_Last_Upd>100=“gray”/