---
title: atHome
framework: homekit
role: symbol
role_heading: Type Property
path: homekit/hmpresenceeventtype/athome
---

# atHome

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

## Declaration

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

## Discussion

Discussion A convenience value for use in predicates on HMEventTrigger. Represents the presence of at least one user in the home.

## See Also

### Using presence as a predicate

- [notAtHome](homekit/hmpresenceeventtype/notathome.md)
