mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Update and rename entity-button.markdown to button.markdown (#11895)
* Update and rename entity-button.markdown to button.markdown * Update _redirects
This commit is contained in:
parent
7bd56c81e0
commit
2ba8bd5b65
@ -1,25 +1,25 @@
|
|||||||
---
|
---
|
||||||
title: "Entity Button Card"
|
title: "Button Card"
|
||||||
sidebar_label: Entity Button
|
sidebar_label: Button
|
||||||
description: "The Entity Button card allows you to add buttons to perform tasks"
|
description: "The Button card allows you to add buttons to perform tasks"
|
||||||
---
|
---
|
||||||
|
|
||||||
The Entity Button card allows you to add buttons to perform tasks.
|
The Button card allows you to add buttons to perform tasks.
|
||||||
|
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
<img src='/images/lovelace/lovelace_entity_button_card.png' alt='Screenshot of the entity button card'>
|
<img src='/images/lovelace/lovelace_entity_button_card.png' alt='Screenshot of the button card'>
|
||||||
Screenshot of the Entity Button card.
|
Screenshot of the Button card.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
type: entity-button
|
type: button
|
||||||
entity: light.living_room
|
entity: light.living_room
|
||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
type:
|
type:
|
||||||
required: true
|
required: true
|
||||||
description: entity-button
|
description: button
|
||||||
type: string
|
type: string
|
||||||
entity:
|
entity:
|
||||||
required: true
|
required: true
|
||||||
@ -189,7 +189,7 @@ user:
|
|||||||
Title and Script Service Example:
|
Title and Script Service Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
type: entity-button
|
type: button
|
||||||
name: Turn Off Lights
|
name: Turn Off Lights
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
@ -200,6 +200,6 @@ entity: script.turn_off_lights
|
|||||||
```
|
```
|
||||||
|
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
<img src='/images/lovelace/lovelace_entity_button_complex_card.png' alt='Screenshot of the entity button card'>
|
<img src='/images/lovelace/lovelace_entity_button_complex_card.png' alt='Screenshot of the button card'>
|
||||||
Screenshot of the Entity Button card with Title and Script Service.
|
Screenshot of the Button card with Title and Script Service.
|
||||||
</p>
|
</p>
|
@ -2079,3 +2079,6 @@
|
|||||||
/addons/snips https://github.com/home-assistant/hassio-addons/blob/master/snips/README.md
|
/addons/snips https://github.com/home-assistant/hassio-addons/blob/master/snips/README.md
|
||||||
/addons/ssh https://github.com/home-assistant/hassio-addons/blob/master/ssh/README.md
|
/addons/ssh https://github.com/home-assistant/hassio-addons/blob/master/ssh/README.md
|
||||||
/addons/tellstick https://github.com/home-assistant/hassio-addons/blob/master/tellstick/README.md
|
/addons/tellstick https://github.com/home-assistant/hassio-addons/blob/master/tellstick/README.md
|
||||||
|
|
||||||
|
# Lovelace documentation
|
||||||
|
/lovelace/entity-button /lovelace/button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user