Skip to content
Discussion options

You must be logged in to vote

The event data in the trace shows why this does not trigger: the companion app sends intent and event, not action and extra_event.

The automation can be written as:

alias: Tasker test
triggers:
  - trigger: event
    event_type: android.intent_received
    event_data:
      intent: io.homeassistant.companion.android.TASKER
conditions:
  - condition: template
    value_template: "{{ trigger.event.data.event == 'test' }}"
actions:
  - action: notify.mobile_app_<my_device>
    data:
      message: TEST
mode: single

You can also match the value directly in the trigger:

triggers:
  - trigger: event
    event_type: android.intent_received
    event_data:
      intent: io.homeassistant.companion…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@igorsindriksons1982
Comment options

@igorsindriksons1982
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by oceantrail23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants