When using an item with the dimension Number:Dimensionless
and the formatting %.1f % to denote a percentage, I come upon an error on the sitemap:
My item:
2018-07-29 19:54:11.044 [WARN ] [ui.internal.items.ItemUIRegistryImpl] - Exception while formatting value '57.2 %' of item SmallBedroom_ThermostatHumidity with format '%.1f %': Conversion = '%'
No I don’t. Because I am using the UoM. Like Number:Temperature uses °C as a unit.
In the UoM % is a unit in the Number:Dimensionless category.
So I should be able to use % on it’s own as an UoM unit.
I know that, but in this case it’s not a pattern, it’s a unit from the UoM so the rules are different.
I know where you are coming from and I appreciate the help. The UoMs are new and there are a few things to iron out here and there. That’s all
@hr3
Harry, I know that works, I have used it before. But is the unit a percent
If I display the item with [%.1f] only will it be divided by a 100%?
Let’s try it…