home-assistant.io/source/developers/development_submitting.markdown

1.3 KiB

layout, title, description, date, sidebar, comments, sharing, footer
layout title description date sidebar comments sharing footer
page Submit your work Submit your work as Pull Request for Home Assistant. 2016-07-01 20:00 true false true true

Improvements, fixes, and new features to Home Assistant should be submitted one feature at a time using GitHub Pull Requests.

  1. From your fork, create a new branch to hold your changes git checkout -b some-feature
  2. Make the changes you want, create a new platform, develop a new component, or fix issues.
  3. Test your changes and check for style violations
  4. Commit the changes if all musts are covered. git add . git commit -m "Added some-feature"
  5. Consider to add tests to ensure that the code works.
  6. Push your committed changes back to your fork on GitHub git push origin HEAD
  7. Follow these steps to create your pull request.
  8. Check for comments and suggestions on your Pull Request and keep an eye on the CI output.