Unable to send images via notification

HA version: 2024.11.1 HASS.Agent version: 2.1.0 HACS "HASS.agent" version: v2022.11.9 HACS "HASS.Agent 2 Integration - Media Player & Notifications" version: 2.1.0-beta1 I can send notifications fine, but can't get pictures to come through. The same notification command works find sending images to my Android phone using the notify service. Notification comes through with no image. Any advice appreciated
metadata: {}
data:
message: "Some test message"
data:
url: /lovelace/entity/camera.bambulabs_p1s_camera
image: /api/camera_proxy/camera.bambulabs_p1s_camera?token=<snip>
action: notify.vengeance
metadata: {}
data:
message: "Some test message"
data:
url: /lovelace/entity/camera.bambulabs_p1s_camera
image: /api/camera_proxy/camera.bambulabs_p1s_camera?token=<snip>
action: notify.vengeance
4 Replies
Amadeo
Amadeo2mo ago
hello
Amadeo
Amadeo2mo ago
GitHub
Release 2.1.1-beta2 · hass-agent/HASS.Agent
Probably last of 2.1.1 betas :) Fixes: Media player now respects the user-provided value in mute service call (thanks to @TarheelGrad1998 for reporting) #185 Notification image not being shown whe...
Amadeo
Amadeo2mo ago
relative notification images (without https://....) were fixed in this version https://github.com/hass-agent/HASS.Agent/pull/186
GitHub
Fix: added logic to handle HA relative media URLs by amadeo-alex · ...
This PR adds logic required to properly show notification images passed with relative URL - "/media/pics/image.png". Thanks to @iankaufmann for reporting! #178
pyrosive
pyrosiveOP2mo ago
Not sure if there's an upgrade path for the beta, so I'm going to avoid that. I just put the absolute URL of my HA instance in the URL + image fields. Thanks for pointing me in the right direction
Want results from more Discord servers?
Add your server