Releases: custom-cards/button-card
Releases · custom-cards/button-card
Remove remote dependency + fix lovelace ui editor
0.0.5
Remove remote dependency + fix lovelace ui editor
New features :
- Update button-card to make use of LitElement embedded in home-assistant. Credit to bramkragten for suggesting a solution for this.
- Fix bug that was preventing users from editing their ui in the lovelace gui editor #45 by bramkragten
Fix CDN and add Change icon based on state
0.0.4
Fix CDN and add Change icon based on state
New features :
- Update lit-element cdn url to a non broken one #44 by IIIdefconIII
- Change icon based on state #42 by nicop4
Custom state, label card and icon attribute
0.0.3
Custom state, label card, and icon attribute
New features :
- New setting for custom states
- Label card for organization #23 by jxwolstenholme
- Use icon attribute from entity if it exists #21 by emilp333
- Support for hex color in auto mode #10 by simo878
Custom state example with input select entity
- type: "custom:button-card"
entity: input_select.cube_mode
icon: mdi:cube
action: service
show_state: true
state:
- value: 'sleeping'
color: var(--disabled-text-color)
- value: 'media'
color: rgb(5, 147, 255)
- value: 'light'
color: rgb(189, 255, 5)
Other
- Allow showing both state and name (and doesn't break the style)
- Support for unit of measurement
Custom service, blank card and custom_updater support
First actual release
0.0.1
Initial release that supports versioning
New features :
- Color on off state
- Default color on light (when color set to
auto
and detection fails) - Background color card
- Boolean to show/hide state
- Automatic font color based on card color (for readability)
Changed features :
- Automatic color mode for lights now has to be enabled via
color: auto
- State display has to be enabled explicity via
show_state: true
and is not enabled by default when an icon is not set
Other
- Lots of refactoring
- Versionning