Hi, to send events from Ifttt to HA I’m setting up automation
automation:
trigger:
platform: event
event_type: ifttt_webhook_received
event_data:
action: call_service
action:
service_template: '{{ trigger.event.data.service }}'
data_template:
entity_id: '{{ trigger.event.data.entity_id }}'
but why in the automation editor gives me an unsupported action?
service_template: '{{ trigger.event.data.service }}'
data_template:
entity_id: '{{ trigger.event.data.entity_id }}'
Maybe I have to use old automation?
Did you ever resolve this issue? I’m experiencing the same thing now. Thanks!
I have the same issue right now. Tried everything but without any success…
Is there an error being generated?
Nope, it only says unsupported action
Hi friends, don’t use editor for automations but create them directly:
In configuration.yaml:
automation old: !include automationsold.yaml
In automationold.yaml (create it):
# This automation applies to the IFTTT call.
# Executes what is indicated in the call BODY (WEBHOOK).OK).
- alias: automate_ifttt
trigger:
platform: event
event_type: ifttt_webhook_received
event_data:
action: call_service
action:
service_template: '{{ trigger.event.data.service }}'
data_template:
entity_id: '{{ trigger.event.data.entity_id }}'
message: '{{ trigger.event.data.message }}'
Ok for me!