Skip to content

Conversation

@barndawgie
Copy link
Contributor

A couple of minor fixes/changes that I made when building my first PR

@barndawgie barndawgie requested a review from RobertD502 as a code owner July 7, 2025 00:51
@RobertD502
Copy link
Owner

Out of curiosity, what is the use for the requirements file in this setting? Home Assistant uses the manifest.json file of a component to determine the requirements as opposed to a requirements file like your standard python package. Is this for users that run HA in a venv? Don't run HA myself in this manner so I'm open to learning any caveats that may apply for those users.

@barndawgie
Copy link
Contributor Author

Out of curiosity, what is the use for the requirements file in this setting? Home Assistant uses the manifest.json file of a component to determine the requirements as opposed to a requirements file like your standard python package. Is this for users that run HA in a venv? Don't run HA myself in this manner so I'm open to learning any caveats that may apply for those users.

Maybe it's the wrong pattern but it was for me! I tend to do a pip install -U -r requirements.txt when I start developing so I have the necessary packages. I'm not an experienced python dev though...

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

Successfully merging this pull request may close these issues.

2 participants