Hello,
I’m wondering if there is a way to include more than one image in a single Android notification?
Here is an example script I have that will send me a notification with one image. My hope is to be able to include at least one other image in the same notification.
record_and_notify:
sequence:
- service: notify.drew_app
data:
message: Home Alarm Triggered
data:
sticky: 'true'
priority: 'high'
image: '/api/camera_proxy/camera.kitchen_profile000_mainstream'
clickAction: '/lovelace-home/cam'
If there is not a way to do this, does anyone have another suggestion besides sending a second notification?
Thanks in advance!
only 1 image per notification on android, only suggestion i have is to send another notification…consider using group
to declutter the status bar
Thank you for the quick response and confirmation.
For anyone that stumbles upon this in the future, here is how I am sending two notifications and used group
to help declutter my status bar.
record_and_notify:
sequence:
- service: notify.drew_app
data:
message: Home Alarm Triggered
data:
sticky: 'true'
priority: 'high'
image: '/api/camera_proxy/camera.kitchen_profile000_mainstream'
clickAction: '/lovelace-phone/cameras'
group: 'Alarm'
- service: notify.drew_app
data:
message: Home Alarm Triggered
data:
sticky: 'true'
priority: 'high'
image: '/api/camera_proxy/camera.garage_profile000_mainstream'
clickAction: '/lovelace-phone/cameras'
group: 'Alarm'
3 Likes
You can also take this one step further by changing the notification_icon
and also using channel
to even further distinguish the sound and icon of the notification:)
3 Likes