Hi there, i’m experimenting a strange problem after updating Home assistant from 0.114 to 0.115.
I’m using IFTTT integration to connect Google Assistant to Home Assistant.
I use an IFTTT applet to bind to a vocal command coming from google assistant, the execution of a python script in HA. The applet is configured to call an webhook to Hassio exposed to internet and, on the hassio side, i’ve configured an automation to react to the ifttt event and launch the python script.
I’ve used this configuration for a long time and all works fine.
A couple of weeks ago, i’ve upgraded the HA to version 0.115 starting from a 0.114 working configuration and the effect was that the automation stopped to work.
The strange thing is that when the webhook is called by IFTTT all seems to work fine (no error on IFTTT side and no error in HA log) but the automation isn’t triggered.
Automation code is this:
id: vocal_commands
alias: vocal command automations
trigger:
platform: event
event_type: ifttt_webhook_received
event_data:
action: call_service
action:
service: python_script.translate_command
data_template:
entity: '{{ trigger.event.data.entity }}'
command: '{{ trigger.event.data.command }}'
device: '{{ trigger.event.data.device }}'
params: '{{ trigger.event.data.params }}'
multiword: '{{ trigger.event.data.multiword }}'
loops: '{{ trigger.event.data.loops }}'
If i use developer tools event section and i activate “event listening” on the event ifttt_webhook_received, when iFTTT calls the webhook i see the event in the console but the automation trigger isn’t fired…
In the console i see this event:
{
"event_type": "ifttt_webhook_received",
"data": {
"device": "TV",
"command": "spegni",
"webhook_id": "a654438952ce8b4a9a1646139404b083c1b4b816af08ff06c6f7ad93eff249e2"
},
"origin": "LOCAL",
"time_fired": "2020-10-08T22:28:51.122765+00:00",
"context": {
"id": "a410d2cc09b511eb96530f340a7cea68",
"parent_id": null,
"user_id": null
}
}
But nothing happens… no error and no reaction of automation. I’m sure that automation works perfectly but for some reason isn’t hooked to the event…
Obviousy i’ve tried to rollback to 0.114 version and all works like a charm…
I think that i’m using something wrong in the trigger section of my automation but i cannot see what is wrong. Something related to the new template handling introduced with 0.115 release?
I’ve tried also to upgrade to 0.116 but no luck…
I hope someone can halp me!