Adds a trigger to the home.
- iOS 8.0+
The name of the new trigger. Must not be
nil, and must not be the name of a trigger already in the home.
The block executed after the request is processed.
The newly created trigger.
nilon success; otherwise, error object indicating the reason for failure.