mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Try to clarify acceptable component names in a package (#4284)
I read this a few times, and thought the original language was confusing, or at least a little ambiguous. Hopefully this helps a little?
This commit is contained in:
parent
667924774f
commit
dc7b3458b3
@ -63,7 +63,7 @@ light:
|
|||||||
|
|
||||||
There are some rules for packages that will be merged:
|
There are some rules for packages that will be merged:
|
||||||
|
|
||||||
1. Component names may only use the basic form (e.g. `switch` and `switch 1` or `switch aa` is not accepted).
|
1. Component names may only use the basic form (e.g. `switch`, but not `switch 1` or `switch aa`).
|
||||||
2. Platform based components (`light`, `switch`, etc) can always be merged.
|
2. Platform based components (`light`, `switch`, etc) can always be merged.
|
||||||
3. Components where entities are identified by a key that will represent the entity_id (`{key: config}`) need to have unique 'keys' between packages and the main configuration file.
|
3. Components where entities are identified by a key that will represent the entity_id (`{key: config}`) need to have unique 'keys' between packages and the main configuration file.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user