From d2f2eeeb81720f4134ba899077c7713942550039 Mon Sep 17 00:00:00 2001 From: sjabby Date: Sun, 8 Jul 2018 21:49:02 +0200 Subject: [PATCH] Update glance.markdown Minor cleanup and fixing typos Changed all config sections to use {% configuration %} tag. --- source/_lovelace/glance.markdown | 40 +++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/source/_lovelace/glance.markdown b/source/_lovelace/glance.markdown index 6eb2f492f2f..eb90fdbd7ca 100644 --- a/source/_lovelace/glance.markdown +++ b/source/_lovelace/glance.markdown @@ -10,8 +10,6 @@ sharing: 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.

@@ -19,22 +17,38 @@ Glance cards are a very compact. Very useful to group together multiple sensors Screenshot of the glance card.

-**Options** +{% linkable_title Options %} -| Name | Type | Default | Description -| ---- | ---- | ------- | ----------- -| type | string | **Required** | `glance` -| entities | list | **Required** | Entity id's or an `entity` object (see structure below). -| title | string | Optional | Card title +{% configuration %} +type: + required: true + description: glance + 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 -| Name | Type | Default | Description -| ---- | ---- | ------- | ----------- -| entity | string | **Required** | An entity_id. Example: 'device_tracker.demo_paulus'. -| name | string | **Required** | A new name for the entity_id +{% configuration %} +entity: + required: true + 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