mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Add formats and examples to "aspect_ratio" (#19261)
This commit is contained in:
parent
9518ab4fe4
commit
9e0ac02e63
@ -29,7 +29,7 @@ url:
|
||||
type: string
|
||||
aspect_ratio:
|
||||
required: false
|
||||
description: Height to width ratio.
|
||||
description: 'Forces the height of the image to be a ratio of the width. Valid formats: Height percentage value (`23%`) or ratio expressed with colon or "x" separator (`16:9` or `16x9`). For a ratio, the second element can be omitted and will default to "1" (`1.78` equals `1.78:1`).'
|
||||
type: string
|
||||
default: "50%"
|
||||
title:
|
||||
|
@ -33,7 +33,7 @@ title:
|
||||
type: string
|
||||
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`."
|
||||
description: 'Forces the height of the image to be a ratio of the width. Valid formats: Height percentage value (`23%`) or ratio expressed with colon or "x" separator (`16:9` or `16x9`). For a ratio, the second element can be omitted and will default to "1" (`1.78` equals `1.78:1`).'
|
||||
type: string
|
||||
default_zoom:
|
||||
required: false
|
||||
|
@ -361,7 +361,7 @@ state_filter:
|
||||
type: map
|
||||
aspect_ratio:
|
||||
required: false
|
||||
description: Height to width ratio.
|
||||
description: 'Forces the height of the image to be a ratio of the width. Valid formats: Height percentage value (`23%`) or ratio expressed with colon or "x" separator (`16:9` or `16x9`). For a ratio, the second element can be omitted and will default to "1" (`1.78` equals `1.78:1`).'
|
||||
type: string
|
||||
default: "50%"
|
||||
style:
|
||||
|
@ -44,7 +44,7 @@ state_filter:
|
||||
type: map
|
||||
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`."
|
||||
description: 'Forces the height of the image to be a ratio of the width. Valid formats: Height percentage value (`23%`) or ratio expressed with colon or "x" separator (`16:9` or `16x9`). For a ratio, the second element can be omitted and will default to "1" (`1.78` equals `1.78:1`).'
|
||||
type: string
|
||||
name:
|
||||
required: false
|
||||
|
@ -53,7 +53,7 @@ state_filter:
|
||||
type: map
|
||||
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`."
|
||||
description: 'Forces the height of the image to be a ratio of the width. Valid formats: Height percentage value (`23%`) or ratio expressed with colon or "x" separator (`16:9` or `16x9`). For a ratio, the second element can be omitted and will default to "1" (`1.78` equals `1.78:1`).'
|
||||
type: string
|
||||
entity:
|
||||
required: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user