Site updated at 2015-04-03 05:44:19 UTC
This commit is contained in:
parent
995b54cad1
commit
a535e95231
19 changed files with 78 additions and 78 deletions
|
@ -104,7 +104,7 @@
|
|||
|
||||
|
||||
<p>Home Assistant offers <a href="/components/">built-in components</a> but it
|
||||
is easy to built your own. If you are the kind of person that likes to learn from code rather then guide then head over to the <a href="https://github.com/balloob/home-assistant/tree/master/config/custom_components"><code>config/custom_compnents</code></a> folder in the repository for two example components.</p>
|
||||
is easy to built your own. If you are the kind of person that likes to learn from code rather then guide then head over to the <a href="https://github.com/balloob/home-assistant/tree/master/config/custom_components"><code>config/custom_components</code></a> folder in the repository for two example components.</p>
|
||||
|
||||
<p>The first is <a href="https://github.com/balloob/home-assistant/blob/master/config/custom_components/hello_world.py">hello_world.py</a>, which is the classic Hello World example for Home Assistant. The second one is <a href="https://github.com/balloob/home-assistant/blob/master/config/custom_components/example.py">example.py</a> which showcases various ways you can tap into Home Assistant to be notified when certain events occur.</p>
|
||||
|
||||
|
@ -200,7 +200,7 @@ Home Assistant will use the directory that contains your config file as the dire
|
|||
|
||||
<h3><a class='title-link' name='example-on-using-the-configuration-parameter' href='#example-on-using-the-configuration-parameter'></a> Example on using the configuration parameter</h3>
|
||||
|
||||
<p>If your configuration file containes the following lines:</p>
|
||||
<p>If your configuration file contains the following lines:</p>
|
||||
|
||||
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||
<span class='line-number'>2</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue