---
title: roomForEntireHome()
framework: homekit
role: symbol
role_heading: Instance Method
path: homekit/hmhome/roomforentirehome()
---

# roomForEntireHome()

A room that represents all parts of the home that don’t have a more specific room to represent them.

## Declaration

```swift
func roomForEntireHome() -> HMRoom
```

## Return Value

Return Value The room that represents all parts of the home that don’t have a more specific room to represent them.

## Discussion

Discussion HomeKit assigns new accessories to this room until you assign them to a more specific room with assignAccessory(_:to:completionHandler:), or until the user assigns them to a room using the Home app. You can’t rename this room, add it to a zone, or remove it from the home. It also doesn’t appear in the home’s rooms array.

## See Also

### Dividing a house into rooms

- [rooms](homekit/hmhome/rooms.md)
- [addRoom(withName:completionHandler:)](homekit/hmhome/addroom(withname:completionhandler:).md)
- [removeRoom(_:completionHandler:)](homekit/hmhome/removeroom(_:completionhandler:).md)
- [HMRoom](homekit/hmroom.md)
