---
title: objectAlreadyAssociatedToHome
framework: homekit
role: symbol
role_heading: Type Property
path: homekit/hmerror/objectalreadyassociatedtohome
---

# objectAlreadyAssociatedToHome

An attempt to associate an object with a home when it’s already associated with that home.

## Declaration

```swift
static var objectAlreadyAssociatedToHome: HMError.Code { get }
```

## See Also

### Detecting association errors

- [invalidAssociatedServiceType](homekit/hmerror/invalidassociatedservicetype.md)
- [objectAssociatedToAnotherHome](homekit/hmerror/objectassociatedtoanotherhome.md)
- [objectNotAssociatedToAnyHome](homekit/hmerror/objectnotassociatedtoanyhome.md)
