This state is useful for trigging events in IFTTT.
New in version 2015.8.0.
ifttt-event:
ifttt.trigger_event:
- event: TestEvent
- value1: 'This state was executed successfully.'
- value2: 'Another value we can send.'
- value3: 'A third value we can send.'
The api key can be specified in the master or minion configuration like below: .. code-block:: yaml
- ifttt:
secret_key: bzMRb-KKIAaNOwKEEw792J7Eb-B3z7muhdhYblJn4V6
salt.states.ifttt.
trigger_event
(name, event, value1=None, value2=None, value3=None)¶Trigger an event in IFTTT
ifttt-event:
ifttt.trigger_event:
- event: TestEvent
- value1: 'A value that we want to send.'
- value2: 'A second value that we want to send.'
- value3: 'A third value that we want to send.'
The following parameters are required:
The unique name for this event.
The name of the event to trigger in IFTTT.
The following parameters are optional:
One of the values that we can send to IFTT.
One of the values that we can send to IFTT.
One of the values that we can send to IFTT.
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy