Closed gerard33 closed 5 months ago
It seems the issue is caused by restarting the Home Assistant automation unintendedly.
So the automation runs when the webhook incoming_call
is received, but then runs again on webhook call_established
etc.
Probably the second run causes the deserialize JSON errors.
I now added an extra condition so the automation only runs on the incoming call and the error doesn't pop up anymore.
condition:
- "{{ trigger.json.event == 'incoming_call' }}"
Good find! Thanks for the heads-up!
First of all thanks for this great addon 👍
While making some automations with the
choices
option I noticed theCould not deserialize JSON
error in the log.The log:
when checking the JSON it seems there is a
}
too many at the end:This issue was also mentioned here --> https://github.com/arnonym/ha-plugins/issues/80#issuecomment-1890785286
The menu is still being played, but I noticed that is not working all the times. Not sure if that's related though.
There is no difference when using:
or