This is a getter function gets the drone's temperature from the barometer.
The sensor reads the drone’s temperature, not the air around it. Default unit is Celcius.
unit: A string for the unit of temperature of the drone. Available units are "C" (Celcius), "F" (Fahrenheit), and "K" (Kelvin).
The temperature of the drone in the given unit as a float. Default unit is Celcius.