Extract developer site (#5249)

* Extract developer site

* Fix title in sidebar

* Update dev section reference

* Update edit in github link on help page
This commit is contained in:
Paulus Schoutsen
2018-04-26 11:14:55 -04:00
committed by GitHub
parent a83fd1d874
commit 80b268cd65
75 changed files with 282 additions and 4166 deletions

View File

@@ -9,19 +9,6 @@ sharing: true
footer: true
---
Alright, you're ready to make your first component. AWESOME. Don't worry, we've tried hard to keep it as easy as possible.
### {% linkable_title Example component %}
Add `hello_state:` to your `configuration.yaml` file and create a file `<config_dir>/custom_components/hello_state.py` with the below code to test it locally.
```python
DOMAIN = 'hello_state'
def setup(hass, config):
hass.states.set('hello.world', 'Paulus')
return True
```
For more examples, see the [Custom Python Component Examples](/cookbook/#custom-python-component-examples) on our examples page.
<script>
window.location = 'https://developers.home-assistant.io/docs/en/creating_component_index.html';
</script>