Charts in OH3

It took a while to find a solution -> Hardcoding of UoM (e.g. ppm, dB) in the pattern solved the issue

It seems the problems occur in (some) cases where “pattern”: “%d %unit%” is used by default. Somehow the correct unit is used to show the item in the UI, but for some reason the unit is not correctly applied to persist the values -> charts are wrong.

Add metadata as follows:

CO2: “%.0f ppm”
Noise: “%.0f dB”

3 Likes