Home-Assistant-Taskbar-Menu icon indicating copy to clipboard operation
Home-Assistant-Taskbar-Menu copied to clipboard

[Featrue Request] Images in persistant notifications

Open mrjaydangles opened this issue 4 years ago • 4 comments

Would it be possible to include images in the mirrored persistant notifications?

Example: Automation triggers action that shows front door camera snapshot on motion detection.

Similar as how the Snip and Sketch notification does it image

mrjaydangles avatar Jun 04 '21 15:06 mrjaydangles

I don't think that built-in persistent notifications support images... To do it I would have to create a dedicated notification service

PiotrMachowski avatar Jun 04 '21 15:06 PiotrMachowski

Persistant notifications support the HA markdown format which supports images.

See here: https://www.home-assistant.io/integrations/persistent_notification/#markdown-support

It would just be a matter of parsing the markdown to get the image url and passing it into the Windows notification.

Here is the persistant notification in HA: image

And here is the HA Taskbar Menu notification: image

mrjaydangles avatar Jun 04 '21 15:06 mrjaydangles

Oh, I have never thought about using markdown support in this way 😄

PiotrMachowski avatar Jun 04 '21 16:06 PiotrMachowski

I second this request. I am in search for a way to see security camera snapshots right on the windows desktop without having chrome open or using the compagnion apps. Persistant notifications with markdown images show the image right in HA, but not yet inside HATM, which would be very nice and much appreciated.

cseelmann avatar Oct 16 '21 16:10 cseelmann