Commit Graph

33 Commits

Author SHA1 Message Date
semantic-release-bot 2562b84360 chore(release): 4.1.2 [skip ci]
### [4.1.2](https://github.com/custom-cards/button-card/compare/v4.1.1...v4.1.2) (2024-02-01)

### Bug Fixes

* card would sometimes not be clickable ([56c3f44](56c3f44066)), closes [#738](https://github.com/custom-cards/button-card/issues/738) [#759](https://github.com/custom-cards/button-card/issues/759)
* support for new ha-state-icon in 2024.02 ([ab2b393](ab2b3939bc))
2024-02-01 11:21:38 +00:00
semantic-release-bot 605b096509 chore(release): 4.1.2-dev.2 [skip ci]
### [4.1.2-dev.2](https://github.com/custom-cards/button-card/compare/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](ab2b3939bc))
2024-02-01 10:20:22 +00:00
semantic-release-bot 27877b9f68 chore(release): 4.1.2-dev.1 [skip ci]
### [4.1.2-dev.1](https://github.com/custom-cards/button-card/compare/v4.1.1...v4.1.2-dev.1) (2023-08-20)

### Bug Fixes

* card would sometimes not be clickable ([56c3f44](56c3f44066)), closes [#738](https://github.com/custom-cards/button-card/issues/738) [#759](https://github.com/custom-cards/button-card/issues/759)
2023-08-20 15:46:11 +00:00
semantic-release-bot 121ae82326 chore(release): 4.1.1 [skip ci]
### [4.1.1](https://github.com/custom-cards/button-card/compare/v4.1.0...v4.1.1) (2023-08-03)

### Bug Fixes

* **color:** color wouldn't follow light color with `color: auto` ([b63f0db](b63f0db220)), closes [#737](https://github.com/custom-cards/button-card/issues/737)
2023-08-03 13:28:22 +00:00
semantic-release-bot 0bf22d5c43 chore(release): 4.1.0 [skip ci]
## [4.1.0](https://github.com/custom-cards/button-card/compare/v4.0.1...v4.1.0) (2023-08-03)

### Features

* **templates:** Support for one time evaluation of js templates in `triggers_update` and `entity` ([#741](https://github.com/custom-cards/button-card/issues/741)) ([b372642](b372642253)), closes [#618](https://github.com/custom-cards/button-card/issues/618) [#558](https://github.com/custom-cards/button-card/issues/558) [#368](https://github.com/custom-cards/button-card/issues/368)

### Bug Fixes

* Keep default background color for color_type: card when off ([41dea3f](41dea3f72a)), closes [#737](https://github.com/custom-cards/button-card/issues/737)
* lock would not display on many browsers ([245441b](245441b69f)), closes [#740](https://github.com/custom-cards/button-card/issues/740)
* remove margin-top on name/label/state introduced with 4.0.0 which broke many cards ([53fee75](53fee75c16)), closes [#742](https://github.com/custom-cards/button-card/issues/742) [#744](https://github.com/custom-cards/button-card/issues/744)
2023-08-03 12:25:27 +00:00
semantic-release-bot 5d2e95743c chore(release): 4.1.0-dev.3 [skip ci]
## [4.1.0-dev.3](https://github.com/custom-cards/button-card/compare/v4.1.0-dev.2...v4.1.0-dev.3) (2023-08-01)

### Bug Fixes

* lock would not display on many browsers ([245441b](245441b69f)), closes [#740](https://github.com/custom-cards/button-card/issues/740)
2023-08-01 12:28:32 +00:00
semantic-release-bot 5ebd870a0e chore(release): 4.1.0-dev.2 [skip ci]
## [4.1.0-dev.2](https://github.com/custom-cards/button-card/compare/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](53fee75c16)), closes [#742](https://github.com/custom-cards/button-card/issues/742) [#744](https://github.com/custom-cards/button-card/issues/744)
2023-08-01 08:36:59 +00:00
semantic-release-bot af79877e7f chore(release): 4.1.0-dev.1 [skip ci]
## [4.1.0-dev.1](https://github.com/custom-cards/button-card/compare/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` ([#741](https://github.com/custom-cards/button-card/issues/741)) ([b372642](b372642253)), closes [#618](https://github.com/custom-cards/button-card/issues/618) [#558](https://github.com/custom-cards/button-card/issues/558) [#368](https://github.com/custom-cards/button-card/issues/368)

### Bug Fixes

* Keep default background color for color_type: card when off ([41dea3f](41dea3f72a)), closes [#737](https://github.com/custom-cards/button-card/issues/737)
2023-07-30 21:26:19 +00:00
semantic-release-bot f7371077b5 chore(release): 4.0.1 [skip ci]
### [4.0.1](https://github.com/custom-cards/button-card/compare/v4.0.0...v4.0.1) (2023-07-30)

### Bug Fixes

* color: auto/auto-no-temperature was broken ([a63f9a9](a63f9a96a5)), closes [#737](https://github.com/custom-cards/button-card/issues/737)
2023-07-30 14:15:41 +00:00
semantic-release-bot d5ff669eb1 chore(release): 4.0.0 [skip ci]
## [4.0.0](https://github.com/custom-cards/button-card/compare/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](73c216f1bf)), closes [#564](https://github.com/custom-cards/button-card/issues/564) [#555](https://github.com/custom-cards/button-card/issues/555)
* **actions:** Support for the new action (assist) and all the future ones ([d9c17a4](d9c17a4065)), closes [#711](https://github.com/custom-cards/button-card/issues/711) [#685](https://github.com/custom-cards/button-card/issues/685)
* **custom_fields:** Add `do_not_eval` to stop evaluating js templates in an embedded card ([1638cf8](1638cf8121))
* **helpers:** all template functions are now available through the `helpers` object ([f22ed69](f22ed6982f))
* **icons:** replace ha-icon with ha-state-icon to follow new HA's icons per domain automatically ([ab6a3f5](ab6a3f5bd3))
* **templates:** new `relativeTime` function to display a relative time in a template and update it automatically ([965a3d7](965a3d7b97)), closes [#701](https://github.com/custom-cards/button-card/issues/701)
* **templates:** New date and time format helpers ([9b4fb05](9b4fb05e4e))
* **variables:** A variable can depend on another variable based on their name's alphabetical order ([8cddccb](8cddccb834)), closes [#656](https://github.com/custom-cards/button-card/issues/656)
* Force the `numeric_precision` for states which are numbers ([24d75c2](24d75c2651))
* new helper functions for date/time in templates ([2b75993](2b75993f22)), closes [#701](https://github.com/custom-cards/button-card/issues/701)
* Support for localization in templates ([5de2dc9](5de2dc9067))

### Bug Fixes

* *_action more-info entity as a template was not evaluated ([02441b2](02441b2982)), closes [#734](https://github.com/custom-cards/button-card/issues/734)
* `group_expand` now works even if the entity is not a `group.xxx` ([f192ded](f192ded67f)), closes [#645](https://github.com/custom-cards/button-card/issues/645)
* Color are now aligned with HA > 2022.12 ([685d55e](685d55e49c)), closes [#635](https://github.com/custom-cards/button-card/issues/635)
* custom fields would sometime throw unsafeHTML errors ([c67e1d5](c67e1d550c)), closes [#725](https://github.com/custom-cards/button-card/issues/725)
* ha-icon (if in custom_fields) size was weird ([a448c8e](a448c8e826))
* ha-state-icon CSS selector was wrong ([a1bb39a](a1bb39a71c))
* icon would be cut with card height defined ([19f8393](19f8393193)), closes [#731](https://github.com/custom-cards/button-card/issues/731)
* localization fix ([02dfab3](02dfab3db3)), closes [#685](https://github.com/custom-cards/button-card/issues/685) [#693](https://github.com/custom-cards/button-card/issues/693)
* lock icon was displaying over more-info dialog ([bf075b0](bf075b00e4)), closes [#694](https://github.com/custom-cards/button-card/issues/694)
* lock would go out of the button ([0b3e4d3](0b3e4d331c))
* non string fiels would error with an unsafeHTML error ([d65c347](d65c34757a)), closes [#725](https://github.com/custom-cards/button-card/issues/725)
* numerical states would not follow HA's format ([72d7c41](72d7c4133f)), closes [#662](https://github.com/custom-cards/button-card/issues/662)
* optimize contrast color compute ([35109c3](35109c3d5c))
* relativeTime didn't support to set the first letter uppercase ([f8b9b09](f8b9b09169)), closes [#735](https://github.com/custom-cards/button-card/issues/735)
* Some cards with child cards wouldn't be clickable ([9f21c58](9f21c58dac))
* text/icon contrast when using label-card ([01e199b](01e199b18b))
* variable which were objects were only evaluated once ([e40bda9](e40bda9da6))
* **templates:** `variables` was `undefined` if none where provided. ([fad332b](fad332b80d)), closes [#718](https://github.com/custom-cards/button-card/issues/718)
* tooltip would show over everything ([1bc8f99](1bc8f99501))
* **color:** main config `color` was broken ([b93c996](b93c9969c2))
* **hacs:** minimum HA version 2023.7 ([db3b394](db3b394fa6))
* **templates:** don't use the `numeric_precision` from the card config for `localize` in js templates by default ([2cc384f](2cc384f9dc))
2023-07-29 00:13:18 +00:00
semantic-release-bot 2edc382d9b chore(release): 4.0.0-dev.19 [skip ci]
## [4.0.0-dev.19](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.18...v4.0.0-dev.19) (2023-07-29)

### Bug Fixes

* variable which were objects were only evaluated once ([e40bda9](e40bda9da6))
2023-07-29 00:09:07 +00:00
semantic-release-bot 976e53fbe9 chore(release): 4.0.0-dev.18 [skip ci]
## [4.0.0-dev.18](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.17...v4.0.0-dev.18) (2023-07-28)

### Features

* **custom_fields:** Add `do_not_eval` to stop evaluating js templates in an embedded card ([1638cf8](1638cf8121))

### Bug Fixes

* relativeTime didn't support to set the first letter uppercase ([f8b9b09](f8b9b09169)), closes [#735](https://github.com/custom-cards/button-card/issues/735)
2023-07-28 11:14:32 +00:00
semantic-release-bot f0a77fd455 chore(release): 4.0.0-dev.17 [skip ci]
## [4.0.0-dev.17](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.16...v4.0.0-dev.17) (2023-07-27)

### Features

* **variables:** A variable can depend on another variable based on their name's alphabetical order ([8cddccb](8cddccb834)), closes [#656](https://github.com/custom-cards/button-card/issues/656)
2023-07-27 19:02:10 +00:00
semantic-release-bot 814084128e chore(release): 4.0.0-dev.16 [skip ci]
## [4.0.0-dev.16](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.15...v4.0.0-dev.16) (2023-07-27)

### Bug Fixes

* *_action more-info entity as a template was not evaluated ([02441b2](02441b2982)), closes [#734](https://github.com/custom-cards/button-card/issues/734)
2023-07-27 09:52:29 +00:00
semantic-release-bot 947ed5464b chore(release): 4.0.0-dev.15 [skip ci]
## [4.0.0-dev.15](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.14...v4.0.0-dev.15) (2023-07-26)

### Features

* **templates:** New date and time format helpers ([9b4fb05](9b4fb05e4e))
2023-07-26 16:51:55 +00:00
semantic-release-bot 4d52c7e98c chore(release): 4.0.0-dev.14 [skip ci]
## [4.0.0-dev.14](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.13...v4.0.0-dev.14) (2023-07-26)

### ⚠ 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)`

### Features

* **helpers:** all template functions are now available through the `helpers` object ([f22ed69](f22ed6982f))

### Bug Fixes

* `group_expand` now works even if the entity is not a `group.xxx` ([f192ded](f192ded67f)), closes [#645](https://github.com/custom-cards/button-card/issues/645)
2023-07-26 10:56:41 +00:00
semantic-release-bot 87d321a27f chore(release): 4.0.0-dev.13 [skip ci]
## [4.0.0-dev.13](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.12...v4.0.0-dev.13) (2023-07-26)

### Bug Fixes

* **templates:** `variables` was `undefined` if none where provided. ([fad332b](fad332b80d)), closes [#718](https://github.com/custom-cards/button-card/issues/718)
2023-07-26 09:53:18 +00:00
semantic-release-bot 529f954cec chore(release): 4.0.0-dev.12 [skip ci]
## [4.0.0-dev.12](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.11...v4.0.0-dev.12) (2023-07-26)

### Bug Fixes

* icon would be cut with card height defined ([19f8393](19f8393193)), closes [#731](https://github.com/custom-cards/button-card/issues/731)
2023-07-26 07:53:37 +00:00
semantic-release-bot 2df5392dd9 chore(release): 4.0.0-dev.11 [skip ci]
## [4.0.0-dev.11](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.10...v4.0.0-dev.11) (2023-07-26)

### Features

* **templates:** new `relativeTime` function to display a relative time in a template and update it automatically ([965a3d7](965a3d7b97)), closes [#701](https://github.com/custom-cards/button-card/issues/701)

### Bug Fixes

* ha-state-icon CSS selector was wrong ([a1bb39a](a1bb39a71c))
* tooltip would show over everything ([1bc8f99](1bc8f99501))
* **templates:** don't use the `numeric_precision` from the card config for `localize` in js templates by default ([2cc384f](2cc384f9dc))
2023-07-26 00:09:21 +00:00
semantic-release-bot e5fa12c4ec chore(release): 4.0.0-dev.10 [skip ci]
## [4.0.0-dev.10](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.9...v4.0.0-dev.10) (2023-07-25)

### Bug Fixes

* **color:** main config `color` was broken ([b93c996](b93c9969c2))
2023-07-25 16:42:34 +00:00
semantic-release-bot 8a20c87337 chore(release): 4.0.0-dev.9 [skip ci]
## [4.0.0-dev.9](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.8...v4.0.0-dev.9) (2023-07-24)

### Bug Fixes

* numerical states would not follow HA's format ([72d7c41](72d7c4133f)), closes [#662](https://github.com/custom-cards/button-card/issues/662)
2023-07-24 23:41:55 +00:00
semantic-release-bot f79aded282 chore(release): 4.0.0-dev.8 [skip ci]
## [4.0.0-dev.8](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.7...v4.0.0-dev.8) (2023-07-24)

### Features

* Force the `numeric_precision` for states which are numbers ([24d75c2](24d75c2651))
* **action:** `repeat_limit` for `hold_action` ([73c216f](73c216f1bf)), closes [#564](https://github.com/custom-cards/button-card/issues/564) [#555](https://github.com/custom-cards/button-card/issues/555)
* new helper functions for date/time in templates ([2b75993](2b75993f22)), closes [#701](https://github.com/custom-cards/button-card/issues/701)

### Bug Fixes

* ha-icon (if in custom_fields) size was weird ([a448c8e](a448c8e826))
2023-07-24 19:21:53 +00:00
semantic-release-bot da13754b7c chore(release): 4.0.0-dev.7 [skip ci]
## [4.0.0-dev.7](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.6...v4.0.0-dev.7) (2023-07-24)

### Bug Fixes

* non string fiels would error with an unsafeHTML error ([d65c347](d65c34757a)), closes [#725](https://github.com/custom-cards/button-card/issues/725)
2023-07-24 14:08:24 +00:00
semantic-release-bot 32700c7311 chore(release): 4.0.0-dev.6 [skip ci]
## [4.0.0-dev.6](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.5...v4.0.0-dev.6) (2023-07-24)

### ⚠ BREAKING CHANGES

* **hacs:** Minimum required HA Version is now 2023.7

### Features

* Support for localization in templates ([5de2dc9](5de2dc9067))

### Bug Fixes

* custom fields would sometime throw unsafeHTML errors ([c67e1d5](c67e1d550c)), closes [#725](https://github.com/custom-cards/button-card/issues/725)
* **hacs:** minimum HA version 2023.7 ([db3b394](db3b394fa6))
2023-07-24 11:09:40 +00:00
semantic-release-bot 5bde8901c2 chore(release): 4.0.0-dev.5 [skip ci]
## [4.0.0-dev.5](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.4...v4.0.0-dev.5) (2023-07-24)

### Bug Fixes

* optimize contrast color compute ([35109c3](35109c3d5c))
* Some cards with child cards wouldn't be clickable ([9f21c58](9f21c58dac))
2023-07-24 02:05:24 +00:00
semantic-release-bot fdef3f1a21 chore(release): 4.0.0-dev.4 [skip ci]
## [4.0.0-dev.4](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.3...v4.0.0-dev.4) (2023-07-24)

### Bug Fixes

* text/icon contrast when using label-card ([01e199b](01e199b18b))
2023-07-24 00:04:22 +00:00
semantic-release-bot d82e6c780b chore(release): 4.0.0-dev.3 [skip ci]
## [4.0.0-dev.3](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.2...v4.0.0-dev.3) (2023-07-23)

### ⚠ BREAKING CHANGES

* **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)

### Features

* **actions:** Support for the new action (assist) and all the future ones ([d9c17a4](d9c17a4065)), closes [#711](https://github.com/custom-cards/button-card/issues/711) [#685](https://github.com/custom-cards/button-card/issues/685)
2023-07-23 22:49:43 +00:00
semantic-release-bot 4351895cd3 chore(release): 4.0.0-dev.2 [skip ci]
## [4.0.0-dev.2](https://github.com/custom-cards/button-card/compare/v4.0.0-dev.1...v4.0.0-dev.2) (2023-07-23)

### ⚠ BREAKING CHANGES

* **icons:** This might break your card-mod setup

### Features

* **icons:** replace ha-icon with ha-state-icon to follow new HA's icons per domain automatically ([ab6a3f5](ab6a3f5bd3))
2023-07-23 18:17:49 +00:00
semantic-release-bot d2be440da4 chore(release): 4.0.0-dev.1 [skip ci]
## [4.0.0-dev.1](https://github.com/custom-cards/button-card/compare/v3.5.0...v4.0.0-dev.1) (2023-07-23)

### ⚠ BREAKING CHANGES

* this might break some of your color settings

### Bug Fixes

* Color are now aligned with HA > 2022.12 ([685d55e](685d55e49c)), closes [#635](https://github.com/custom-cards/button-card/issues/635)
* localization fix ([02dfab3](02dfab3db3)), closes [#685](https://github.com/custom-cards/button-card/issues/685) [#693](https://github.com/custom-cards/button-card/issues/693)
* lock icon was displaying over more-info dialog ([bf075b0](bf075b00e4)), closes [#694](https://github.com/custom-cards/button-card/issues/694)
* lock would go out of the button ([0b3e4d3](0b3e4d331c))
2023-07-23 16:55:33 +00:00
semantic-release-bot 3d8c38254f chore(release): 3.5.0 [skip ci]
## [3.5.0](https://github.com/custom-cards/button-card/compare/v3.4.2...v3.5.0) (2023-04-02)

### Features

* **state_display:** Support for `state_display` in `state` ([440dc77](440dc77e7e)), closes [#426](https://github.com/custom-cards/button-card/issues/426)

### Bug Fixes

* card broken with HA 2023.04bXX ([9b4f1e2](9b4f1e23be)), closes [#669](https://github.com/custom-cards/button-card/issues/669) [#671](https://github.com/custom-cards/button-card/issues/671)
* extra space at bottom because of button-card-action-handler ([699b57d](699b57d5fc)), closes [#672](https://github.com/custom-cards/button-card/issues/672)
* remove border from blank card ([b05c6b4](b05c6b470b)), closes [#652](https://github.com/custom-cards/button-card/issues/652)

### Documentation

* minor quotes correction ([#437](https://github.com/custom-cards/button-card/issues/437)) ([9b5f728](9b5f728905))
* minor quotes correction ([#438](https://github.com/custom-cards/button-card/issues/438)) ([07ae7a1](07ae7a1293))
2023-04-02 15:02:33 +00:00
semantic-release-bot 56000aac78 chore(release): 3.5.0-dev.2 [skip ci]
## [3.5.0-dev.2](https://github.com/custom-cards/button-card/compare/v3.5.0-dev.1...v3.5.0-dev.2) (2023-04-02)

### Bug Fixes

* card broken with HA 2023.04bXX ([9b4f1e2](9b4f1e23be)), closes [#669](https://github.com/custom-cards/button-card/issues/669) [#671](https://github.com/custom-cards/button-card/issues/671)
* extra space at bottom because of button-card-action-handler ([699b57d](699b57d5fc)), closes [#672](https://github.com/custom-cards/button-card/issues/672)
* remove border from blank card ([b05c6b4](b05c6b470b)), closes [#652](https://github.com/custom-cards/button-card/issues/652)

### Documentation

* minor quotes correction ([#437](https://github.com/custom-cards/button-card/issues/437)) ([9b5f728](9b5f728905))
* minor quotes correction ([#438](https://github.com/custom-cards/button-card/issues/438)) ([07ae7a1](07ae7a1293))
2023-04-02 14:55:10 +00:00
semantic-release-bot 19110c4290 chore(release): 3.5.0-dev.1 [skip ci]
## [3.5.0-dev.1](https://github.com/custom-cards/button-card/compare/v3.4.2...v3.5.0-dev.1) (2021-02-17)

### Features

* **state_display:** Support for `state_display` in `state` ([440dc77](440dc77e7e)), closes [#426](https://github.com/custom-cards/button-card/issues/426)
2021-02-17 21:40:49 +00:00
semantic-release-bot 75375e7695 chore(release): 3.4.2 [skip ci]
### [3.4.2](https://github.com/custom-cards/button-card/compare/v3.4.1...v3.4.2) (2021-02-17)

### Bug Fixes

* Support for `fire-dom-event` ([f4fcbfe](f4fcbfe2ee)), closes [#429](https://github.com/custom-cards/button-card/issues/429)
2021-02-17 20:57:36 +00:00