Because it comes with units. No more “i’m not sure if it is in A oder mA”, it tells you.
Have you tried sending a command KebaCurrent.sendCommand(6000 | mA) or KebaCurrent.sendCommand(0.006 | kA) ?
I’d expect those to work.
You can calculate with Quantity types. Don’t throw away information because it seems ‘easier’.