OH 4.1.x

I’m getting this is logs and I can’t seem to fix it:

2024-02-16 16:26:11.155 [WARN ] [nternal.profiles.SystemOffsetProfile] - Received a QuantityType state '7371786 Wh' with unit, but the offset is defined as a plain number without unit (1), please consider adding a unit to the profile offset.
==> /var/log/openhab/events.log <==
2024-02-16 16:26:11.158 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'Energy_EV_Acc' updated to 7371.787 kWh

as you can see the item underneath is the target, it has a unit of measure set and it is converted correctly.

any ideas?

Add the unit to the offset parameter of the System Offset Profile. Instead of 1 use 1 kWh and the warning will go away.

Alternatively, remove the dimension from the Item so the Item doesn’t carry the kWh unit.

sound! thank you :slight_smile: