mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-12 03:46:28 +00:00
Update creating_component_index.md (#256)
The code blocks are above and not below the text
This commit is contained in:
parent
cddbd976ac
commit
21f3c13df4
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user