---
title: objectNotAssociatedToAnyHome
framework: homekit
role: symbol
role_heading: Type Property
path: homekit/hmerror/objectnotassociatedtoanyhome
---

# objectNotAssociatedToAnyHome

An attempt to perform an operation on an object that is not associated to any home.

## Declaration

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

## See Also

### Detecting association errors

- [invalidAssociatedServiceType](homekit/hmerror/invalidassociatedservicetype.md)
- [objectAlreadyAssociatedToHome](homekit/hmerror/objectalreadyassociatedtohome.md)
- [objectAssociatedToAnotherHome](homekit/hmerror/objectassociatedtoanotherhome.md)
