Update entities.markdown

This commit is contained in:
sjabby 2018-07-08 21:46:35 +02:00 committed by GitHub
parent f4e31fd156
commit 4224cf12cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,26 +9,45 @@ comments: false
sharing: true sharing: true
footer: true footer: true
--- ---
### Entities
Entities will be the most common type of card that will also be the most familiar to people using the standard interface. It groups items together very close to how groups used to do. Entities will be the most common type of card that will also be the most familiar to people using the standard interface. It groups items together very close to how groups used to do.
**Options** {% linkable_title Options %}
| Name | Type | Default | Description {% configuration %}
| ---- | ---- | ------- | ----------- type:
| type | string | **Required** | `entities` required: true
| entities | list | **Required** | Entity id's or an `entity` object (see structure below). description: entities
| title | string | Optional | Card title type: string
| show_header_toggle | boolean | true | Button to turn on/off all entities entities:
required: true
description: "Entity id's or an `entity` object (see structure below)."
type: list
title:
required: false
description: Card title
type: string
show_header_toggle:
required: false
description: Button to turn on/off all entities
type: boolean
default: true
{% endconfiguration %}
`entity` object `entity` object
| Name | Type | Default | Description {% configuration %}
| ---- | ---- | ------- | ----------- entity:
| entity | string | **Required** | An entity_id. Example: 'device_tracker.demo_paulus'. required: true
| name | string | **Required** | A new name for the entity_id description: "An entity_id. Example: 'device_tracker.demo_paulus'."
type: string
name:
required: true
description: A new name for the entity_id
type: string
{% endconfiguration %}
**Example** {% linkable_title Example %}
```yaml ```yaml
- type: entities - type: entities