---
title: accessory
framework: HomeExtensions
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+]
path: homeextensions/homecontext/accessory
---

# accessory

The accessory that a person selected in the Home app.

## Declaration

```swift
@MainActor final var accessory: HMAccessory? { get set }
```

## Discussion

Discussion This value is nil if the accessory isn’t available.

## See Also

### Getting context

- [home](homeextensions/homecontext/home.md)
