Stop listening to a message that is no longer sent
Remove dead code
Extract a bit of regex to a separate string
Add tests for all conversions
Avoid fall through cases in switch statement
Transform switch statement into a map
Prepare ground for rounding and misc readability
Disentangle values and units
Remove redundant function