mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 04:46:49 +00:00
Added aspect_ratio documentation (#6301)
This commit is contained in:
parent
18fa8c3a48
commit
0f1cdee7b0
@ -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.
|
||||
|
@ -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`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user