-
Notifications
You must be signed in to change notification settings - Fork 55
variables undefined after task.sleep #37
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
Comments
This appears to be happening outside of a class as well. |
So far I'm not able to replicate this. Could this case be connected to reload? |
Perhaps? I just restarted Home Assistant (to add full traceback). I will need to restart pyscript once when it starts (because for some reason my YAML defined apps don't load without a restart, I've yet to debug that and report). But, aside from that one restart, I'll leave it be for a bit and see if it happens again. |
It looks like the new config flow PR #31 breaks the initial |
Ah, glad you found that. I still hadn't gotten around to writing a proper, concise test case for it. Thanks! |
The original issue (variables undefined after task.sleep) seems to have been resolved. I will open a new issue if it presents again. Leaving this open for now in case you're using it to track "failure to load initial |
The config loading is being addressed in #39. |
This issue is dependent on ... something else ... that I can't quite figure out. It doesn't happen every time, so a simplified test doesn't show the issue immediately.
In a Class Method:
Error:
The text was updated successfully, but these errors were encountered: