Gain '1' cannot be applied to the incompatible state

Hello,

I do not know when this started, but Im receiving these warnings in my openhab.log:

2023-02-07 12:11:00.811 [WARN ] [nal.profiles.ModbusGainOffsetProfile] - Gain '1' cannot be applied to the incompatible state '0.08904960006475449' of type StringType sent from the binding (towardsItem=true). Returning original state.
2023-02-07 12:11:08.811 [WARN ] [nal.profiles.ModbusGainOffsetProfile] - Gain '1' cannot be applied to the incompatible state '0.08907352387905121' of type StringType sent from the binding (towardsItem=true). Returning original state.
2023-02-07 12:11:14.752 [WARN ] [nal.profiles.ModbusGainOffsetProfile] - Gain '1' cannot be applied to the incompatible state '0.08904960006475449' of type StringType sent from the binding (towardsItem=true). Returning original state.
2023-02-07 12:11:16.809 [WARN ] [nal.profiles.ModbusGainOffsetProfile] - Gain '1' cannot be applied to the incompatible state '0.08902569860219955' of type StringType sent from the binding (towardsItem=true). Returning original state.
2023-02-07 12:11:18.846 [WARN ] [nal.profiles.ModbusGainOffsetProfile] - Gain '1' cannot be applied to the incompatible state '0.08900177478790283' of type StringType sent from the binding (towardsItem=true). Returning original state.

I can traceback the values of a specific MQTT item and thing, but the thing that confuses me is the ModbusGainOffsetProfile. This thing it not modbus but MQTT. And I do not know how to deal with this warning.

Any toughts?

Using stable 3.4.0

Regards,
Bastiaan

1 Like

I created an issue on github for this problem.