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

not initialized #675

Open
Thorsten1982 opened this issue Jan 8, 2025 · 2 comments
Open

not initialized #675

Thorsten1982 opened this issue Jan 8, 2025 · 2 comments

Comments

@Thorsten1982
Copy link

Thorsten1982 commented Jan 8, 2025

The Pyscript integration is It gets stuck in the initializing status.

Screenshot 2025-01-08 204158.

home-assistant_2025-01-08T19-44-24.144Z.log

@craigbarratt
Copy link
Member

From the log, pyscript is definitely running and executing various user code. There are no errors that I could see. You do have a time.sleep() at lines 39 and 96 which pyscript replaces with a asyncio.sleep() (non-blocking).

It looks like you script is doing I/O. Is it using block I/O or async I/O? If you are using blocking I/O it could be causing the problem you observe.

@Thorsten1982
Copy link
Author

Thank you

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