Adds an action to the action set.
- iOS 8.0+
The action to add. Actions may only be in one set—create separate
HMActionobjects for the same conceptual action if you want an action to be in more than one action set.
The block executed after the request is processed.
nilon success; otherwise, error object indicating the reason for failure.