Contents

roomForEntireHome()

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

Declaration

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:), 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