I would like to include a link to an image or a video stored on media_sources for notification via email or mobile.
For example, with the following lines written in configuration.yaml:
homeassistant:
media_dirs:
local: /config/media
snapshots: /snapshots
In the following service, the attached image works fine but neither does the url nor clickAction work.
service: notify.MY_MOBILES
data:
message: >-
An snapshot is created.
data:
image: /media/snapshots/image.jpg
url: /media/snapshots/image.jpg
clickAction: /media/snapshots/image.jpg
Is there a way to do it?