Small tweaks to header/footer for cards (#16174)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Philip Allgaier 2021-01-15 19:34:30 +01:00 committed by GitHub
parent 4f98d327a0
commit 9343d9d50c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ type:
type: string type: string
image: image:
required: true required: true
description: The URL of an image. description: The URL of an image
type: string type: string
tap_action: tap_action:
required: false required: false
@ -65,15 +65,15 @@ entities:
keys: keys:
entity: entity:
required: true required: true
description: The entity to render. description: The entity to render
type: string type: string
icon: icon:
required: false required: false
description: Override the entity icon. description: Override the entity icon
type: string type: string
image: image:
required: false required: false
description: Override the entity image. description: Override the entity image
type: string type: string
name: name:
required: false required: false
@ -100,11 +100,11 @@ footer:
{% configuration header-footer %} {% configuration header-footer %}
entity: entity:
required: true required: true
description: Entity id of `sensor` domain description: Entity ID of `sensor` domain
type: string type: string
detail: detail:
required: false required: false
description: Detail of the graph `1` or `2`, `1` equals one point/hour, `2` equals six points/hour description: "Detail level of the graph: `1` or `2` (`1` = one point/hour, `2` = six points/hour)"
type: integer type: integer
default: 1 default: 1
hours_to_show: hours_to_show: