You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When following the Building Integrations guide in VSC dev container, when running python3 -m script.scaffold integration and following the prompt, script.hassfest will run following the completion. If you don't first install the requirements, script.hassfest will fail with script.hassfest ModuleNotFoundError: No module named 'numpy'
I'm guessing there should be instructions for running pip install -r requirements_all.txt (or one of the other requirements files. I'm not familiar enough to say which is appropriate.
Alright, so it's time to write your first code for your integration. AWESOME. Don't worry, we've tried hard to keep it as easy as possible. From a Home Assistant development environment, type the following and follow the instructions:
```shell
python3 -m script.scaffold integration
```
The text was updated successfully, but these errors were encountered:
You mentioned using the devcontainer... so if the devcontainer is not properly being setup right then i think any fixes need to be part of the devcontainer setup to handles this up front? or updating the devcontainer docmentation under "Set up development environment" and not specific to the building integration step
Good call! I didn't think of the other build types and that it might happen in one of the other build setups. Instead of a docs issue is this potentially a core/dev container issue?
When following the Building Integrations guide in VSC dev container, when running
python3 -m script.scaffold integration
and following the prompt, script.hassfest will run following the completion. If you don't first install the requirements, script.hassfest will fail withscript.hassfest ModuleNotFoundError: No module named 'numpy'
I'm guessing there should be instructions for running
pip install -r requirements_all.txt
(or one of the other requirements files. I'm not familiar enough to say which is appropriate.developers.home-assistant/docs/creating_component_index.md
Lines 5 to 9 in 6d6ec9d
The text was updated successfully, but these errors were encountered: