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.

* ✏️ Tweak
This commit is contained in:
Thomas Lovén 2019-08-12 14:22:14 +02:00 committed by Franck Nijhof
parent 51c6252a7c
commit 67a7b19e12

View File

@ -18,13 +18,23 @@ type:
type: string type: string
content: content:
required: true 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 type: string
title: title:
required: false required: false
description: The card title. description: The card title.
type: string type: string
default: none 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 %} {% endconfiguration %}
## Example ## Example