lukelalo / gallery-card

A custom card for Home Assistant that will display images and/or videos from a folder in the style of a gallery.
MIT License
20 stars 6 forks source link

Request: make full filename available as an attribute/property, when clicking on a picture/video #3

Closed sn00zerman closed 1 month ago

sn00zerman commented 5 months ago

Hello,

I love this beautiful frontend integration, however I’m missing one feature :-) Can you please make the last selected video/picture available as an attribute, so I can create my own automation for the selected file ? I use this component to show a list of my own recordings of my ip cameras. I need to go into the “media”, to select and delete files. It would ne nice if the filename of the last clicked image/video is available in an attribute, so I can add a button in the dashboard, And make my own automation to do things with the file (like deleting it for example)

thanks in advance, Greetings from Belgium, Kris -=[https://www.digitalplayground.be]=- Where fun meets technology …

lukelalo commented 2 months ago

Mmm I'm not sure what you are asking for. This component doesn't expose attributes, it only works with sensors and folders existing in your system. As a frontend component it can't generate any entities which you can use to play with on automations