Update creating_component_index.md (#256)

The code blocks are above and not below the text
This commit is contained in:
almostserious 2019-05-16 17:43:15 +02:00 committed by Paulus Schoutsen
parent cddbd976ac
commit 21f3c13df4

View File

@ -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 `<config_dir>/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 `<config_dir>/custom_components/hello_state/__init__.py` with one of the two codeblocks above to test it locally.