<!--
{
  "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/HMCharacteristicTypeTargetDoorState",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:@HMCharacteristicTypeTargetDoorState"
  },
  "title" : "HMCharacteristicTypeTargetDoorState"
}
-->

# HMCharacteristicTypeTargetDoorState

The target door state.

```
let HMCharacteristicTypeTargetDoorState: String
```

## Discussion

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

Doors take time to move between states, so the target door state may not match the current door state at a given moment in time.

## Topics

### Values

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

Possible values for the state of a door.

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

Values that indicate the state of a door.



---

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)