<!--
{
  "availability" : [
    "iOS: 10.2.0 -",
    "iPadOS: 10.2.0 -",
    "macCatalyst: 10.2.0 -",
    "tvOS: 10.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.1.1 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMCharacteristicValueTargetHeaterCoolerState",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:@E@HMCharacteristicValueTargetHeaterCoolerState"
  },
  "title" : "HMCharacteristicValueTargetHeaterCoolerState"
}
-->

# HMCharacteristicValueTargetHeaterCoolerState

Possible values for the target state of a device that heats or cools.

```
enum HMCharacteristicValueTargetHeaterCoolerState
```

## Topics

### Target State

[`case automatic`](/documentation/HomeKit/HMCharacteristicValueTargetHeaterCoolerState/automatic)

The accessory should choose whether to heat or cool.

[`case heat`](/documentation/HomeKit/HMCharacteristicValueTargetHeaterCoolerState/heat)

The accessory should operate as a heater.

[`case cool`](/documentation/HomeKit/HMCharacteristicValueTargetHeaterCoolerState/cool)

The accessory should operate as a cooler.

### Initializers

[`init?(rawValue: Int)`](/documentation/HomeKit/HMCharacteristicValueTargetHeaterCoolerState/init(rawValue:))

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)