Hi Leif,
I am not sure what is the exact reason why your examples are not working. I use it in this way - which works quite nice:
Number:Angle owmWindDegree "Windrichtung [%d %unit%]" <wind> { channel="openweathermap:weather:api:local:current#wind-direction" }
In the sitemap:
Frame label="Windrichtung" {
Text item=owmWindDegree label="Windrichtung [SCALE(windDirection.scale):%s]"
Text item=owmWindDegree
}
Why? I do not think we need an item containing the transformed value. The transformation is important for us in the moment we want to find out the current wind direction and thus I apply it only in the sitemap.