<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMHome/roomForEntireHome()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HMHome(im)roomForEntireHome"
  },
  "title" : "roomForEntireHome()"
}
-->

# roomForEntireHome()

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

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

## Return Value

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

## Discussion

HomeKit assigns new accessories to this room until you assign them to a more specific room with [`assignAccessory(_:to:completionHandler:)`](/documentation/HomeKit/HMHome/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`](/documentation/HomeKit/HMHome/rooms) array.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)