This definition of the item only formats the number whenever that particular item label is used (which is not as much as it used to be). In order to get that same formatting in the widget there are several possible solutions. Perhaps one of the easiest is just these two simple steps:
Add that formatting pattern to the stateDescription metadata of the item: Click on the add metadata link in the item page for this item and select State Description from the options menu that pops up.
.
Add the formatting pattern (or a different one if you prefer) to the pattern text box and save. This will also change the format of the number in the default pages where OH displays this item’s state.
Thanks a lot Nico :-)…
Very appreciate your great work!
I will have a look in the new version. I did some minor changes, due to I used this widget with (don`t know how to say it in English) “Sollwertverschiebung” over 1 Byte object in my KNX setup.