Hey everyone and thanks for your efforts on this issue. But I think the solutions are all in fact only workarounds leading to really cluttered and messy configuration code.
For the specific issue, which I am also facing:
If I have somthing like Setpoint item=Thermostat_Temp_EG_WZ_Alle minValue=4 maxValue=30 step=0.5 label="Heizung [%.1f °C]" in my sitemap, would it not be the best to automatically map the current value to a percentage between minValue and maxValue in any case?
And in general:
I think there are many other cases where the state of the icon does not correspond to the actual item value. So maybe some general method of mapping the value to the item state would be useful, without having to define wrapper items and rules for it or even new icons. I guess that this is a rather big deal and maybe too complicated to be implemented at all…