mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
commit
fee947450f
@ -10,8 +10,6 @@ sharing: true
|
|||||||
footer: true
|
footer: true
|
||||||
---
|
---
|
||||||
|
|
||||||
### Picture
|
|
||||||
|
|
||||||
A very simple card that allows you to set an image to use for navigation to various paths in your interface or to call a service.
|
A very simple card that allows you to set an image to use for navigation to various paths in your interface or to call a service.
|
||||||
|
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
@ -19,24 +17,45 @@ A very simple card that allows you to set an image to use for navigation to vari
|
|||||||
Screenshot of the picture card.
|
Screenshot of the picture card.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
**Options**
|
{% linkable_title Options %}
|
||||||
|
|
||||||
| Name | Type | Default | Description
|
{% configuration %}
|
||||||
| ---- | ---- | ------- | -----------
|
type:
|
||||||
| type | string | **Required** | `picture`
|
required: true
|
||||||
| image | string | **Required**| URL of an image.
|
description: picture
|
||||||
| navigation_path | string | Optional | Path of URL to navigate to
|
type: string
|
||||||
| service | string | Optional | `light.toggle`
|
image:
|
||||||
| service_data | object | optional | See service_data object
|
required: true
|
||||||
|
description: URL of an image
|
||||||
|
type: string
|
||||||
|
navigation_path:
|
||||||
|
required: false
|
||||||
|
description: Path of URL to navigate to
|
||||||
|
type: string
|
||||||
|
default: None
|
||||||
|
service:
|
||||||
|
required: false
|
||||||
|
description: "`light.toggle`"
|
||||||
|
type: string
|
||||||
|
default: None
|
||||||
|
service_data:
|
||||||
|
required: false
|
||||||
|
description: See service_data object
|
||||||
|
type: object
|
||||||
|
default: None
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
`service_data` object structure
|
`service_data` object structure
|
||||||
|
|
||||||
| Name | Type | Default | Description
|
{% configuration %}
|
||||||
| ---- | ---- | ------- | -----------
|
entity_id:
|
||||||
| entity_id | string | **Required** | 'light.floor'
|
required: true
|
||||||
|
description: light.floor
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
|
|
||||||
**Examples**
|
{% linkable_title Examples %}
|
||||||
|
|
||||||
Basic navigation example:
|
Basic navigation example:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user