Site updated at 2015-01-02 06:19:57 UTC
This commit is contained in:
parent
a1800500a2
commit
e49536f95f
7 changed files with 82 additions and 32 deletions
|
@ -144,7 +144,7 @@ Do not use development mode in production. Home Assistant uses aggresive caching
|
|||
<ol>
|
||||
<li>Adjust the cardType property of the State class in <a href="https://github.com/balloob/home-assistant/blob/master/homeassistant/components/http/www_static/polymer/home-assistant-api.html">home-assistant-api.html</a> to return your new card type when appropriate.</li>
|
||||
<li>Create a new component following the naming convention state-card-CARDTYPE.html in <a href="https://github.com/balloob/home-assistant/blob/master/homeassistant/components/http/www_static/polymer/cards/">/cards/</a>.</li>
|
||||
<li>Import your new component and add a template for it in <a href="https://github.com/balloob/home-assistant/blob/master/homeassistant/components/http/www_static/polymer/cards/state-card-content.html">/cards/state-card-content.html</a>.</li>
|
||||
<li>Import your new component in <a href="https://github.com/balloob/home-assistant/blob/master/homeassistant/components/http/www_static/polymer/cards/state-card-content.html">/cards/state-card-content.html</a>.</li>
|
||||
</ol>
|
||||
|
||||
|
||||
|
@ -163,7 +163,7 @@ Do not use development mode in production. Home Assistant uses aggresive caching
|
|||
<ol>
|
||||
<li>Adjust the moreInfoType property of the State class in <a href="https://github.com/balloob/home-assistant/blob/master/homeassistant/components/http/www_static/polymer/home-assistant-api.html">home-assistant-api.html</a> to return your new more info type when appropriate.</li>
|
||||
<li>Create a new component following the naming convention more-info-CARDTYPE.html in <a href="https://github.com/balloob/home-assistant/blob/master/homeassistant/components/http/www_static/polymer/more-infos/">/more-infos/</a>.</li>
|
||||
<li>Import your new component and add a template for it in <a href="https://github.com/balloob/home-assistant/blob/master/homeassistant/components/http/www_static/polymer/more-infos/more-info-content.html">/more-infos/more-info-content.html</a>.</li>
|
||||
<li>Import your new component in <a href="https://github.com/balloob/home-assistant/blob/master/homeassistant/components/http/www_static/polymer/more-infos/more-info-content.html">/more-infos/more-info-content.html</a>.</li>
|
||||
</ol>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue