Iirc, You shouldn’t have to, your UOM just needs to match your value and your device needs a state class and device class.