Module Expr Str FunctionDef arguments args defaults body Expr Str Return IfExp CompareIn Str NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Dict Str Str Str Str NameLoad Dict NameLoad Str If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad Assign SubscriptStore NameLoad Index Str Call SubscriptLoad NameLoad Index Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If BoolOpAnd NameLoad SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad orelse Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list
N/A N/A 
Trigger an event in IFTTT
=========================

This state is useful for trigging events in IFTTT.

.. versionadded:: 2015.8.0

.. code-block:: yaml

    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

 __virtual__ N/A N/A N/A N/A N/A 
    Only load if the ifttt module is available in __salt__
     N/A N/A N/A ifttt.trigger_event __salt__ ifttt False N/A trigger_event N/A N/A name event value1 value2 value3 N/A None None None N/A N/A 
    Trigger an event in IFTTT

    .. code-block:: yaml

        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 wen want to send.'

    The following parameters are required:

    name
        The unique name for this event.

    event
        The name of the event to trigger in IFTTT.

    The following parameters are optional:

    value1
        One of the values that we can send to IFTT.

    value2
        One of the values that we can send to IFTT.

    value3
        One of the values that we can send to IFTT.
     N/A ret N/A name changes result comment name N/A False N/A N/A __opts__ N/A test N/A N/A N/A ret N/A comment N/A N/A The following trigger would be sent to IFTTT: {0} format event N/A N/A ret N/A result None N/A ret N/A N/A ret N/A result N/A N/A __salt__ N/A ifttt.trigger_event event event value1 value1 value2 value2 value3 value3 N/A N/A ret N/A ret N/A result N/A N/A N/A ret N/A result True N/A N/A ret N/A comment N/A N/A Triggered Event: {0} format name N/A N/A N/A ret N/A comment N/A N/A Failed to trigger event: {0} format name N/A ret N/A