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

feat: add entity with entity_picture as an image source #84

Merged
merged 1 commit into from
Mar 18, 2023

Conversation

Daanoz
Copy link
Contributor

@Daanoz Daanoz commented Mar 5, 2023

Hello, I'm the creator of the Google Photos integration which exposes images in a Google Photos album as a camera entity in Home Assistant. This allows me to use images from any personal album in all kinds of Home Assistant extensions.

I have extended your implementation to also accept entity ids, that can be used as an image source when they have the entity_picture attribute, I have tried to keep the implementation as generic as possible so it can be used for any entity supporting the attribute whilst staying close to your original implementation.

Let me know if you consider this to big of a change, I can try making it smaller or just fork off into a separate extension.

@j-a-n
Copy link
Owner

j-a-n commented Mar 5, 2023

Hi @Daanoz !
Thanks a lot for your contribution, this is a very nice feature 👍
I had a quick look at the PR and it looks very good. I will review and merge it as soon as I find some time.
Thanks!

@j-a-n j-a-n merged commit 1c8b521 into j-a-n:main Mar 18, 2023
@Daanoz
Copy link
Contributor Author

Daanoz commented Mar 20, 2023

Thanks for the merge @j-a-n, if any issues arise, feel free to tag me, happy to take a look!

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.

None yet

2 participants