Hi all,
i’m struggling for some days already to make my wind-direction item work and show the direction as a string. I’m using the Jeelink binding that provides my angle in degree.
I don’t think the Scale transform works with units and your Item is a Number:Angle meaning it’s value isn’t 315, it’s 315 °. You’ll either need to make this Item a plain Number Item and lose the units, or do the transform using the SCRIPT transformation.
But how can the SCALE work within the item showing up in the config/setup GUI. but not in the sitemap?
I also changed the angle item to simply number, the scaling still works fine but the sitemap does not show anything useful.
yes thanks. the %s in pattern did bring light inty my sitemap.
not totally clear to me why other items just work without any pattern, and this scaled item needs to know the pattern.
There’s usually a default and that default is often pushed by the binding at link time. But by applying the profile the pattern pushed by the profile is no longer valid because the Item type is different. The binding probably pushed %d ° which, of course, is nonsense for a String Item.