From a95ea42dc96987d6767e5dc898fd221c67c140e9 Mon Sep 17 00:00:00 2001 From: c727 Date: Sun, 15 Jul 2018 15:39:37 +0200 Subject: [PATCH] Lovelace: correct glance config (#5758) * Lovelace: correct glance config * Add section for entity options --- source/_lovelace/glance.markdown | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/source/_lovelace/glance.markdown b/source/_lovelace/glance.markdown index 45e311d9fa5..60cf0c469e5 100644 --- a/source/_lovelace/glance.markdown +++ b/source/_lovelace/glance.markdown @@ -24,13 +24,27 @@ type: type: string entities: required: true - description: "A list of entity IDs or an `entity` object." + description: "A list of entity IDs or `entity` objects, see below." type: list title: required: false description: Card title type: string - default: none +{% endconfiguration %} + +## {% linkable_title Options For Entities %} + +If you define entities as objects instead of strings, you can add more customization and configuration: + +{% configuration %} +entity: + required: true + description: Home Assistant entity ID. + type: string +name: + required: false + description: Overwrites friendly name. + type: string {% endconfiguration %} ## {% linkable_title Examples %}