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

Adding any_image entity #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Adding any_image entity #18

wants to merge 2 commits into from

Conversation

Nabushika
Copy link

Add any_image entity

Code changes

  • Add list_all_images method to ImmichHub
  • Add new ImmichImageAll class in image.py
  • Insert ImmichImageAll object into list of default entities, alongside random favourite

Includes a small clean-up of only querying the api for image filetypes in list_favourite_images: https://immich.app/docs/api/search-metadata

Testing

Tested locally on my own HA instance:
image
(image is not in any albums)

Possible extras

Maybe could add config to enable/disable both any image and random favourite entities - I haven't done this yet because I'm very new to HA integration development and wanted to start small :P

Closes #6

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

Successfully merging this pull request may close these issues.

'All Photos' entity not loading any photos
1 participant