diff --git a/docs/creating_component_index.md b/docs/creating_component_index.md index 10ddce6b..9b44ec9c 100644 --- a/docs/creating_component_index.md +++ b/docs/creating_component_index.md @@ -35,4 +35,4 @@ async def async_setup(hass, config): That's it! If you load this, you will see a new state in the state machine. -To load this, add `hello_state:` to your `configuration.yaml` file and create a file `/custom_components/hello_state/__init__.py` with the below code to test it locally. +To load this, add `hello_state:` to your `configuration.yaml` file and create a file `/custom_components/hello_state/__init__.py` with one of the two codeblocks above to test it locally.