-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
AttributeError: object has no attribute '_webrtc_provider' #778
Comments
Not calling the parent class init function is very much intentional but I cannot remember the actual reason behind it. |
Hi @Tasshack , Thanks a lot for all your efforts and the pre-release version for the new Dreame vacuuums |
To resolve the issue temporarily, I added the missing attributes to the DreameVacuumCameraEntity class in the camera.py file of the integration. Specifically, I added the following lines to the class:
After adding these attributes, the errors stopped appearing in the logs, and the integration started working as expected. |
Hi @taifunk, Thanks a lot, it is working. |
Hi @taifunk, thanks that worked nicely. |
Hi there, can you please tell exactly where I should add those values in the camera.py file? |
Thanks, working! @taifunk since you deserve the credit, you should create a PR to fix this |
Dreame L10 Prime doesn't have a camera.
|
The problem still persists on the Home Assistant Core 2024.11.3? |
yes |
This is the solution: |
Added lines to resolve error Tasshack#778
Describe the bug
Getting the following webrtc error since the introduction in HA 2024.11
To Reproduce
Update HA core to 2024.11.0b0 and check the logs.
Expected behavior
No errors in the log.
Additional Information (please complete the following information)
Confirmed as not a core issue home-assistant/core#129532.
"The issue is in the CC not initializing the Camera Entity by calling the parent class init method when defining its own init method."
The text was updated successfully, but these errors were encountered: