mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 10:26:52 +00:00
Header Footer: Config Update (#12433)
This commit is contained in:
parent
5c9fee260d
commit
42f1816d28
@ -14,8 +14,9 @@ Screenshot of an entities card with a picture header and buttons footer.
|
|||||||
Widget to show a picture as a header or a footer. A picture can have touch actions associated with it.
|
Widget to show a picture as a header or a footer. A picture can have touch actions associated with it.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
type: picture
|
header:
|
||||||
image: 'https://www.home-assistant.io/images/lovelace/header-footer/balloons-header.png'
|
type: picture
|
||||||
|
image: 'https://www.home-assistant.io/images/lovelace/header-footer/balloons-header.png'
|
||||||
```
|
```
|
||||||
|
|
||||||
{% configuration header-footer %}
|
{% configuration header-footer %}
|
||||||
@ -46,13 +47,14 @@ double_tap_action:
|
|||||||
Widget to show entities as buttons in the header or footer.
|
Widget to show entities as buttons in the header or footer.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
type: buttons
|
footer:
|
||||||
entities:
|
type: buttons
|
||||||
- script.launch_confetti
|
entities:
|
||||||
- entity: script.swirl_lights
|
- script.launch_confetti
|
||||||
icon: 'mdi:track-light'
|
- entity: script.swirl_lights
|
||||||
- entity: script.run_siren
|
icon: 'mdi:track-light'
|
||||||
icon: 'mdi:alarm-light'
|
- entity: script.run_siren
|
||||||
|
icon: 'mdi:alarm-light'
|
||||||
```
|
```
|
||||||
|
|
||||||
{% configuration header-footer %}
|
{% configuration header-footer %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user