Lovelace: correct glance config (#5758)

* Lovelace: correct glance config

* Add section for entity options
This commit is contained in:
c727 2018-07-15 15:39:37 +02:00 committed by GitHub
parent 83a7794936
commit a95ea42dc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 %}