IP Camera Snapshot Automation

I do have the same automation.

I think you’re missing the " in the path, but not sure if is so important.

Here’s my script:

  presence_kitchen_notifications_when_detected:
    alias: "Occupancy Detection - kitchen - Notifications"
    sequence:
    - condition: state
      entity_id: input_boolean.presence_kitchen_notify
      state: 'on'
    - service: camera.snapshot
      data:
        entity_id: camera.kitchen
        filename: "/config/www/cam_captures/kitchen_{{ now ().year }}_{{ now ().month }}_{{ now ().day }}_{{ now ().hour }}_{{ now ().minute }}.jpg"
    - delay: 
        seconds: 5
    - service: notify.telegramChat_dave
      data:
        title: "Presence Detected at kitchen"
        message: "1.- presence_kitchen_notifications_when_detected - Occupancy Detection - kitchen - Notifications"
        data:
          photo:
            - file: "/config/www/cam_captures/kitchen_{{ now ().year }}_{{ now ().month }}_{{ now ().day }}_{{ now ().hour }}_{{ now ().minute }}.jpg"
              capture: Snapshoot

Hope this helps!