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

Warning message in the log: Detected I/O inside the event loop #178

Closed
kompre opened this issue Mar 2, 2021 · 1 comment
Closed

Warning message in the log: Detected I/O inside the event loop #178

kompre opened this issue Mar 2, 2021 · 1 comment

Comments

@kompre
Copy link

kompre commented Mar 2, 2021

Hi,

I got this warning but otherwise the script works as I intended.
It says to report it to the author of pyscript, so here it is.

Logger: homeassistant.util.async_
Source: util/async_.py:129
First occurred: 8:18:42 (4 occurrences)
Last logged: 8:18:45

Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for pyscript doing I/O at custom_components/pyscript/eval.py, line 1899: return func(*args, **kwargs)
@craigbarratt
Copy link
Member

craigbarratt commented Mar 2, 2021

It's because your pyscript code is calling functions that do I/O. See the docs.

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