Encoded A/C values

Some Air Conditioners are keeping enocded values in registers, you need to encode them first from HEX to use in the further scripts.
For example, value = 0x0cba after executing the below commands will give 24.2