---
title: accessories
framework: homekit
role: symbol
role_heading: Instance Property
path: homekit/hmroom/accessories
---

# accessories

The collection of accessories in the room.

## Declaration

```swift
var accessories: [HMAccessory] { get }
```

## Discussion

Discussion You assign accessories to a room using the assignAccessory(_:to:completionHandler:) method of HMHome.
