Thank you for investing your time in contributing to our project! Any contribution you make could be reflected on the final solution and make lots of other users happy. ✨.
Please read GitHub/docs Code of Conduct to keep our community approachable and respectable.
In this guide you will get an overview of the contribution workflow from opening an issue, creating a PR, reviewing, and merging the PR.
To get an overview of the project, read the README and play around the Wiki pages.
Here are some resources to help you get started with open source contributions:
If you spot a problem with the blueprint, the ESPHome or the visualization in the screen, search if an issue already exists. If a related issue doesn't exist, please open a new one.
Scan through our existing issues to find one that interests you. As a general rule, we don’t assign issues to anyone. If you find an issue to work on, you are welcome to open a PR with a fix.
-
Fork the repository.
-
Create a working branch based on the
dev
branch and start with your changes!
- When proposing a change, think about all users. Some thinks to remember:
- Support both EU and US models
- Support to translations (add new strings in English to all languages if needed, but let us know in your comments, so we can ask the community to help with the translations)
- Avoid breaking changes (anything changing the current behaviour) and document when you cannot avoid it. Let us know, so we can add to the release notes.
Commit the changes once you are happy with them. Don't forget to self review to speed up the review process:zap:.
After a commit, GitHub will run the validation actions, which could take a while. Please take a look at Actions tab and follow the test results. If any test fails, please click on the action instance to open it's details, take a look at the report and fix the issues.
When you're finished with the changes, create a pull request, also known as a PR.
- Make sure your pull request is using the
dev
branch as the base branch. PRs to themain
branch will be rejected. - Provide detailed information about what you are trying to change, why you want to change that, any breaking change, translations needed, etc.
- Don't forget to link PR to issue if you are solving one.
- Enable the checkbox to allow maintainer edits so the branch can be updated for a merge. Once you submit your PR, a team member will review your proposal. We may ask questions or request additional information.
- We may ask for changes to be made before a PR can be merged, either using suggested changes or pull request comments. You can apply suggested changes directly through the UI. You can make any other changes in your fork, then commit them to your branch.
- As you update your PR and apply changes, mark each conversation as resolved.
- If you run into any merge issues, checkout this git tutorial to help you resolve merge conflicts and other issues.
Congratulations 🎉🎉 The community thanks you ✨.
Once your PR is merged, your contributions will be publicly visible.
And welcome to the Lovelace Horizon Card contributors community!