<!--
{
  "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/HMMutablePresenceEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HMMutablePresenceEvent"
  },
  "title" : "HMMutablePresenceEvent"
}
-->

# HMMutablePresenceEvent

A mutable event that triggers based on the presence of users in the home.

```
class HMMutablePresenceEvent
```

## Topics

### Configuring a presence event

[`var presenceEventType: HMPresenceEventType`](/documentation/HomeKit/HMMutablePresenceEvent/presenceEventType)

The event type that triggers the presence event.

[`var presenceUserType: HMPresenceEventUserType`](/documentation/HomeKit/HMMutablePresenceEvent/presenceUserType)

The user type whose presence triggers the event.

## Relationships

### Conforms To

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

[`NSMutableCopying`](/documentation/Foundation/NSMutableCopying)

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

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

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

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

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

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

### Inherits From

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

---

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)