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 on 2022.2 #28

Open
grego1981 opened this issue Feb 21, 2022 · 1 comment
Open

Error on 2022.2 #28

grego1981 opened this issue Feb 21, 2022 · 1 comment

Comments

@grego1981
Copy link

After upgrading to 2022.2 while it seems that theintegration works, suddenly I get the error below in the logs and all the sensors (motion, door etc.) are either in uknown or not responding..

2022-02-21 09:35:39 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for miio_gateway doing blocking calls at custom_components/miio_gateway/init.py, line 278: sleep(6) # Give it timeout time to respond...

@cliffordwhansen
Copy link
Contributor

I am seeing the same, looks like refactoring to use async is in order.
I have not seen any issues being caused by this.

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