<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 8.0.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMCharacteristicTypeTemperatureUnits",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:@HMCharacteristicTypeTemperatureUnits"
  },
  "title" : "HMCharacteristicTypeTemperatureUnits"
}
-->

# HMCharacteristicTypeTemperatureUnits

The units of temperature currently active on the accessory.

```
let HMCharacteristicTypeTemperatureUnits: String
```

## Discussion

The corresponding value is one of the constants from the [`HMCharacteristicValueTemperatureUnit`](/documentation/HomeKit/HMCharacteristicValueTemperatureUnit) enumeration.

HomeKit always reports temperature values in degrees Celsius, but your app should display the temperature in units chosen by the user.

## Topics

### Values

[`HMCharacteristicValueTemperatureUnit`](/documentation/HomeKit/HMCharacteristicValueTemperatureUnit)

Possible values for the temperature units currently active on the accessory.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)