Instance Method

removeZone:completionHandler:

Removes a zone from the home.

Declaration

- (void)removeZone:(HMZone *)zone completionHandler:(void (^)(NSError *error))completion;

Parameters

zone

The zone to remove.

completion

The block executed after the request is processed.

error

nil on success; otherwise, error object indicating the reason for failure.

See Also

Grouping Rooms into Zones

zones

An array of all the zones in the home.

- addZoneWithName:completionHandler:

Adds a new zone to the home.

HMZone

A collection of rooms that users think of as a single area, like upstairs or downstairs.