An event that triggers based on the presence of users in the home.
On This Page
class HMPresenceEvent : HMEvent
init(presenceEventType: HMPresenceEventType, presenceUserType: HMPresenceEventUserType)
Creates a new presence event with the specified event and user presence types.
var presenceEventType: HMPresenceEventType
The event type that triggers the presence event.
var presenceUserType: HMPresenceEventUserType
The user type whose presence triggers the event.
A mutable event that triggers based on the presence of users in the home.
The user presence type that triggers a presence event.
The group of users that triggers a presence event.