---
title: accessory
framework: homekit
role: symbol
role_heading: Instance Property
path: homekit/hmservice/accessory
---

# accessory

The accessory that provides this service.

## Declaration

```swift
weak var accessory: HMAccessory? { get }
```
