Global Variable

HMCharacteristicTypeTemperatureUnits

The units of temperature currently active on the accessory.

Declaration

NSString *const HMCharacteristicTypeTemperatureUnits;

Discussion

The corresponding value is one of the constants from the 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

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

See Also

Temperature

HMCharacteristicTypeCurrentTemperature

The current temperature measured by the accessory.

HMCharacteristicTypeTargetTemperature

The target temperature for the accessory to achieve.

HMCharacteristicTypeTargetHeatingCooling

The target heating or cooling mode for a thermostat.

HMCharacteristicTypeCurrentHeatingCooling

The current heating or cooling mode for a thermostat.

HMCharacteristicTypeTargetHeaterCoolerState

The target state for a device that heats or cools, like an oven or a refrigerator.

HMCharacteristicTypeCurrentHeaterCoolerState

The current state for a device that heats or cools, like an oven or a refrigerator.

HMCharacteristicTypeCoolingThreshold

The temperature above which cooling will be active.

HMCharacteristicTypeHeatingThreshold

The temperature below which heating will be active.