From 21f3c13df43e47c60ddca24c6a76257831d7e71d Mon Sep 17 00:00:00 2001 From: almostserious Date: Thu, 16 May 2019 17:43:15 +0200 Subject: [PATCH] Update creating_component_index.md (#256) The code blocks are above and not below the text --- docs/creating_component_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.