Help Script works in HA yet doesn't work via IFTTT

HI,
I have the following scripts that works without issue when pressed in home assistant frontend

remote_unlock:
  alias: Remote Unlock
  sequence:
    - service: script.turn_on
      data_template:
        entity_id: >
          {% if is_state('alarm_control_panel.yale_smart_alarm', 'armed') %}
            script.homealarm_off
          {% endif %}
          {% if is_state('alarm_control_panel.yale_smart_alarm', 'armed_home') %}
            script.homealarm_off
          {% endif %}
          {% if is_state('lock.front_door', 'locked') %}
            script.unlock_door
          {% endif %}

I then set up IFTTT via webhook and added the following automation

- alias: "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 }}'

I then added to the IFTTT trigger

{ "action": "call_service", "service": "script.turn_on", "entity_id": "script.remote_unlock" }

when I trigger it I get this in the HA logs

Wed Mar 20 2019 07:33:33 GMT+0000 (Greenwich Mean Time)
Error executing service <ServiceCall script.remote_unlock (c:c361a901b8f84321a951510156831cfb)>
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1142, in _safe_execute
    await self._execute_service(handler, service_call)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1155, in _execute_service
    await handler.func(service_call)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/script/__init__.py", line 115, in service_handler
    context=service.context)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/script/__init__.py", line 173, in async_turn_on
    kwargs.get(ATTR_VARIABLES), context)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/script.py", line 131, in async_run
    await self._handle_action(action, variables, context)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/script.py", line 210, in _handle_action
    action, variables, context)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/script.py", line 299, in _async_call_service
    context=context
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 85, in async_call_from_config
    domain, service_name, service_data, blocking=blocking, context=context)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1113, in async_call
    processed_data = handler.schema(service_data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 267, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 589, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 427, in validate_mapping
    raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: Entity ID  is an invalid entity id for dictionary value @ data['entity_id']

I know the IFTTT trigger set up is correct as I tested it using a lights_off_downstairs script and it worked without issue

can someone please tell me what I’m doing wrong?

Hi,
i have the same issue.
Did you fina a solution?
Thanks
Marco