Lovelace: Slideshow Card

I’m trying the same thing wanting to use the “folder: sensor.images” option to autoplay a slideshow of family photos, but when I enable the card, the entire dashboard goes blank(?). The sensor.images entity is displaying the correct info as per your post. Any ideas to help out there?

1 Like

Some thing here! Entire dashboard goes blank(?) when i use:

  - type: 'custom:slideshow-card'
    folder: sensor.images

You could use as alternative my custom coponent, who uses a camera object to create a slideshow or timelapse from images.

Hi
Looks great, my question is.

  • Can I inside the Slideshow Card use “vertical-stack” and “horizontal-stack”?
  • Can the slider be automated so it “slide” every 3 min.?

It seems none of these cards work with the current release of HA (2023.11)
Does anyone know of a working alternative?

Did you find something that does work with modern HA versions, @filmgarage ?

Hi,
I am currently trying to achieve something similar.
I was able to get it working without additional integrations, only thing that seems to be needed is card-mod to style the picture entity card to support images of different aspect ratios.
Here is what I do:

  1. Add the folder with the images as entity of Folder integration. Note that this is now possible using the UI.
  2. Add a Local File entity and set a path to a picture as default. Agian, this is possible using the UI.
  3. Create an automation that triggers every x seconds and use the service local_file.update_file_path to change the file path.
    As a file path use the following template, which chooses a random file from the given folder: {{ state_attr('sensor.slideshow_folder', 'file_list') | random }}

Now you can use the local_file entity in a picture card. Unfortunately in my case the frontend sometimes stops to update the picture after a while, I still need to figure out why.