Unable to send notification with picture and action at the same time

Not sure if this is specific to my phone but I’m unable to send notification which includes picture and actions at the same time. Separately everything works fine but including image parameter into the data will remove actions in the notifications.

When I send the following to “notify.mobile_app_mi_9t_pro”, I will only get message and picture and no action

message: 'test'
data:
  image: 'https://github.com/home-assistant/home-assistant-assets/blob/master/logo-round-192x192.png?raw=true'
  actions:
  - action: URI
    title: Go To Printer Tab
    uri: "/lovelace/3d-print"

But when I remove image line I will get the action


message: 'test'
data:
  actions:
  - action: URI
    title: Go To Printer Tab
    uri: "/lovelace/3d-print"

Am I missing something?

I just tested the below code and both image and action show up for me:

message: 'test'
data:
  image: 'https://github.com/home-assistant/home-assistant-assets/blob/master/logo-round-192x192.png?raw=true'
  actions:
  - action: URI
    title: test
    uri: "/lovelace/settings"

Probably my phone then. Will need to run more tests. Thanks

worse comes to worse you just need to start fresh with the app:

1 Like