diff --git a/docs/creating_component_index.md b/docs/creating_component_index.md index 3696a234c68..859d94e0961 100644 --- a/docs/creating_component_index.md +++ b/docs/creating_component_index.md @@ -16,7 +16,7 @@ This example repository shows custom integrations that live in the ` ## The minimum -The scaffold integration contains a bit more than just the bare minimum. The minimum is that you define a `DOMAIN` constant that contains the domain of the integration. The second part is that it needs to define a setup method that returns a boolean if the set-up was successful. +The scaffold integration contains a bit more than just the bare minimum. The minimum is that you define a `DOMAIN` constant (which can consist of alphabetic and the underscore characters, the hyphen is not allowed) that contains the domain of the integration. The second part is that it needs to define a setup method that returns a boolean if the set-up was successful. Create a file `homeassistant/components/hello_state/__init__.py` with one of the two following codeblocks, depending on what you need: