Rrd4j persisted percent values restored in decimal format

Hello,

I have some shelly h&t things connected to my OH3. I have noticed the following behaviour:

When the item for humidity (Number:Dimensionless) is updated from the thing, it will have a value like 42.0 %. However, when restored from rrd4j persistence, it is 0.42

Is this a bug or a feature? Is there a way to have the values displayed consistently?

i have exactly the same problem,i haven’t find any solution,i only persist Number items and not Number:Dimensionless…Have you found a solution?

The problem is with all UoM data types. OH does not know the default unit because that is not persisted.
Try to define a metadata state description pattern like %d %% to serve as the default.

2 Likes