31 lines
1.6 KiB
Markdown
31 lines
1.6 KiB
Markdown
|
## Features:
|
||
|
|
||
|
- works with any entity
|
||
|
- 6 available actions on **tap** and/or **hold** and/or **double click**: `none`, `toggle`, `more-info`, `navigate`, `url` and `call-service`
|
||
|
- support for action repeat while holding the button down
|
||
|
- state and label display (optional)
|
||
|
- custom color (optional), or based on light rgb value/temperature
|
||
|
- custom state definition with customizable color, icon and style (optional)
|
||
|
- [custom size of the icon, width and height](#Play-with-width-height-and-icon-size) (optional)
|
||
|
- [aspect ratio support](#aspect-ratio) (optional)
|
||
|
- Support for [templates](#templates) in some fields
|
||
|
- custom icon (optional)
|
||
|
- custom css style (optional)
|
||
|
- multiple [layout](#Layout) support and [custom layout](#advanced-styling-options) support
|
||
|
- units for sensors can be redefined or hidden
|
||
|
- 2 color types
|
||
|
- `icon` : apply color settings to the icon only
|
||
|
- `card` : apply color settings to the card only
|
||
|
- automatic font color if color_type is set to `card`
|
||
|
- blank card and label card (for organization)
|
||
|
- [blink](#blink) animation support
|
||
|
- rotating animation support
|
||
|
- confirmation popup for sensitive items (optional) or [locking mecanism](#lock)
|
||
|
- haptic support for the [Beta IOS App](http://home-assistant.io/ios/beta)
|
||
|
- support for [custom_updater](https://github.com/custom-components/custom_updater) and [hacs](https://github.com/custom-components/hacs)
|
||
|
|
||
|
### Example:
|
||
|
<img src="https://github.com/custom-cards/button-card/raw/master/examples/all.gif?raw=true" width="509px">
|
||
|
|
||
|
### See the <a href="https://github.com/custom-cards/button-card/blob/master/README.md" target="_blank">Readme for installation and configuration</a>.
|