Skip to content

Tags: engelchrisi/button-card

Tags

v4.1.2

Toggle v4.1.2's commit message
chore(release): 4.1.2 [skip ci]

### [4.1.2](custom-cards/button-card@v4.1.1...v4.1.2) (2024-02-01)

### Bug Fixes

* card would sometimes not be clickable ([56c3f44](custom-cards@56c3f44)), closes [custom-cards#738](custom-cards#738) [custom-cards#759](custom-cards#759)
* support for new ha-state-icon in 2024.02 ([ab2b393](custom-cards@ab2b393))

v4.1.2-dev.2

Toggle v4.1.2-dev.2's commit message
chore(release): 4.1.2-dev.2 [skip ci]

### [4.1.2-dev.2](custom-cards/button-card@v4.1.2-dev.1...v4.1.2-dev.2) (2024-02-01)

### Bug Fixes

* support for new ha-state-icon in 2024.02 ([ab2b393](custom-cards@ab2b393))

v4.1.2-dev.1

Toggle v4.1.2-dev.1's commit message
chore(release): 4.1.2-dev.1 [skip ci]

### [4.1.2-dev.1](custom-cards/button-card@v4.1.1...v4.1.2-dev.1) (2023-08-20)

### Bug Fixes

* card would sometimes not be clickable ([56c3f44](custom-cards@56c3f44)), closes [custom-cards#738](custom-cards#738) [custom-cards#759](custom-cards#759)

v4.1.1

Toggle v4.1.1's commit message
chore(release): 4.1.1 [skip ci]

### [4.1.1](custom-cards/button-card@v4.1.0...v4.1.1) (2023-08-03)

### Bug Fixes

* **color:** color wouldn't follow light color with `color: auto` ([b63f0db](custom-cards@b63f0db)), closes [custom-cards#737](custom-cards#737)

v4.1.0

Toggle v4.1.0's commit message
chore(release): 4.1.0 [skip ci]

## [4.1.0](custom-cards/button-card@v4.0.1...v4.1.0) (2023-08-03)

### Features

* **templates:** Support for one time evaluation of js templates in `triggers_update` and `entity` ([custom-cards#741](custom-cards#741)) ([b372642](custom-cards@b372642)), closes [custom-cards#618](custom-cards#618) [custom-cards#558](custom-cards#558) [custom-cards#368](custom-cards#368)

### Bug Fixes

* Keep default background color for color_type: card when off ([41dea3f](custom-cards@41dea3f)), closes [custom-cards#737](custom-cards#737)
* lock would not display on many browsers ([245441b](custom-cards@245441b)), closes [custom-cards#740](custom-cards#740)
* remove margin-top on name/label/state introduced with 4.0.0 which broke many cards ([53fee75](custom-cards@53fee75)), closes [custom-cards#742](custom-cards#742) [custom-cards#744](custom-cards#744)

v4.1.0-dev.3

Toggle v4.1.0-dev.3's commit message
chore(release): 4.1.0-dev.3 [skip ci]

## [4.1.0-dev.3](custom-cards/button-card@v4.1.0-dev.2...v4.1.0-dev.3) (2023-08-01)

### Bug Fixes

* lock would not display on many browsers ([245441b](custom-cards@245441b)), closes [custom-cards#740](custom-cards#740)

v4.1.0-dev.2

Toggle v4.1.0-dev.2's commit message
chore(release): 4.1.0-dev.2 [skip ci]

## [4.1.0-dev.2](custom-cards/button-card@v4.1.0-dev.1...v4.1.0-dev.2) (2023-08-01)

### Bug Fixes

* remove margin-top on name/label/state introduced with 4.0.0 which broke many cards ([53fee75](custom-cards@53fee75)), closes [custom-cards#742](custom-cards#742) [custom-cards#744](custom-cards#744)

v4.1.0-dev.1

Toggle v4.1.0-dev.1's commit message
chore(release): 4.1.0-dev.1 [skip ci]

## [4.1.0-dev.1](custom-cards/button-card@v4.0.1...v4.1.0-dev.1) (2023-07-30)

### Features

* **templates:** Support for one time evaluation of js templates in `triggers_update` and `entity` ([custom-cards#741](custom-cards#741)) ([b372642](custom-cards@b372642)), closes [custom-cards#618](custom-cards#618) [custom-cards#558](custom-cards#558) [custom-cards#368](custom-cards#368)

### Bug Fixes

* Keep default background color for color_type: card when off ([41dea3f](custom-cards@41dea3f)), closes [custom-cards#737](custom-cards#737)

v4.0.1

Toggle v4.0.1's commit message
chore(release): 4.0.1 [skip ci]

### [4.0.1](custom-cards/button-card@v4.0.0...v4.0.1) (2023-07-30)

### Bug Fixes

* color: auto/auto-no-temperature was broken ([a63f9a9](custom-cards@a63f9a9)), closes [custom-cards#737](custom-cards#737)

v4.0.0

Toggle v4.0.0's commit message
chore(release): 4.0.0 [skip ci]

## [4.0.0](custom-cards/button-card@v3.5.0...v4.0.0) (2023-07-29)

### ⚠ BREAKING CHANGES

* **helpers:** If you were using any of the beta before `4.0.0-dev14`. Please replace all the calls to helper functions with `helpers.xxx` for eg. `helpers.relativeTime(entity.state)` or `helpers.localize(entity)`
* **hacs:** Minimum required HA Version is now 2023.7
* **actions:** Requires HA 2023.4 minimum. Support for the new action format (`target` is also be supported), `service_data` should be renamed to `data` (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_limit` for `hold_action` ([73c216f](custom-cards@73c216f)), closes [custom-cards#564](custom-cards#564) [custom-cards#555](custom-cards#555)
* **actions:** Support for the new action (assist) and all the future ones ([d9c17a4](custom-cards@d9c17a4)), closes [custom-cards#711](custom-cards#711) [custom-cards#685](custom-cards#685)
* **custom_fields:** Add `do_not_eval` to stop evaluating js templates in an embedded card ([1638cf8](custom-cards@1638cf8))
* **helpers:** all template functions are now available through the `helpers` object ([f22ed69](custom-cards@f22ed69))
* **icons:** replace ha-icon with ha-state-icon to follow new HA's icons per domain automatically ([ab6a3f5](custom-cards@ab6a3f5))
* **templates:** new `relativeTime` function to display a relative time in a template and update it automatically ([965a3d7](custom-cards@965a3d7)), closes [custom-cards#701](custom-cards#701)
* **templates:** New date and time format helpers ([9b4fb05](custom-cards@9b4fb05))
* **variables:** A variable can depend on another variable based on their name's alphabetical order ([8cddccb](custom-cards@8cddccb)), closes [custom-cards#656](custom-cards#656)
* Force the `numeric_precision` for states which are numbers ([24d75c2](custom-cards@24d75c2))
* new helper functions for date/time in templates ([2b75993](custom-cards@2b75993)), closes [custom-cards#701](custom-cards#701)
* Support for localization in templates ([5de2dc9](custom-cards@5de2dc9))

### Bug Fixes

* *_action more-info entity as a template was not evaluated ([02441b2](custom-cards@02441b2)), closes [custom-cards#734](custom-cards#734)
* `group_expand` now works even if the entity is not a `group.xxx` ([f192ded](custom-cards@f192ded)), closes [custom-cards#645](custom-cards#645)
* Color are now aligned with HA > 2022.12 ([685d55e](custom-cards@685d55e)), closes [custom-cards#635](custom-cards#635)
* custom fields would sometime throw unsafeHTML errors ([c67e1d5](custom-cards@c67e1d5)), closes [custom-cards#725](custom-cards#725)
* ha-icon (if in custom_fields) size was weird ([a448c8e](custom-cards@a448c8e))
* ha-state-icon CSS selector was wrong ([a1bb39a](custom-cards@a1bb39a))
* icon would be cut with card height defined ([19f8393](custom-cards@19f8393)), closes [custom-cards#731](custom-cards#731)
* localization fix ([02dfab3](custom-cards@02dfab3)), closes [custom-cards#685](custom-cards#685) [custom-cards#693](custom-cards#693)
* lock icon was displaying over more-info dialog ([bf075b0](custom-cards@bf075b0)), closes [custom-cards#694](custom-cards#694)
* lock would go out of the button ([0b3e4d3](custom-cards@0b3e4d3))
* non string fiels would error with an unsafeHTML error ([d65c347](custom-cards@d65c347)), closes [custom-cards#725](custom-cards#725)
* numerical states would not follow HA's format ([72d7c41](custom-cards@72d7c41)), closes [custom-cards#662](custom-cards#662)
* optimize contrast color compute ([35109c3](custom-cards@35109c3))
* relativeTime didn't support to set the first letter uppercase ([f8b9b09](custom-cards@f8b9b09)), closes [custom-cards#735](custom-cards#735)
* Some cards with child cards wouldn't be clickable ([9f21c58](custom-cards@9f21c58))
* text/icon contrast when using label-card ([01e199b](custom-cards@01e199b))
* variable which were objects were only evaluated once ([e40bda9](custom-cards@e40bda9))
* **templates:** `variables` was `undefined` if none where provided. ([fad332b](custom-cards@fad332b)), closes [custom-cards#718](custom-cards#718)
* tooltip would show over everything ([1bc8f99](custom-cards@1bc8f99))
* **color:** main config `color` was broken ([b93c996](custom-cards@b93c996))
* **hacs:** minimum HA version 2023.7 ([db3b394](custom-cards@db3b394))
* **templates:** don't use the `numeric_precision` from the card config for `localize` in js templates by default ([2cc384f](custom-cards@2cc384f))