master
mapUnit
function mapUnit(deviceUnit, featureUnit) { switch (deviceUnit) { case '%': return DEVICE_FEATURE_UNITS.PERCENT; case 'hPa':