Repository navigation
Releases: droans/button-card
Releases · droans/button-card
Release list
v1.0.0
1.0.0 (2025-05-20)
⚠ BREAKING CHANGES
- helpers: If you were using any of the beta before
4.0.0-dev14. Please replace all the calls to helper functions withhelpers.xxxfor eg.helpers.relativeTime(entity.state)orhelpers.localize(entity) - hacs: Minimum required HA Version is now 2023.7
- actions: Requires HA 2023.4 minimum. Support for the new action format (
targetis also be supported),service_datashould be renamed todata(but it still works with the old format) - icons: This might break your card-mod setup
- this might break some of your color settings
Features
- action:
repeat_limitforhold_action(73c216f), closes #564 #555 - actions: Support for the new action (assist) and all the future ones (d9c17a4), closes #711 #685
- custom_fields: Add
do_not_evalto stop evaluating js templates in an embedded card (1638cf8) - helpers: all template functions are now available through the
helpersobject (f22ed69) - icons: replace ha-icon with ha-state-icon to follow new HA's icons per domain automatically (ab6a3f5)
- state_display: Support for
state_displayinstate(440dc77), closes #426 - templates: new
relativeTimefunction to display a relative time in a template and update it automatically (965a3d7), closes #701 - templates: New date and time format helpers (9b4fb05)
- templates: Support for one time evaluation of js templates in
triggers_updateandentity(#741) (b372642), closes #618 #558 #368 - variables: A variable can depend on another variable based on their name's alphabetical order (8cddccb), closes #656
- Force the
numeric_precisionfor states which are numbers (24d75c2) - new helper functions for date/time in templates (2b75993), closes #701
- Support for localization in templates (5de2dc9)
Bug Fixes
- *_action more-info entity as a template was not evaluated (02441b2), closes #734
group_expandnow works even if the entity is not agroup.xxx(f192ded), closes #645- card broken with HA 2023.04bXX (9b4f1e2), closes #669 #671
- card would sometimes not be clickable (56c3f44), closes #738 #759
- Color are now aligned with HA > 2022.12 (685d55e), closes #635
- color: auto/auto-no-temperature was broken (a63f9a9), closes #737
- custom fields would sometime throw unsafeHTML errors (c67e1d5), closes #725
- extra space at bottom because of button-card-action-handler (699b57d), closes #672
- ha-icon (if in custom_fields) size was weird (a448c8e)
- ha-state-icon CSS selector was wrong (a1bb39a)
- icon would be cut with card height defined (19f8393), closes #731
- Keep default background color for color_type: card when off (41dea3f), closes #737
- localization fix (02dfab3), closes #685 #693
- lock icon was displaying over more-info dialog (bf075b0), closes #694
- lock would go out of the button (0b3e4d3)
- lock would not display on many browsers (245441b), closes #740
- non string fiels would error with an unsafeHTML error (d65c347), closes #725
- numerical states would not follow HA's format (72d7c41), closes #662
- relativeTime didn't support to set the first letter uppercase (f8b9b09), closes #735
- remove margin-top on name/label/state introduced with 4.0.0 which broke many cards (53fee75), closes #742 #744
- Support for
fire-dom-event(f4fcbfe), closes #429 - support for new ha-state-icon in 2024.02 (ab2b393)
- color: color wouldn't follow light color with
color: auto(b63f0db), closes #737 - variable which were objects were only evaluated once (e40bda9)
- templates:
variableswasundefinedif none where provided. (fad332b), closes #718 - text/icon contrast when using label-card (01e199b)
- tooltip would show over everything (1bc8f99)
- color: main config
colorwas broken (b93c996) - hacs: minimum HA version 2023.7 (db3b394)
- templates: don't use the
numeric_precisionfrom the card config forlocalizein js templates by default (2cc384f) - optimize contrast color compute (35109c3)
- remove border from blank card (b05c6b4), closes [custom-cards#652](https://github.com/droans/button-card/issues/652...