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

# HMError.Code.objectWithSimilarNameExistsInHome

An attempt to give the name of one object to another object in the home.

## Declaration

```swift
case objectWithSimilarNameExistsInHome
```

## See Also

### Collision errors

- [HMError.Code.homeWithSimilarNameExists](homekit/hmerror/code/homewithsimilarnameexists.md)
- [HMError.Code.objectWithSimilarNameExists](homekit/hmerror/code/objectwithsimilarnameexists.md)
- [HMError.Code.renameWithSimilarName](homekit/hmerror/code/renamewithsimilarname.md)
