Unable to notify in automation

Hello, I have this rather simple automation that I am able to trigger, but the action is failing:

- id: '1606285490337'
  alias: Test Notification
  description: ''
  trigger:
  - platform: state
    entity_id: switch.upstairs_hallway_light
    to: 'on'
    for: 00:00:05
  condition: []
  action:
  - service: persistent_notification.create
    data:
      message: 'Test message'
  mode: single

The log says:

2020-11-25 01:56:00 ERROR (MainThread) [homeassistant.components.automation.test_notification] Test Notification: Error executing script. Invalid data for call_service at pos 1: extra keys not allowed @ data['entity_id']
2020-11-25 01:56:00 ERROR (MainThread) [homeassistant.components.automation.test_notification] While executing automation automation.test_notification
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 433, in async_trigger
    await self.action_script.async_run(
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1010, in async_run
    await asyncio.shield(run.async_run())
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 245, in async_run
    await self._async_step(log_exceptions=False)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 253, in _async_step
    await getattr(
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 460, in _async_call_service_step
    await service_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 1405, in async_call
    processed_data = handler.schema(service_data)
  File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
    raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['entity_id']

The UI originally generated an irrelevant entity_id under action which I have since removed. But the log is still referring to entity_id. What am I doing wrong?

Thanks.