Instance Property

serviceGroups

An array of all service groups in the home.

Declaration

var serviceGroups: [HMServiceGroup] { get }

Discussion

Services groups are instances of HMServiceGroup.

See Also

Grouping Services

func servicesWithTypes([String]) -> [HMService]?

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

class HMServiceGroup

A collection of accessory services.