Instance Property

serviceGroups

An array of all service groups in the home.

Declaration

@property(readonly, copy, nonatomic) NSArray<HMServiceGroup *> *serviceGroups;

Discussion

Services groups are instances of HMServiceGroup.

See Also

Grouping Services

- servicesWithTypes:

Returns an array of all services provided by accessories in the home that match the specified types.

- addServiceGroupWithName:completionHandler:

Adds a service group to the home.

- removeServiceGroup:completionHandler:

Removes a service group from the home.

HMServiceGroup

A collection of accessory services.