mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-08 18:06:29 +00:00
Love UI: Add entity_id filter (#37)
* Love UI: Add entity_id filter ...and some minor changes * Update lovelace_card_types.md * Update lovelace_card_types.md
This commit is contained in:
parent
f5faf3c82a
commit
c819a08d3f
@ -18,14 +18,14 @@ These cards are WIP and things may change.
|
|||||||
| ---- | ---- | ------- | -----------
|
| ---- | ---- | ------- | -----------
|
||||||
| type | string | **Required** | `entities`
|
| type | string | **Required** | `entities`
|
||||||
| entities | list | **Required** | Entity id's
|
| entities | list | **Required** | Entity id's
|
||||||
| title | string | `None` | Card title
|
| title | string | Optional | Card title
|
||||||
|
|
||||||
## Entity filter
|
## Entity filter
|
||||||
|
|
||||||
| Name | Type | Default | Description
|
| Name | Type | Default | Description
|
||||||
| ---- | ---- | ------- | -----------
|
| ---- | ---- | ------- | -----------
|
||||||
| type | string | **Required** | `entity-filter`
|
| type | string | **Required** | `entity-filter`
|
||||||
| filter | object | **Required** | See filter description
|
| filter | list | **Required** | See filter description
|
||||||
| card_config | object | `None` | Extra options to pass down to the card rendering the result.
|
| 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.
|
| card | string | `entities` | Card to use to render the result. Follows same rules as card type.
|
||||||
|
|
||||||
@ -33,8 +33,9 @@ Filter options:
|
|||||||
|
|
||||||
| Name | Type | Default | Description
|
| Name | Type | Default | Description
|
||||||
| ---- | ---- | ------- | -----------
|
| ---- | ---- | ------- | -----------
|
||||||
| domain | string | **Optional** | Filter all entities that match the domain
|
| 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.
|
| 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_id | string | Optional | Filter entities by id, supports wildcards (`*living_room*`)
|
||||||
|
|
||||||
## Entity picture
|
## Entity picture
|
||||||
|
|
||||||
@ -50,7 +51,7 @@ Filter options:
|
|||||||
| ---- | ---- | ------- | -----------
|
| ---- | ---- | ------- | -----------
|
||||||
| type | string | **Required** | `glance`
|
| type | string | **Required** | `glance`
|
||||||
| entities | list | **Required** | Entity id's
|
| entities | list | **Required** | Entity id's
|
||||||
| title | string | `None` | Card title
|
| title | string | Optional | Card title
|
||||||
|
|
||||||
## History graph
|
## History graph
|
||||||
|
|
||||||
@ -65,9 +66,9 @@ Filter options:
|
|||||||
| ---- | ---- | ------- | -----------
|
| ---- | ---- | ------- | -----------
|
||||||
| type | string | **Required** | `markdown`
|
| type | string | **Required** | `markdown`
|
||||||
| content | string | **Required** | Content to render as [markdown](http://commonmark.org/help/).
|
| content | string | **Required** | Content to render as [markdown](http://commonmark.org/help/).
|
||||||
| title | string | `None` | Card title
|
| title | string | Optional | Card title
|
||||||
|
|
||||||
## Media controler
|
## Media controller
|
||||||
|
|
||||||
| Name | Type | Default | Description
|
| Name | Type | Default | Description
|
||||||
| ---- | ---- | ------- | -----------
|
| ---- | ---- | ------- | -----------
|
||||||
@ -81,7 +82,7 @@ Filter options:
|
|||||||
| type | string | **Required** | `picture-glance`
|
| type | string | **Required** | `picture-glance`
|
||||||
| image | string | **Required** | URL of an image.
|
| image | string | **Required** | URL of an image.
|
||||||
| entities | list | **Required** | Entity id's
|
| entities | list | **Required** | Entity id's
|
||||||
| title | string | `None` | Card title
|
| title | string | Optional | Card title
|
||||||
|
|
||||||
## Plant info
|
## Plant info
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user