After update to openHAB 4.2.1 Release Build: some item states are rounded to whole numbers

  • Platform information:
    • openHAB version: 4.2.1 Release Build
  • Issue of the topic: temperature item displays as 29°C, in the analyse graph it is 29.25°C, I’d like to see 1 or 2 decimals, which was the case before updating.
  • Some other items still show decimals, I really do not know how they are different…?
  • item Code:
label: Pool Wasser
type: Number:Temperature
category: temperature
groupNames:
  - pool
tags:
  - Measurement
  - Temperature
  - Point

picture:

Set the state description pattern for these Items to show has many decimal places and the unit you want. For example, two decimal places and °C would use %.2f °C for the state description pattern.

There was a change in the MQTT binding (IIRC) that fixed some odd behaviors with the state descirptions pushed by the Thing to the Item which caused the change in behavior for some.

That helped, thank you very much!
I now use that pattern:
%.2f %unit%