From f5faf3c82a98173751ebcb8e8db059c9a01ce760 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 21 Jun 2018 14:51:04 -0400 Subject: [PATCH] Add missing types --- docs/lovelace_card_types.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docs/lovelace_card_types.md b/docs/lovelace_card_types.md index 2b55e020..fbc2938b 100644 --- a/docs/lovelace_card_types.md +++ b/docs/lovelace_card_types.md @@ -26,6 +26,8 @@ These cards are WIP and things may change. | ---- | ---- | ------- | ----------- | type | string | **Required** | `entity-filter` | filter | object | **Required** | See filter description +| card_config | object | `None` | Extra options to pass down to the card rendering the result. +| card | string | `entities` | Card to use to render the result. Follows same rules as card type. Filter options: @@ -34,6 +36,14 @@ Filter options: | domain | string | **Optional** | Filter all entities that match the domain | state | string | **Optional** | Match entities that match state. Note, in YAML, make sure you wrap it in quotes to make sure it is parsed as a string. +## Entity picture + +| Name | Type | Default | Description +| ---- | ---- | ------- | ----------- +| type | string | **Required** | `entity-picture` +| image | string | **Required** | URL of an image. +| entity | string | **Required** | Entity id to control via picture. + ## Glance | Name | Type | Default | Description @@ -49,6 +59,14 @@ Filter options: | type | string | **Required** | `history-graph` | entity | string | **Required** | Entity id of `history_graph` domain +## Markdown + +| Name | Type | Default | Description +| ---- | ---- | ------- | ----------- +| type | string | **Required** | `markdown` +| content | string | **Required** | Content to render as [markdown](http://commonmark.org/help/). +| title | string | `None` | Card title + ## Media controler | Name | Type | Default | Description @@ -56,6 +74,15 @@ Filter options: | type | string | **Required** | `media-control` | entity | string | **Required** | Entity id of `media_player` domain +## Picture glance + +| Name | Type | Default | Description +| ---- | ---- | ------- | ----------- +| type | string | **Required** | `picture-glance` +| image | string | **Required** | URL of an image. +| entities | list | **Required** | Entity id's +| title | string | `None` | Card title + ## Plant info | Name | Type | Default | Description