Question about meta: {battery: {dontDividePercentage: true}}

meta: {battery: {dontDividePercentage: true}}, in zigbee2mqtt, i know this metadata is to judge whether it is nessary to divide the power.

But if i want to set the value of ‘dontDividePercentage’ according to the version.

For example, if the version number of a product is higher than XXX, dontDividePercentage: true, and else dontDividePercentage: false.

How should I achieve this?