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 python update 3.9.1 #16

Open
andrearomanoif opened this issue Feb 7, 2021 · 1 comment
Open

Error after python update 3.9.1 #16

andrearomanoif opened this issue Feb 7, 2021 · 1 comment

Comments

@andrearomanoif
Copy link

I am using last version of home assistant 2021.2.1 and python 3.9.1.
After update I have this error with deebot 900 model DE5G:

2021-02-07 16:32:44 ERROR (MainThread) [homeassistant.components.vacuum] Error while setting up deebot platform for vacuum
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/entity_platform.py", line 198, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/deebot/vacuum.py", line 28, in setup_platform
vacuums.append(EcovacsDeebotVacuum(device, hass.data[ECOVACS_CONFIG][0]))
File "/home/homeassistant/.homeassistant/custom_components/deebot/vacuum.py", line 41, in init
self.device.connect_and_wait_until_ready()
File "/srv/homeassistant/lib/python3.9/site-packages/ozmo/init.py", line 456, in connect_and_wait_until_ready
self.iotmq.schedule(30, self.send_ping)
File "/srv/homeassistant/lib/python3.9/site-packages/ozmo/init.py", line 750, in schedule
if not self.scheduler_thread.isAlive():
AttributeError: 'Thread' object has no attribute 'isAlive'
2021-02-07 16:32:44 ERROR (MainThread) [homeassistant.components.ipp] Error fetching ipp data: Invalid response from API: Error occurred while communicating with IPP server.
2021-02-07 16:32:44 WARNING (MainThread) [homeassistant.config_entries] Config entry 'HP30E171DBD4F1' for ipp integration not ready yet. Retrying in 5 seconds
/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/cast/media_player.py:136: DeprecationWarning: The explicit passing of coroutine objects to asyncio.wait() is deprecated since Python 3.8, and scheduled for removal in Python 3.11.
done, _ = await asyncio.wait(

You have a solution?

@MajorBreakfast
Copy link
Contributor

The isAlive issue is now fixed #24

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

2 participants