Added aspect_ratio documentation (#6301)

This commit is contained in:
randellhodges 2018-09-17 14:16:40 -05:00 committed by Fabian Affolter
parent 18fa8c3a48
commit 0f1cdee7b0
2 changed files with 8 additions and 0 deletions

View File

@ -38,6 +38,10 @@ state_image:
required: false
description: "Map entity states to images (`state: image URL`, check the example below)."
type: object
aspect_ratio:
required: false
description: "Forces the height of the image to be a ratio of the width. You may enter a value such as: `16x9`, `16:9`, `1.78`."
type: string
name:
required: false
description: Overwrite entity name.

View File

@ -51,6 +51,10 @@ state_image:
type: string
required: false
description: "`state: image-url`, check the example below."
aspect_ratio:
required: false
description: "Forces the height of the image to be a ratio of the width. You may enter a value such as: `16x9`, `16:9`, `1.78`."
type: string
entity:
required: false
description: Entity to use for `state_image`.