Homey Apps SDK v3 I18n.getUnit() function problem

Hi, everyone.
I am developing an app that runs on Homey Pro.
I want to perform different actions based on whether the temperature unit in Homey Pro is Celsius or Fahrenheit.
I think I can use the getUnit() function for this, but I am not sure if it works correctly.

I have changed the location settings in Homey Pro to the United States to make the Homey app operate in Fahrenheit, but the return value of getUnit() is always ‘metric’.

Could you possibly know what the issue might be?

Temperature conversion

Your Homey app should always use Celsius internally, Homey will automatically converts capability values from Celsius to Fahrenheit. For custom capabilities make sure the “unit” is set to “°C” to let Homey know that this value should be converted.

Think you for your answer, but I don’t quite understand that part.
The API I am trying to use provides both metric and imperial values in its response.
Does this mean that if I use the metric value in my app, Homey Pro will automatically convert it to Fahrenheit?

In which cases does the getUnit() API return the imperial value?

Well, it was quoted from the “manual”.

… to Fahrenheit depending on the geolocation.
Yes, that’s what I understand from the explanation.