---
title: HMError.Code.maximumAccessoriesOfTypeInHome
framework: homekit
role: symbol
role_heading: Case
path: homekit/hmerror/code/maximumaccessoriesoftypeinhome
---

# HMError.Code.maximumAccessoriesOfTypeInHome

The home already has the maximum number of accessories of the given type.

## Declaration

```swift
case maximumAccessoriesOfTypeInHome
```

## See Also

### Home and room errors

- [HMError.Code.roomForHomeCannotBeInZone](homekit/hmerror/code/roomforhomecannotbeinzone.md)
- [HMError.Code.roomForHomeCannotBeUpdated](homekit/hmerror/code/roomforhomecannotbeupdated.md)
