[SOLVED] HABPanel - Bug with unit items?

Here is a new one.

I open HABPanel on my weather page
All the items defined with a unit are not showing. They all are set up to use the server provided format:

Number:Temperature OutsideTemperature  "Outside Temperature [%.1f °C]"                <temperature>    (Weather, Temperatures) { weather="locationId=home, type=temperature, property=current", mqtt=">[mybroker:Outside/Temperature:state:*:default]" }

By the way: “Outside Temperature [%.1f %unit%]” doesn’t work with HABPanel but fine with classic UI.

This is the result:

Now after 15 minutes or a refresh of the items file, the values populate:

Have the same problem.

This will not work with those items since the API reports the state with the unit already appended (in other terms, it will fail formatting 17.7 °C with the "%.1f °C" pattern since it’s not recognized as a number). If you uncheck the option it will display them as-is which is in this case incidentally what you want in the first place.

HABPanel has no support whatsoever for QuantityTypes…

as @ysc suggest in the other thread, you can easily remove the units with

That would be ok if I was using my own widget but I am using dummy widgets

then i would suggest to use proxy/dummy items as a work-round till a updated version of HABpanel is availbe
in the same thread, that i posted, is written how to do this

Is that planned for the future?

Yes, when I find some time.
(or someone else takes care of it and submits a PR! :wink: )