From 67a7b19e120c05014cd2930986f6a7d11e391d3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Mon, 12 Aug 2019 14:22:14 +0200 Subject: [PATCH] Documentation for home-assistant/home-assistant-polymer#3451 (#10051) * Documentation for home-assistant/home-assistant-polymer#3451 * Add entity_ids and example for card_size. * :pencil2: Tweak --- source/_lovelace/markdown.markdown | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/source/_lovelace/markdown.markdown b/source/_lovelace/markdown.markdown index 63a8d298ca1..e9ef40c5b76 100644 --- a/source/_lovelace/markdown.markdown +++ b/source/_lovelace/markdown.markdown @@ -18,13 +18,23 @@ type: type: string content: required: true - description: "Content to render as [markdown](http://commonmark.org/help/)." + description: "Content to render as [markdown](http://commonmark.org/help/). May contain [templates](/configuration/templating/)." type: string title: required: false description: The card title. type: string default: none +card_size: + required: false + type: integer + default: none + description: The algorithm for placing cards aesthetically in lovelace may have problems with the markdown card if it contains templates. You can use this value to help it estimate the height of the card in units of 50 pixels (approximately 3 lines of text in default size). (e.g., `4`) +entity_id: + required: false + type: [string, list] + default: none + description: "A list of entity IDs so a template in `content:` only reacts to the state changes of these entities. This can be used if the automatic analysis fails to find all relevant entities." {% endconfiguration %} ## Example