Brightness reporting issue

Hello!

Could you please help me to figure out the brightness reporting issue?

My device doesn’t supports brightness = 255 i.e. just returns ZCL_STATUS_INVALID_VALUE = 0x87 and reports nothing when the value is tried to set.

At the same time, the standard light_onoff_brightness converter publishes the topic “state: ON, brightness: 255” i.e. it looks like the value is set.

Could you please clarify whether there is a way to to deal with it without writing some device-specific converter?

Thank you in advance!