Telegram Bot - send video not working between Home Assistant Core 2024.1.6 and 2024.2.1

Hi,

Just ran into some issues with an automation I have to send Frigate events to a Telegram channel. Currently on Core 2024.1.3 and the automation works flawlessly. The automation will first send an event snapshot to my telegram channel before a delay of 45s and then sends an event video.

I tried updating to Core 2024.4.2 earlier on and noticed that the event video stops sending. I have checked the automation trace and it states that each step has completed successfully. Unsure if anyone has encountered this?

Frigate version: 0.13.2
Frigate Integration: 5.1.0

Note that I have tried this with the older frigate version of 0.12 and I still get the same after I upgrade core from 2024.1.3 to 2024.4.2.

Automation code below. Any help is appreciated. Thanks

alias: Garage CCTV - Telegram
description: ""
trigger:
  - platform: mqtt
    topic: frigate/events
    payload: new
    value_template: "{{ value_json.type }}"
condition:
  - condition: template
    value_template: "{{trigger.payload_json[\"after\"][\"camera\"] == 'Garage' }}"
action:
  - service: telegram_bot.send_photo
    data:
      target: [REDACTED]
      url: >-
        http://homeassistant.address/api/frigate/notifications/{{trigger.payload_json["after"]["id"]}}/snapshot.jpg
      caption: >-
        Garage CCTV 

        camera: {{trigger.payload_json["after"]["camera"] | replace("_", " ") |
        title }}  

        snapshot: _{{trigger.payload_json["after"]["label"]}}_   

        ID: `{{trigger.payload_json["after"]["start_time"]|int}}
        ``{{now().strftime("%d/%m/%y %H:%M")}}` 📷
    enabled: true
  - delay:
      hours: 0
      minutes: 0
      seconds: 45
      milliseconds: 0
    enabled: true
  - service: telegram_bot.send_video
    data:
      caption: |-
        Garage CCTV
        video: _{{trigger.payload_json["after"]["label"]}}._
        ID: `{{trigger.payload_json["after"]["start_time"]|int}} `🎥
      enabled: true
      timeout: 1000
      target: [REDACTED]
      disable_notification: true
      url: >-
        http://homeassistant.address/api/frigate/notifications/{{trigger.payload_json["after"]["id"]}}/{{trigger.payload_json["after"]["camera"]}}/clip.mp4
  - delay:
      hours: 0
      minutes: 5
      seconds: 0
      milliseconds: 0
    enabled: false
mode: single
max_exceeded: silent

I have updated the title of the topic as I have narrowed it down to changes between 2024.1.6 and 2024.2.1.

I set up a test automation that sends a video out from a specific URL to my Telegram channel. It stopped working when I updated Home Assistant to 2024.2.1. Have the automation below. Just wondering if someone has tested sending Telegram video on 2024.2.1 and newer versions?

alias: Test Telegram Video
description: ""
trigger: []
condition: []
action:
  - service: telegram_bot.send_message
    metadata: {}
    data:
      target: [REDACTED]
      message: TEST111
  - service: telegram_bot.send_video
    data:
      caption: 1TEST🎥
      enabled: true
      timeout: 1000
      target: [REDACTED]
      disable_notification: true
      url: >-
        http://homeassstant.url/api/frigate/notifications/1712908837.64914-wj9ium/Garage/clip.mp4