mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Update code_review_component.markdown (#1793)
This commit is contained in:
parent
32f8d0db14
commit
3a4c5b7cd0
@ -27,7 +27,7 @@ REQUIREMENTS = [
|
|||||||
|
|
||||||
### {% linkable_title Configuration %}
|
### {% linkable_title Configuration %}
|
||||||
|
|
||||||
1. Volutpuous schema present for config validation
|
1. Voluptuous schema present for config validation
|
||||||
2. Default parameters specified in voluptuous schema, not in `setup_platform(…)`
|
2. Default parameters specified in voluptuous schema, not in `setup_platform(…)`
|
||||||
3. Schema using as many generic config keys as possible from `homeassistant.const`
|
3. Schema using as many generic config keys as possible from `homeassistant.const`
|
||||||
4. If having platforms, have a `PLATFORM_SCHEMA`, otherwise `CONFIG_SCHEMA`.
|
4. If having platforms, have a `PLATFORM_SCHEMA`, otherwise `CONFIG_SCHEMA`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user