Notification via pushover with attachment

Hi, I just tried to set up a script with a notification to pushover. Unfortunately the attachment is not sent along. Only the message and subject arrives. The image URL works fine with an identical notification via telegram. Can anyone give me a tip?
My config is:

notify:
  - platform: pushover
    name: PushOver
    api_key: 'xxx'
    user_key: 'yyy'
  - platform: telegram
    name: Telegram
    chat_id: xxx

My script is:

service: notify.pushover
data:
  message: Ding Dong
  data:
    title: Testing
    attachment: 'http://someip:8123/api/camera_proxy/camera.entity_id'

the working telegram notification is:

service: notify.telegram
data:
  message: Ding Dong
  data:
    photo:
      url: 'http://someip:8123/api/camera_proxy/camera.entity_id'

Thanks for your help!

It seems that notify.pushover does not allow urls as attachment but only local files.
I solved it in downloading the image first.

service: camera.snapshot
data:
  filename: /tmp/filename.jpg
entity_id: camera.cameraid

and sending the file afterwards:

message: Ding Dong
data:
  title: Testing
  attachment: /tmp/filename.jpg
2 Likes

Thanks this solved my problem!!

Regards
James