How to send Yi Camera motion detection image via Telegram?

Hello,
I’ve integrated a Yi Dome 1080 Camera (using yi-hack-v5) in my HA Core.
I would like to send motion detection images via telegram but when I use this action

action: notify.my_user
metadata: {}
data:
  data:
    photo:
      - url: '{{ camera.yi_camera_1_motion_detection_image}}'
  message: my message

this error occurs: Error rendering data template: UndefinedError: 'camera' is undefined