Instance Method

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

Newly-added accessories are assigned to this room until the user assigns them to a more specific room with assignAccessory(_:to:completionHandler:).

This room can’t be renamed, added to a zone, or removed from the home.

See Also

Dividing a House into Rooms

var rooms: [HMRoom]

An array of the rooms in the home.

class HMRoom

The smallest subdivision of a home’s space.