mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-08 18:06:54 +00:00
New configuration items for picture-elements card (#7681)
* New configuration items for picture-elements card * image is no longer required
This commit is contained in:
parent
2164a64949
commit
53553634e3
@ -25,9 +25,30 @@ type:
|
||||
description: picture-elements
|
||||
type: string
|
||||
image:
|
||||
required: true
|
||||
required: false
|
||||
description: The URL of an image.
|
||||
type: string
|
||||
camera_image:
|
||||
required: false
|
||||
description: Camera entity as Background image.
|
||||
type: string
|
||||
state_image:
|
||||
required: false
|
||||
description: Background image based on entity state.
|
||||
type: object
|
||||
keys:
|
||||
state:
|
||||
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`.
|
||||
type: string
|
||||
elements:
|
||||
required: true
|
||||
description: List of elements
|
||||
|
Loading…
x
Reference in New Issue
Block a user