diff --git a/atom.xml b/atom.xml index 4c5604e920..beac3b6b06 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2014-12-26T22:48:33-08:00 + 2014-12-30T00:08:56-08:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index e37ccedb7d..2fd217e0fb 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: website | Home Assistant]]> - 2014-12-26T22:48:33-08:00 + 2014-12-30T00:08:56-08:00 https://home-assistant.io/ diff --git a/developers/frontend.html b/developers/frontend.html index 88c1f96a39..b9a95a40c1 100644 --- a/developers/frontend.html +++ b/developers/frontend.html @@ -127,15 +127,15 @@ Do not use development mode in production. Home Assistant uses aggresive caching

After that you can run ./build_frontend from the project directory. This will take all the used webcomponents and ‘vulcanize’ it into a single file to be served by Home Assistant. The script also updates homeassistant/components/http/frontend.py with an MD5 hash of the frontend.

-

Adding new state cards

+

Adding state cards

The main interface of Home Assistant is a list of current states in the State Machine. It will filter out the group states and offers options to filter by groups on the top.

Currently there are two supported card types:

@@ -143,8 +143,27 @@ Do not use development mode in production. Home Assistant uses aggresive caching
  1. Adjust the cardType property of the State class in home-assistant-api.html to return your new card type when appropriate.
  2. -
  3. Create a new component following the naming convention state-card-CARDTYPE.html.
  4. -
  5. Import your new component and add a template for it in states-cards.html.
  6. +
  7. Create a new component following the naming convention state-card-CARDTYPE.html in /cards/.
  8. +
  9. Import your new component and add a template for it in /cards/state-card-content.html.
  10. +
+ + +

More info screens for custom types

+ +

When you click on a card, the more info dialog will open for that card. This will allow you to see more information and more options to control that entity.

+ +

+ + The more info dialog for a light allows us to control the color and the brightness. +

+ + +

To add your own more info dialog, follow the following steps:

+ +
    +
  1. Adjust the moreInfoType property of the State class in home-assistant-api.html to return your new more info type when appropriate.
  2. +
  3. Create a new component following the naming convention more-info-CARDTYPE.html in /more-infos/.
  4. +
  5. Import your new component and add a template for it in /more-infos/more-info-content.html.
diff --git a/images/screenshots/more-info-dialog-light.png b/images/screenshots/more-info-dialog-light.png new file mode 100644 index 0000000000..ace8f6a75d Binary files /dev/null and b/images/screenshots/more-info-dialog-light.png differ diff --git a/sitemap.xml b/sitemap.xml index 4237e8a729..c96a97aeb0 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -12,67 +12,67 @@ https://home-assistant.io/developers/add_new_platform.html - 2014-12-26T22:48:33-08:00 + 2014-12-30T00:08:56-08:00 weekly 0.7 https://home-assistant.io/developers/api.html - 2014-12-26T22:48:33-08:00 + 2014-12-30T00:08:56-08:00 weekly 0.7 https://home-assistant.io/developers/architecture.html - 2014-12-26T22:48:33-08:00 + 2014-12-30T00:08:56-08:00 weekly 0.7 https://home-assistant.io/developers/creating_components.html - 2014-12-26T22:48:33-08:00 + 2014-12-30T00:08:56-08:00 weekly 0.7 https://home-assistant.io/developers/frontend.html - 2014-12-26T22:48:33-08:00 + 2014-12-30T00:08:56-08:00 weekly 0.7 https://home-assistant.io/blog/ - 2014-12-26T22:48:33-08:00 + 2014-12-30T00:08:56-08:00 weekly 0.7 https://home-assistant.io/blog/archives/ - 2014-12-26T22:48:33-08:00 + 2014-12-30T00:08:56-08:00 weekly 0.7 https://home-assistant.io/ - 2014-12-26T22:48:33-08:00 + 2014-12-30T00:08:56-08:00 weekly 1.0 https://home-assistant.io/components/ - 2014-12-26T22:48:33-08:00 + 2014-12-30T00:08:56-08:00 weekly 0.7 https://home-assistant.io/getting-started/ - 2014-12-26T22:48:33-08:00 + 2014-12-30T00:08:56-08:00 weekly 0.7 https://home-assistant.io/developers/ - 2014-12-26T22:48:33-08:00 + 2014-12-30T00:08:56-08:00 weekly 0.7