Thing units

I have a light sensor that communicates through the modbus binding.
The linked item is defined as Type Number:Illuminance
Semantic class: sensor
I know that the default way Openhab uses units has changed but I don’t understand this message

16:47:00.320 [WARN ] [ule.handler.ItemStateConditionHandler] - Received a QuantityType state '17 lx' with unit for item OutsideLux, but the condition is defined as a plain number without unit (85), please consider adding a unit to the condition.
16:47:22.731 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'OutsideLux' changed from 17 lx to 13 lx

It knows it is in lux where should I add the units?

Thank you

You have a rule condition defined and the condition is a plain number, not a number with unit.

That was it, thank you