<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 8.0.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMHomeDelegate/home(_:didRemove:)-3if6s",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:objc(pl)HMHomeDelegate(im)home:didRemoveRoom:"
  },
  "title" : "home(_:didRemove:)"
}
-->

# home(_:didRemove:)

Tells the delegate that a home removed a room.

```
optional func home(_ home: HMHome, didRemove room: HMRoom)
```

## Parameters

`home`

The home the room was removed from.

`room`

The room that was removed.

## Discussion

Accessories in a room that gets removed from a home are moved to [`roomForEntireHome()`](/documentation/HomeKit/HMHome/roomForEntireHome()).

---

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)