Submit your work
Submit your improvements, fixes, and new features to Home Assistant one at a time, using GitHub Pull Requests. Here are the steps:
-
From your fork’s dev branch, create a new branch to hold your changes:
git checkout -b some-feature
-
Make your changes, create a new platform, develop a new component, or fix issues.
-
Test your changes and check for style violations.
-
If everything looks good according to these musts, commit your changes:
git add .
git commit -m "Added some-feature"
- Consider adding tests to ensure that your code works.
-
Push your committed changes back to your fork on GitHub:
git push origin HEAD
-
Follow these steps to create your pull request.
-
Check for comments and suggestions on your pull request and keep an eye on the CI output.