Instance Method

roomForEntireHome

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

Declaration

- (HMRoom *)roomForEntireHome;

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:toRoom:completionHandler:.

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

See Also

Dividing a House into Rooms

rooms

An array of the rooms in the home.

- addRoomWithName:completionHandler:

Creates a new room with the specified name.

- removeRoom:completionHandler:

Removes a room from the home.

HMRoom

The smallest subdivision of a home’s space.