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

Unable to import component: No module named 'homeassistant.components.image' (since v3.5.1) #636

Closed
bcutter opened this issue Jan 12, 2024 · 10 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bcutter
Copy link

bcutter commented Jan 12, 2024

Since updating to https://github.com/AlexxIT/WebRTC/releases/tag/v3.5.1 and doing the first restart of HA after the update (using HACS), I get this on every HA Core start:

grafik

Logger: homeassistant.setup
Source: setup.py:213
First occurred: 18:42:31 (1 occurrences)
Last logged: 18:42:31

Setup failed for custom integration webrtc: Unable to import component: No module named 'homeassistant.components.image'

Maybe because of #619 looking for this entity type which does not exist on older HA Core versions? If true (just a wild guess): in that case the 3.5.1 update should have been flagged with a "breaking change" notification or listing the minimum needed HA Core version.

Home Assistant 2023.4.6
Supervisor 2023.12.0
Operating System 11.2
Frontend 20230411.1 - latest 

By the way there's a typo in the date of https://github.com/AlexxIT/WebRTC/releases/tag/v3.5.1.

@bcutter
Copy link
Author

bcutter commented Jan 12, 2024

Edit: v3.5.0 works without any issues. Which HA version is needed to run v3.5.1?

2023.7?

https://www.home-assistant.io/blog/2023/07/05/release-20237/#image-entities

@AlexxIT AlexxIT added the enhancement New feature or request label Jan 13, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 13, 2024

You right. Image require newer Hass version. I think this is bad idea. Will fix this in next release. You can use previous version for now.

@AlexxIT AlexxIT self-assigned this Jan 13, 2024
@bcutter
Copy link
Author

bcutter commented Jan 14, 2024

Great. Looking forward to an updated version (you'll probably implement a "if availalbe, use it, if not, don't try to implement usage of image entity" check, right?) 🎉

@bcutter
Copy link
Author

bcutter commented Jan 30, 2024

I think this is bad idea. Will fix this in next release.

@AlexxIT do you have any estimations for the new release containing the fix for this? Thanks.

@AlexxIT AlexxIT added this to the v3.5.2 milestone Feb 17, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Feb 17, 2024

You can try latest master version

@bcutter
Copy link
Author

bcutter commented Feb 17, 2024

You can try latest master version

Is there a new release? I'm only using HACS.

@AlexxIT
Copy link
Owner

AlexxIT commented Feb 17, 2024

You can install it via HACS. Redownload and select master from dropdown

@AlexxIT
Copy link
Owner

AlexxIT commented Feb 17, 2024

It's not a release yet.

@bcutter
Copy link
Author

bcutter commented Mar 11, 2024

So when will you make a release?

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 7, 2024

@AlexxIT AlexxIT closed this as completed Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants