Tasker integration - how to update to new syntax?

Does anyone use the Tasker (Android) integration?

Since the change in Home Assistant syntax (2024.10)
the functionality still works but now shows as an error in VSCode in my configuration.yaml

template:
  - trigger:
      platform: event
      event_type: tasker_event
    sensor:
      - name: Tasker State
        state: "{{trigger.event.data.state}}"

Initial error is: String does not match the pattern of “LEGACY_SYNTAX^”
i have tried a basic syntax substitution (trigger to triggers, platform to trigger) i get “Property triggers is not allowed”

the orig outdated tasker documentation: Tasker for Android

i did contact the Tasker dev, but he stopped responding

Anyone know how to resolve?
I’m not smart enough to fix it myself…

There have been some renaming of the keywords in automations, templates and scripts, so maybe the error checker have not been updated properly for this.

The new notation is not using the platform keyword anymore, but instead trigger is used.
The original keyword trigger, I think should be triggers now, al though the webpage says different.

I think it is a typo.