Hello !
I am facing issues when trying to receive 2 IFTTT events considered as triggers in Homeassistant.
I want to receive through IFTTT :
- my alarm status and
- some door sensor status
The alarm status is received thanks to this automation :
- id: iftt_event
alias: IFTTT Réception Evenements
trigger:
- event_data:
action: call_service
event_type: ifttt_webhook_received
platform: event
action:
- data_template:
entity_id: '{{ trigger.event.data.entity_id }}'
state: '{{ trigger.event.data.state }}'
service_template: '{{ trigger.event.data.service }}'
As you can see, there is a need to have as data_template two mandatories elements :
- an
entity_id
and - a
state
However, to receive the door sensor status from IFTTT, the state
item needs to be removed from the data_template.
Is is possible to have two differents IFTTT automations with two differents structures (one with the state
element, the other one without) ?
If so, how can I do that ?
Thank you