Hue temperature offset working but with warnings

I read many articles around the way to use the offset and it is working but when I review events.log and openhab.log I don’t understand what is happening.

This is my item.

Number:Temperature  HueBadkamerTemperatuurTemperature    "Hue badkamer temp [%.1f °C]"        <temperature>       (EV_Badkamer) ["Measurement","Temperature"]  {channel="hue:0302:1d920141a4:11:temperature" [profile="offset", offset="-1.9 °C"] } 

And this is what I see in the logfiles

2022-11-24 08:39:34.539 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'HueBadkamerTemperatuurTemperature' changed from 19.58 °C to 19.07 °C
2022-11-24 08:39:34.543 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'HueBadkamerTemperatuurLastUpdated' changed from 2022-11-24T08:34:35.000+0100 to 2022-11-24T08:39:35.000+0100

2022-11-24 08:39:34.529 [WARN ] [nternal.profiles.SystemOffsetProfile] - Received a QuantityType state '22.07 °C' with unit, but the offset is defined as a plain number without unit (-3), please consider adding a unit to the profile offset.
2022-11-24 08:39:34.532 [WARN ] [nternal.profiles.SystemOffsetProfile] - Received a QuantityType state '22.07 °C' with unit, but the offset is defined as a plain number without unit (-3), please consider adding a unit to the profile offset.
2022-11-24 08:39:34.539 [WARN ] [nternal.profiles.SystemOffsetProfile] - Received a QuantityType state '22.07 °C' with unit, but the offset is defined as a plain number without unit (-3), please consider adding a unit to the profile offset.

Questions:

  1. Why is it reporting “consider adding a unit” . I did this.
  2. What means “(-3)” the offset is -1.9
  3. Why do I see 3 lines in the logging?
    What do I wrong?

What version OH are you running? This does have an impact on what works in recent features like profiles and units.

I note that the actual offset applied in your log snippet is not minus 1.9, but -3
Big clue it is not looking at your -1.9, so not at your unit either. If you’ve been editing that, it’s being ignored.

Certainly at some OH versions, profiles are “sticky” and edits are not properly applied in-flight. Edits from file-based definitions are even less likely to work than GUI based definitions.
I’ve little doubt the multiple effect is part of that problem.

Simply, when you are happy you have set things up correctly, reboot.

Thanks.
I’m running openHAB 3.4.0.M1. Waiting for M5 because of shelly fixes.
Yes the first value I used was -3 but it is subtracting -1.9 without a reboot.
What is a more reliable solution for this?

It’s a perfectly reliable method.
The issue is with editing.