Instance Method

removeZone(_:completionHandler:)

Removes a zone from the home.

Declaration

func removeZone(_ zone: HMZone, completionHandler completion: @escaping (Error?) -> Void)

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

var zones: [HMZone]

An array of all the zones in the home.

class HMZone

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