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:
Josh Nichols 2017-12-28 04:00:06 -05:00 committed by Fabian Affolter
parent 667924774f
commit dc7b3458b3

View File

@ -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.