mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-13 20:36:29 +00:00
Add note about naming events for components (#153)
* Add note about naming events for components * Minor changes
This commit is contained in:
parent
99fb252b4a
commit
1d237ac1a9
@ -49,3 +49,6 @@ status = bridge.status()
|
||||
|
||||
### 5. Limit platforms included in initial pull request
|
||||
Large pull requests mean there is a larger chance of finding problems that need to be addressed, and more code that needs to be reviewed between every requested change. If your new component will have multiple platforms, try and limit your initial pull request to a single platform. Once the initial component is merged, you can submit additional PRs for the remaining platforms. This allows reviewers to sign off on smaller chunks of code one at a time, and lets us get your new feature in sooner. Pull requests containing large code dumps will not be a priority for review.
|
||||
|
||||
### 6. Event names
|
||||
Prefix component event names with component name itself. For example, use `xiaomi_aqara.click` instead of `click` for the `xiaomi_aqara` component.
|
||||
|
Loading…
x
Reference in New Issue
Block a user