Instance Method

home(_:didUpdate:)

Tells the delegate that a home updated a trigger.

Declaration

optional func home(_ home: HMHome, didUpdate trigger: HMTrigger)

Parameters

home

The home.

trigger

The trigger that was updated.

Discussion

Enabling or disabling a trigger or modifying its action sets will cause this method to be called.

See Also

Observing Action and Trigger Configuration

func home(HMHome, didAdd: HMActionSet)

Tells the delegate that a home added an action set.

func home(HMHome, didUpdateNameFor: HMActionSet)

Tells the delegate that a home updated the name of an action set.

func home(HMHome, didUpdateActionsFor: HMActionSet)

Tells the delegate that a home updated the actions for an action set.

func home(HMHome, didRemove: HMActionSet)

Tells the delegate that a home removed an action set.

func home(HMHome, didAdd: HMTrigger)

Tells the delegate that a home added a trigger.

func home(HMHome, didUpdateNameFor: HMTrigger)

Tells the delegate that a home updated the name of a trigger.

func home(HMHome, didRemove: HMTrigger)

Tells the delegate that a home removed a trigger.