Comments (7)
This appears to be happening outside of a class as well.
from pyscript.
So far I'm not able to replicate this. Could this case be connected to reload?
from pyscript.
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.
from pyscript.
It looks like the new config flow PR #31 breaks the initial config
values, which requires a reload. Haven't had a chance to look at that yet.
from pyscript.
Ah, glad you found that. I still hadn't gotten around to writing a proper, concise test case for it. Thanks!
from pyscript.
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 config
values".
from pyscript.
The config loading is being addressed in #39.
from pyscript.
Related Issues (20)
- not implemented ast ast_generatorexp HOT 1
- can not import library after reboot of HA
- Expose home assistant jinja template functions HOT 1
- Croniter version conflict HOT 1
- "MQTT entity name starts with the device name in your config"
- Feature Request: Make apps configurable from Home assistant UI
- Feature Request: exclude from recorder
- attribute changes not detected
- "async with" statement fails without target variable assignment
- Newbie help running Python script under pyscript as a service HOT 2
- Translated state HOT 1
- Template evaluation HOT 2
- Exception in <file.pv_excess_control.on_time> line 246 HOT 2
- Issues using yaml module in pyscript HOT 2
- Python 3.11 support removed from Home Assistant HOT 4
- помогите с IMPORT в home asistant HOT 1
- PyRight LSP HOT 9
- Sending group notifications raise errors
- Error when import httpx lib.
- Can't declare properties in class HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyscript.