---
title: "init(uuid:name:)"
framework: HomeKit
role: symbol
role_heading: Initializer
platforms: [iOS 27.2+, iPadOS 27.2+, Mac Catalyst 27.2+, visionOS 27.2+]
path: "homekit/hmhome/provisionalhometransferresult/transferredaccessory/init(uuid:name:)"
---

# init(uuid:name:)

Creates a structure that represents an accessory that was successfully transferred from a temporary home to a person’s home hub.

## Declaration

```swift
init(uuid: UUID, name: String)
```

## Parameters

- `uuid`: A string that uniquely identifies an accessory.
- `name`: A string with the name of the accessory.

## Return Value

Return Value An accessory that was successfully transferred to the home hub.

## See Also

### Describing the transferred accessory

- [uuid](homekit/hmhome/provisionalhometransferresult/transferredaccessory/uuid.md)
- [name](homekit/hmhome/provisionalhometransferresult/transferredaccessory/name.md)
