---
title: HMCharacteristicTypeOccupancyDetected
framework: homekit
role: symbol
role_heading: Global Variable
path: homekit/hmcharacteristictypeoccupancydetected
---

# HMCharacteristicTypeOccupancyDetected

An indicator of whether the home is occupied.

## Declaration

```swift
let HMCharacteristicTypeOccupancyDetected: String
```

## Discussion

Discussion The corresponding value is one of the constants in the HMCharacteristicValueOccupancyStatus enumeration.

## Topics

### Values

- [HMCharacteristicValueOccupancyStatus](homekit/hmcharacteristicvalueoccupancystatus.md)

## See Also

### Safety and security

- [HMCharacteristicTypeCurrentSecuritySystemState](homekit/hmcharacteristictypecurrentsecuritysystemstate.md)
- [HMCharacteristicTypeTargetSecuritySystemState](homekit/hmcharacteristictypetargetsecuritysystemstate.md)
- [HMCharacteristicTypeObstructionDetected](homekit/hmcharacteristictypeobstructiondetected.md)
- [HMCharacteristicTypeSecuritySystemAlarmType](homekit/hmcharacteristictypesecuritysystemalarmtype.md)
- [HMCharacteristicPropertyRequiresAuthorizationData](homekit/hmcharacteristicpropertyrequiresauthorizationdata.md)
