In fact that is what I have come up with, but using profiles
The profile also supports offset and gain correction, often at least gain is used with modbus.
This makes the channels fully UoM aware, even accepting quantity commands, with units converted and descaled appropriately for writing the data back to integer.