Skip to content

Adding any_image entity#18

Open
Nabushika wants to merge 2 commits intooutadoc:mainfrom
Nabushika:main
Open

Adding any_image entity#18
Nabushika wants to merge 2 commits intooutadoc:mainfrom
Nabushika:main

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