Camera snapshot entity_id in filename

I’m getting the same warnings, at first I just placed {{ entity_id }} without anything else, but then i got the same warning again…

But how to handle actions with multiple entities. Do we need to create an action for every camera?
I tried entity_id as in the documentation Camera - Home Assistant, entity_id.entity_id and entity_id.name, all throw the error through spook.

Have you find a solution for this error? because on the official Home Assistant instructions it even says to use {{ entity_id }}

Well, no, but the cause: Camera.record service not working with entity_id.name in template, says entity_id is undefined · Issue #40241 · home-assistant/core · GitHub and see the commit below: Deprecate entity_id template variable in camera services by emontnemery · Pull Request #128592 · home-assistant/core · GitHub

I tried to find hints how I could do this with a variable but how do I step through them?
In the end I filed a bug, maybe add your thumbs there to gain a bit more attraction:

The docs are uptated, above the variable is in the example defined first and then used in the camera.record action:

actions:
  - variables:
      entity_id: camera.yourcamera  # Store the camera entity_id in a variable for reuse