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

Error after login: custom_components/eufy_security/camera.py:46 #34

Open
Na3blis opened this issue Feb 12, 2021 · 3 comments
Open

Error after login: custom_components/eufy_security/camera.py:46 #34

Na3blis opened this issue Feb 12, 2021 · 3 comments

Comments

@Na3blis
Copy link

Na3blis commented Feb 12, 2021

I added the repository, logged into eufy and recurved the following error:

Log Details (ERROR)
Logger: homeassistant.components.camera
Source: custom_components/eufy_security/camera.py:46
Integration: Camera (documentation, issues)
First occurred: 9:49:27 PM (1 occurrences)
Last logged: 9:49:27 PM

Error while setting up eufy_security platform for camera
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 198, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/eufy_security/camera.py", line 31, in async_setup_entry
[EufySecurityCam(hass, camera) for camera in api.cameras.values()], True
File "/config/custom_components/eufy_security/camera.py", line 31, in
[EufySecurityCam(hass, camera) for camera in api.cameras.values()], True
File "/config/custom_components/eufy_security/camera.py", line 46, in init
self._ffmpeg_image_frame = ImageFrame(self._ffmpeg.binary, loop=hass.loop)
TypeError: init() got an unexpected keyword argument 'loop'

This is on the latest HA Container

@Na3blis Na3blis changed the title Error after login Error after login: custom_components/eufy_security/camera.py:46 Feb 12, 2021
@realmadridsi
Copy link

I had the same issue. This fixed it for me:

https://community.home-assistant.io/t/eufy-camera-integration/121758/383

@l3nticular
Copy link

This was apparently fixed in master 2 months ago, but a new tag was never generated. Use "master" when installing with HACS and it works.

@unarj
Copy link

unarj commented Apr 14, 2021

I didn't see "master" in HACS but I did see "main" which did not have this fix. thanks!

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

No branches or pull requests

4 participants