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

Getting IO inside event loop errors in HA logfile #17

Closed
bkvargyas opened this issue Jan 17, 2021 · 3 comments · Fixed by #18
Closed

Getting IO inside event loop errors in HA logfile #17

bkvargyas opened this issue Jan 17, 2021 · 3 comments · Fixed by #18
Assignees

Comments

@bkvargyas
Copy link

bkvargyas commented Jan 17, 2021

Logger: homeassistant.util.async_
Source: util/async_.py:105
First occurred: 9:34:45 AM (6 occurrences)
Last logged: 9:34:45 AM

Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for tryfi doing I/O at custom_components/tryfi/init.py, line 39: tryfi = PyTryFi(username=entry.data["username"], password=entry.data["password"])

I've seen these types of errors before with other custom components. I know the HA developer team has been trying to force everyone to do do async IO outside the main event loop for performance reasons.

This is with HA core version 2021.1.4

@sdonoghu75
Copy link

I am getting the same issue.

@mikewren
Copy link

mikewren commented Feb 8, 2021

Just received this issue as well:

Logger: homeassistant.util.async_
Source: util/async_.py:129
First occurred: 10:21:26 AM (6 occurrences)
Last logged: 10:21:27 AM

Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for tryfi doing I/O at custom_components/tryfi/init.py, line 39: tryfi = PyTryFi(username=entry.data["username"], password=entry.data["password"])

Home Assistant 2021.2.1

Thanks for this otherwise terrific integration! Great to see the doggo listed along with the humans in our house. Really looking forward to turning on and off the collar light automagically during night walks - a glaring feature omission in the default app.

@sbabcock23 sbabcock23 self-assigned this Feb 13, 2021
@sbabcock23 sbabcock23 mentioned this issue Feb 13, 2021
@sbabcock23
Copy link
Owner

sbabcock23 commented Feb 13, 2021

Thanks for reporting the issue @mikewren, @sdonoghu75 and @bkvargyas. I have fixed the code so you should no longer get this WARNING. Version 0.0.4 has been released.

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

Successfully merging a pull request may close this issue.

4 participants