---
title: homeUniqueIdentifier
framework: homekit
role: symbol
role_heading: Instance Property
path: homekit/hmaccessorysetuprequest/homeuniqueidentifier
---

# homeUniqueIdentifier

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

## Declaration

```swift
var homeUniqueIdentifier: UUID? { get set }
```

## Discussion

Discussion If nil, then the user chooses a home. See uniqueIdentifier for more information.

## See Also

### Setting up accessorices

- [payload](homekit/hmaccessorysetuprequest/payload.md)
- [suggestedAccessoryName](homekit/hmaccessorysetuprequest/suggestedaccessoryname.md)
- [suggestedRoomUniqueIdentifier](homekit/hmaccessorysetuprequest/suggestedroomuniqueidentifier.md)
