Use a calibration table when a sensor's raw reading does not follow its value in a straight line. A fuel probe in a shaped tank is the usual case. You enter the points you measured. The app builds the segments between them and converts every new message.
{fuel_lvl}. See Add a sensor..csv file, one reading;value pair per line, with no header line.In the side menu, select Devices.
Select Edit on the device's row.
Select the Sensors tab.
Select Edit on the sensor's row.
The sensor dialog opens.
In the Telemetry mapping group, select Calibration table under the field.
The dialog opens on the Calibration tab.

If the left panel is dim, select XY Pairs.
Select Upload Table.
Choose your .csv file.
The points appear in the left panel.

If you have no file, select Add point once for each pair. Enter the reading in X and the value in Y.
Select Generate coefficients.
The right panel fills with one segment per pair of neighbouring points, and "from N points" shows how many points it used.

Optional: Select the Chart tab to check the line. It should rise or fall smoothly through your points.
If Generate coefficients stays off, two points share the same X, or a row has only one of its two values. Fix the row the message at the top names.
Bounds are optional. The app discards a value outside them: the field has no value for that message.
Select Apply.
The dialog closes, and the tick beside Calibration table shows that the field has a table.

In the sensor dialog, select Save.
The app saves the sensor with its table.
The app converts the field with the table from now on. Open the unit card, or the unit's messages, after the device's next message to check the value. If the value is missing, the reading may be outside your bounds.
To add a condition to this field later, clear the table first on the Conditional tab, add the condition and calibrate again. See Sensor conditions.