Frigate notifications Telegram

Please help to identify the error. I know this has been discussed many times, but I’m having trouble with notifications
At first I had automation Notifications from Frigate
they worked properly. But then I installed WebRTC and go2rtc after that notifications stopped coming.

After I tried to usethis automation
Pictures come here and I can delete them using the button, but they do not come to the request to receive the video. Writes - uploading a video and that’s it.

The following errors are in the log:

Logger: homeassistant.helpers.script
Source: helpers/script.py:791
First occurred: 12:32:05 (1 occurrences)
Last logged: 12:32:05

Error in 'if[0]' evaluation: In 'template' condition: UndefinedError: 'None' has no attribute 'event'

and

Logger: custom_components.python_script
Source: custom_components/python_script/__init__.py:81
Integration: Python Scripts Pro (documentation, issues)
First occurred: 12:31:05 (2 occurrences)
Last logged: 12:32:05

Error executing script: No module named 'custom_components.python_script.secrets'
Traceback (most recent call last):
  File "/config/custom_components/python_script/__init__.py", line 81, in execute_script
    exec(code)
  File "/config/python_scripts/edit_media_telegram.py", line 5, in <module>
    from .secrets import get_secret
ModuleNotFoundError: No module named 'custom_components.python_script.secrets'

Please help me!

Sorry no solution for you but I’m having the same experience.