Instance Method

home(_:didAdd:to:)

Tells the delegate that a home added a service to a service group.

Declaration

optional func home(_ home: HMHome, didAdd service: HMService, to group: HMServiceGroup)

Parameters

home

The home.

service

The service that was added.

group

The group to which the service was added.

See Also

Observing Service Configuration

func home(HMHome, didAdd: HMServiceGroup)

Tells the delegate that a home added a service group.

func home(HMHome, didUpdateNameFor: HMServiceGroup)

Tells the delegate that a home updated the name of a service group.

func home(HMHome, didRemove: HMService, from: HMServiceGroup)

Tells the delegate that a home removed a service from a service group.

func home(HMHome, didRemove: HMServiceGroup)

Tells the delegate that a home removed a service group.