It seems when we have a image attachment in the notification, the image is presented as a thumbnail. I want to add an action like
- service: notify.mobile_app_<phone>
data:
title: my title
message: some text
data:
image: "{{ image }}"
actions:
- action: URI
title: View Image
uri: /media/local/my.jpg
so that one can check the details of the image.
But it seems the local media source requires some authentication and therefore it won’t display the image. I tried something like
- action: URI
title: Media Browser
uri: >-
/media-browser/browser/app%2Cmedia-source%3A%2F%2Fmedia_source
but it can only get to the media browser UI without showing the actual image directly. So not sure what would be a good way to do this. Any suggestions?