Skip to content

Commit

Permalink
Update and rename entity-button.markdown to button.markdown (home-ass…
Browse files Browse the repository at this point in the history
…istant#11895)

* Update and rename entity-button.markdown to button.markdown

* Update _redirects
  • Loading branch information
iantrich authored Feb 17, 2020
1 parent 7bd56c8 commit 2ba8bd5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
---
title: "Entity Button Card"
sidebar_label: Entity Button
description: "The Entity Button card allows you to add buttons to perform tasks"
title: "Button Card"
sidebar_label: Button
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'>
<img src='/images/lovelace/lovelace_entity_button_card.png' alt='Screenshot of the entity button card'>
Screenshot of the Entity Button card.
<img src='/images/lovelace/lovelace_entity_button_card.png' alt='Screenshot of the button card'>
Screenshot of the Button card.
</p>

```yaml
type: entity-button
type: button
entity: light.living_room
```
{% configuration %}
type:
required: true
description: entity-button
description: button
type: string
entity:
required: true
Expand Down Expand Up @@ -189,7 +189,7 @@ user:
Title and Script Service Example:

```yaml
type: entity-button
type: button
name: Turn Off Lights
tap_action:
action: call-service
Expand All @@ -200,6 +200,6 @@ entity: script.turn_off_lights
```

<p class='img'>
<img src='/images/lovelace/lovelace_entity_button_complex_card.png' alt='Screenshot of the entity button card'>
Screenshot of the Entity Button card with Title and Script Service.
<img src='/images/lovelace/lovelace_entity_button_complex_card.png' alt='Screenshot of the button card'>
Screenshot of the Button card with Title and Script Service.
</p>
3 changes: 3 additions & 0 deletions source/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -2079,3 +2079,6 @@
/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/tellstick https://github.com/home-assistant/hassio-addons/blob/master/tellstick/README.md

# Lovelace documentation
/lovelace/entity-button /lovelace/button

0 comments on commit 2ba8bd5

Please sign in to comment.