Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not showing all images #1

Closed
bjkluft opened this issue May 2, 2024 · 4 comments
Closed

Not showing all images #1

bjkluft opened this issue May 2, 2024 · 4 comments

Comments

@bjkluft
Copy link

bjkluft commented May 2, 2024

Hi,

First thank you for this nice add-on. It took me some tweaking to get it up and running but now it does. However I encounter one issue and that is that not all images are shown. I have the following setup:

type: custom:gallery-card
title: Laatste 10 snapshots
entities:
  - sensor.snaps
menu_alignment: Bottom
maximum_files: 10
parsed_date_sort: true
reverse_sort: true
random_sort: false
recursive: true
show_reload: true
include_video: false
file_name_format: YYYYMMDD-HHmmss
caption_format: DD-MM-YYYY HH:mm

And inside the folder (to which the sensor.snaps) refers I automatically create snapshots of my camera, resulting in the following list:
image

However, the card doesn't show all the snaps:
image

As you can see in the second image the timestamps don't correspond with the timestamps of the last images in the folder. Reloading the card doesn't solve this.
Any ideas or help?

@lukelalo
Copy link
Owner

lukelalo commented May 14, 2024

Are you sure that all those images are being retrieved by sensor.snaps?

@bjkluft
Copy link
Author

bjkluft commented May 15, 2024

Are you sure that all those images are being retrieved by sensor.snaps?

Sorry, might be a noob in this but how do I check whether that is the case?

@lukelalo
Copy link
Owner

In Home Assistant go to developer tools / states and check the sensor.snaps entity values:

image

@bjkluft
Copy link
Author

bjkluft commented May 15, 2024

Ahh, yes.
The sensor shows all the files but not sorted by file name. So I used this thread to create a custom sensor with the files sorted and now it looks like its working.
Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants