<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 11.0.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMPresenceEventType/atHome",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:@E@HMPresenceEventType@HMPresenceEventTypeAtHome"
  },
  "title" : "atHome"
}
-->

# atHome

Triggers the event when at least one user is in the home.

```
static var atHome: HMPresenceEventType { get }
```

## Discussion

A convenience value for use in predicates on [`HMEventTrigger`](/documentation/HomeKit/HMEventTrigger). Represents the presence of at least one user in the home.

---

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)