Description
button-card is a Lovelace custom card for Home Assistant that turns any entity into a highly configurable button. It offers six actions on tap, hold or double click, including toggle, more-info, navigate, URL, assist and call-service, and a separate icon tap action that takes precedence over the card's main actions. Momentary press and release actions are supported, along with custom actions for JavaScript, multiple actions and toast messages. You can show the state, set colours from a custom state definition or from a light's RGB value or colour temperature, and change the size, width, height and aspect ratio of the icon. Templates support JavaScript, and you can add custom icons, custom CSS and multiple layouts. The card is listed as a default repository in HACS, the community store for Home Assistant, and the project publishes stable and development documentation. It is maintained on GitHub under the custom-cards organisation, and the Home Assistant community forum has a thread for it.…
Highlights
- Configurable button card for any Home Assistant entity
- Tap, hold and double-click actions
- Separate icon tap action
- JavaScript templates, custom CSS and layouts
- Installed through HACS
Ratings & Reviews
No ratings yet
Be the first to rate Button Card.
People also visit
Button Card FAQ
What is button-card?
A Lovelace custom card for Home Assistant that gives any entity a configurable button.
How do I install it?
Through HACS, the community store for Home Assistant, where it is listed as a default repository.
Which actions can it run?
On tap, hold or double click: none, toggle, more-info, navigate, url, assist and call-service, plus custom javascript, multi-actions and toast actions.
Does it support templates?
Yes. The card supports JavaScript templates.
Where can I get help?
The Home Assistant community forum thread for the card, and the Home Assistant Discord.
Is it free?
The listing shows it as free, and the source is public on GitHub.
What are the best Button Card alternatives?
Popular alternatives to Button Card include Energy Flow Card Plus, Lovelace Hue Like Light Card and Mini Graph Card. See all Button Card alternatives
