Group Item unit as percent

OH4 build 3502

I have a group of battery Items that are all Number:Dimensionless and they all have a unit of %. They work fine. I include them in a Group:MIN. If I set the Members Base Type to Number:Dimensionless (which seems logical), the Group value is set to a number between 0 and 1. There is no way that I can find to change the unit of the Group. I can add metadata, but unlike other items, there is way to select the unit. I can change the state presentation which then shows the value as a proper %, but the battery icon doesn’t behave properly.

If I set the Members Base Type to Number, I get a value between 0 and 100 for the percentage, and the battery Icon behaves properly. This works, but it doesn’t seem like the correct approach.

What’s the proper way to set up a Group Item for this case of a group of Number:Dimensionless Items with units of %?

That’s a bug that should be reported to the webuis repo.

In the mean time, just select “enter custom namespace”, enter unit for the namespace and the following for the metadata.

value: "%"
config: {}