Load Notifications and Triggers from an actions.json file
Given a JSON-formatted configuration located at
{zenpack}/actions/actions.json, create or update triggers and
notifications specific to this zenpack. When creating or updating, the
object is first checked to see whether or not an object exists with the
configured guid for notifications or uuid for triggers. If an object is
not found, one will be created. During creation, care is taken with
regard to the id - integer suffixes will be appended to try to create a
unique id. If we do not find a unique id after 100 tries, an error will
occur. When updating an object, care is taken to not change the name as
it may have since been altered by the user (or by this loader adding a
suffix).
- Overrides:
ZenPackLoader.load
|