Merge pull request #5698 from sjabby/patch-6

Update Lovelace docs
This commit is contained in:
DubhAd 2018-07-08 21:05:02 +01:00 committed by GitHub
commit bd6d853647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,6 @@ sharing: true
footer: true footer: true
--- ---
### Glance
Glance cards are a very compact. Very useful to group together multiple sensors for a quick and easy to use view. Keep in mind that this can be used together with [entity-filter](/lovelace/entity-filter/) cards to create dynamic cards. Glance cards are a very compact. Very useful to group together multiple sensors for a quick and easy to use view. Keep in mind that this can be used together with [entity-filter](/lovelace/entity-filter/) cards to create dynamic cards.
<p class='img'> <p class='img'>
@ -19,22 +17,38 @@ Glance cards are a very compact. Very useful to group together multiple sensors
Screenshot of the glance card. Screenshot of the glance card.
</p> </p>
**Options** {% linkable_title Options %}
| Name | Type | Default | Description {% configuration %}
| ---- | ---- | ------- | ----------- type:
| type | string | **Required** | `glance` required: true
| entities | list | **Required** | Entity id's or an `entity` object (see structure below). description: glance
| title | string | Optional | Card title type: string
entities:
required: true
description: "Entity id's or an `entity` object (see structure below)."
type: list
title:
required: false
description: Card title
type: string
default: none
{% endconfiguration %}
`entity` object type `entity` object type
| 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 %}
**Examples** {% linkable_title Examples %}
Basic example Basic example