<!--
{
  "availability" : [
    "iOS: 15.4.0 -",
    "iPadOS: 15.4.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMAccessorySetupRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HMAccessorySetupRequest"
  },
  "title" : "HMAccessorySetupRequest"
}
-->

# HMAccessorySetupRequest

An object that describes how to add and setup up new accessories.

```
class HMAccessorySetupRequest
```

## Overview

Use this class to provide steps for the user to add one or more accessories to a particular home, and follow up with additional setup.

## Topics

### Setting up accessorices

[`homeUniqueIdentifier`](/documentation/HomeKit/HMAccessorySetupRequest/homeUniqueIdentifier)

The identifier corresponding to the home that the accessory should be added to when being set up.

[`payload`](/documentation/HomeKit/HMAccessorySetupRequest/payload)

The payload to use for accessory setup.

[`suggestedAccessoryName`](/documentation/HomeKit/HMAccessorySetupRequest/suggestedAccessoryName)

The name that the framework suggests when the user names the accessory being set up.

[`suggestedRoomUniqueIdentifier`](/documentation/HomeKit/HMAccessorySetupRequest/suggestedRoomUniqueIdentifier)

The identifier corresponding to the room that the framework suggests.

### Instance Properties

[`matterPayload`](/documentation/HomeKit/HMAccessorySetupRequest/matterPayload)

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)