## [7.0.1](https://github.com/custom-cards/button-card/compare/v7.0.0...v7.0.1) (2025-11-13)

### Bug Fixes

* Support older android versions (>= 5) ([#1119](https://github.com/custom-cards/button-card/issues/1119)) ([206c0fb](https://github.com/custom-cards/button-card/commit/206c0fb78321f6be7c63b5bbae6f59ddd7a292b1)), closes [#1118](https://github.com/custom-cards/button-card/issues/1118) [#1116](https://github.com/custom-cards/button-card/issues/1116)

## [7.0.1-dev.1](https://github.com/custom-cards/button-card/compare/v7.0.0...v7.0.1-dev.1) (2025-11-13)

### Bug Fixes

* Support older android versions (>= 5) ([#1119](https://github.com/custom-cards/button-card/issues/1119)) ([206c0fb](https://github.com/custom-cards/button-card/commit/206c0fb78321f6be7c63b5bbae6f59ddd7a292b1)), closes [#1118](https://github.com/custom-cards/button-card/issues/1118) [#1116](https://github.com/custom-cards/button-card/issues/1116)

## [7.0.0](https://github.com/custom-cards/button-card/compare/v6.0.0...v7.0.0) (2025-11-10)

### ⚠ BREAKING CHANGES

* `spin` (to make the icon/entity_picture rotate) has
been renamed to `rotate`, please update your configurations
* **triggers_update:** `triggers_update` is deprecated and will not have any
effect if set. Entities are discovered automatically. If there is no
suitable entities in your configuration, consider using `update_timer`
to update the card on interval.
* **variables:** `variables` are only evaluated if they are "used" so
hacks using variables to run javascript code during card init for eg.
should read the updated documentation section. It is still possible with
the `force_eval` variables configuration option.

```yaml
type: custom:button-card
entity: switch.skylight
update_timer: 1s
variables:
  always_evaled:
    value: '[[[ window.alwaysEvaled = `${new Date().getTime()}`; ]]]'
    force_eval: true
  never_evaled: '[[[ window.neverEvaled = `${new Date().getTime()}`; ]]]'
name: 'always should update every second,<br/>never should be unset'
show_label: true
label: |
  [[[
    return `always: ${window.alwaysEvaled || "not set"}
      <br/>never: ${window.neverEvaled || "not set"}`;
   ]]]
```

```yaml
type: custom:button-card
variables:
  never_evaled: '[[[ throw new Error("This variable should never be evaluated") ]]]'
  aa:
    value: '[[[ return "Test variables dependencies: OK" ]]]'
  test1: '[[[ return variables.aa ]]]'
name: '[[[ return variables.test1; ]]]'
```

### Features

* `triggers_update` is not required anymore, all entities used in JS templates are now discovered automatically. ([#1080](https://github.com/custom-cards/button-card/issues/1080)) ([ccb5766](https://github.com/custom-cards/button-card/commit/ccb57664184f1312128af970a83227ee9c723b25)), closes [#1074](https://github.com/custom-cards/button-card/issues/1074)
* **custom_fields:** New `force_recreate: true` to recreate the nested card on each config update ([#1102](https://github.com/custom-cards/button-card/issues/1102)) ([0a85dff](https://github.com/custom-cards/button-card/commit/0a85dff18767a50e2209635a76966f5f0803f7cf)), closes [#1086](https://github.com/custom-cards/button-card/issues/1086)
* **extra_styles:** `extra_styles` is now merged when using config templates instead of being overriden by the last one set ([#1108](https://github.com/custom-cards/button-card/issues/1108)) ([a4d78e1](https://github.com/custom-cards/button-card/commit/a4d78e16f7e9573a728624579739fe4869be0520)), closes [#name](https://github.com/custom-cards/button-card/issues/name) [#name](https://github.com/custom-cards/button-card/issues/name) [#name](https://github.com/custom-cards/button-card/issues/name)
* new `helpers.runAction` to run any action supported by button-card ([#1075](https://github.com/custom-cards/button-card/issues/1075)) ([295afcc](https://github.com/custom-cards/button-card/commit/295afccafcf932cb1f93d4301e7ea9d432e4ded3))
* rename `spin` to `rotate` ([#1098](https://github.com/custom-cards/button-card/issues/1098)) ([d26bae2](https://github.com/custom-cards/button-card/commit/d26bae2e37f6d086a793169ad88ae490d65c6cc7)), closes [#1081](https://github.com/custom-cards/button-card/issues/1081)
* **ripple:** `show_ripple` to disable or enable the ripple/hover effect (undefined = auto) ([#1076](https://github.com/custom-cards/button-card/issues/1076)) ([1964f4b](https://github.com/custom-cards/button-card/commit/1964f4bedd577035809489b8bf649a0c8299ffd3))
* **spin:** Make `spin` available as a main config option and support JS templates ([#1084](https://github.com/custom-cards/button-card/issues/1084)) ([3c92a5d](https://github.com/custom-cards/button-card/commit/3c92a5d69ceb594f9ceb73d6d9c82c7dcf2904f2)), closes [#1081](https://github.com/custom-cards/button-card/issues/1081)
* **triggers_update:** `triggers_update` is deprecated and will not have any effect. This is now automatic. ([#1095](https://github.com/custom-cards/button-card/issues/1095)) ([45a6b69](https://github.com/custom-cards/button-card/commit/45a6b69c2e340327e6275066cf43d0c10b9e6828))
* **variables:** variables can depend on any other variable (no alphabetical dependency anymore) ([#1089](https://github.com/custom-cards/button-card/issues/1089)) ([f372ce4](https://github.com/custom-cards/button-card/commit/f372ce446ec06a5120632c03dbd83b0bcc0f324e))

### Bug Fixes

* `press_action` would not work on touchscreen ([#1100](https://github.com/custom-cards/button-card/issues/1100)) ([ea71b3d](https://github.com/custom-cards/button-card/commit/ea71b3d4282ad0f5cb08928883f4ec868b480546)), closes [#1097](https://github.com/custom-cards/button-card/issues/1097)
* **actions:** Haptic support. Requires Home Assistant 2025.11 to correctly override native Home Assistant Haptics ([#1091](https://github.com/custom-cards/button-card/issues/1091)) ([6d9457d](https://github.com/custom-cards/button-card/commit/6d9457da70753fc80b229b59bd7c229117b9abc9)), closes [#956](https://github.com/custom-cards/button-card/issues/956) [#565](https://github.com/custom-cards/button-card/issues/565)
* **variables:** Fixed a type error when a variable is `null` ([#1110](https://github.com/custom-cards/button-card/issues/1110)) ([05f1631](https://github.com/custom-cards/button-card/commit/05f1631d46c9005273dc128cd3ecad04b884c3a7)), closes [#1109](https://github.com/custom-cards/button-card/issues/1109)
* **variables:** read only error in some cases ([#1101](https://github.com/custom-cards/button-card/issues/1101)) ([a316aa2](https://github.com/custom-cards/button-card/commit/a316aa2376d4bf19df0388b2889115956cc79308)), closes [#1099](https://github.com/custom-cards/button-card/issues/1099)
* **variables:** storing objects or functions in variables would fail in specific cases ([#1103](https://github.com/custom-cards/button-card/issues/1103)) ([4778c4a](https://github.com/custom-cards/button-card/commit/4778c4afa90b27e73cf9ce99b1801b2e75fb37a5))
* **variables:** variables loops would not be detected anymore ([80206ba](https://github.com/custom-cards/button-card/commit/80206ba4c8dd316871a777a5a1a41fe8e5cb2f7e))

### Documentation

* Add Browser Mod nested templates example ([#1092](https://github.com/custom-cards/button-card/issues/1092)) ([18a8f21](https://github.com/custom-cards/button-card/commit/18a8f21607cfb22266c119be307552b215cae361))
* Fix action config table format ([f65b2a6](https://github.com/custom-cards/button-card/commit/f65b2a63621d1846e5cdc82d8f9d839091c5734a))
* fix several typos ([#1090](https://github.com/custom-cards/button-card/issues/1090)) ([6dc25ab](https://github.com/custom-cards/button-card/commit/6dc25abafb307c85c0ba43d5175783a5ab515d4e))
* Fix toast action table formating ([af8c932](https://github.com/custom-cards/button-card/commit/af8c9322fd54515c0ee9fff919f8a972817f7b30))
* fix tooltip part naming conventions in doco ([#1085](https://github.com/custom-cards/button-card/issues/1085)) ([b0aa2a9](https://github.com/custom-cards/button-card/commit/b0aa2a99f05bd7cd541a6219742b45bbe774a3b2))
* Remove uneeded `-` from code examples ([b202a09](https://github.com/custom-cards/button-card/commit/b202a09b62d702a86fd38f7bcccb01d6853bb174))
* Update variables link ([d6bc9f5](https://github.com/custom-cards/button-card/commit/d6bc9f5ff90feb26ec9aa15cd96920d0b4bfa223))

## [7.0.0-dev.5](https://github.com/custom-cards/button-card/compare/v7.0.0-dev.4...v7.0.0-dev.5) (2025-11-10)

### Features

* **extra_styles:** `extra_styles` is now merged when using config templates instead of being overriden by the last one set ([#1108](https://github.com/custom-cards/button-card/issues/1108)) ([a4d78e1](https://github.com/custom-cards/button-card/commit/a4d78e16f7e9573a728624579739fe4869be0520)), closes [#name](https://github.com/custom-cards/button-card/issues/name) [#name](https://github.com/custom-cards/button-card/issues/name) [#name](https://github.com/custom-cards/button-card/issues/name)

### Bug Fixes

* **variables:** Fixed a type error when a variable is `null` ([#1110](https://github.com/custom-cards/button-card/issues/1110)) ([05f1631](https://github.com/custom-cards/button-card/commit/05f1631d46c9005273dc128cd3ecad04b884c3a7)), closes [#1109](https://github.com/custom-cards/button-card/issues/1109)

### Documentation

* Update variables link ([d6bc9f5](https://github.com/custom-cards/button-card/commit/d6bc9f5ff90feb26ec9aa15cd96920d0b4bfa223))

## [7.0.0-dev.4](https://github.com/custom-cards/button-card/compare/v7.0.0-dev.3...v7.0.0-dev.4) (2025-11-06)

### Bug Fixes

* **actions:** Haptic support. Requires Home Assistant 2025.11 to correctly override native Home Assistant Haptics ([#1091](https://github.com/custom-cards/button-card/issues/1091)) ([6d9457d](https://github.com/custom-cards/button-card/commit/6d9457da70753fc80b229b59bd7c229117b9abc9)), closes [#956](https://github.com/custom-cards/button-card/issues/956) [#565](https://github.com/custom-cards/button-card/issues/565)
* **variables:** variables loops would not be detected anymore ([80206ba](https://github.com/custom-cards/button-card/commit/80206ba4c8dd316871a777a5a1a41fe8e5cb2f7e))

## [7.0.0-dev.3](https://github.com/custom-cards/button-card/compare/v7.0.0-dev.2...v7.0.0-dev.3) (2025-11-03)

### Features

* **custom_fields:** New `force_recreate: true` to recreate the nested card on each config update ([#1102](https://github.com/custom-cards/button-card/issues/1102)) ([0a85dff](https://github.com/custom-cards/button-card/commit/0a85dff18767a50e2209635a76966f5f0803f7cf)), closes [#1086](https://github.com/custom-cards/button-card/issues/1086)

### Bug Fixes

* **variables:** storing objects or functions in variables would fail in specific cases ([#1103](https://github.com/custom-cards/button-card/issues/1103)) ([4778c4a](https://github.com/custom-cards/button-card/commit/4778c4afa90b27e73cf9ce99b1801b2e75fb37a5))

## [7.0.0-dev.2](https://github.com/custom-cards/button-card/compare/v7.0.0-dev.1...v7.0.0-dev.2) (2025-11-02)

### ⚠ BREAKING CHANGES

* `spin` (to make the icon/entity_picture rotate) has
been renamed to `rotate`, please update your configurations

### Features

* rename `spin` to `rotate` ([#1098](https://github.com/custom-cards/button-card/issues/1098)) ([d26bae2](https://github.com/custom-cards/button-card/commit/d26bae2e37f6d086a793169ad88ae490d65c6cc7)), closes [#1081](https://github.com/custom-cards/button-card/issues/1081)

### Bug Fixes

* `press_action` would not work on touchscreen ([#1100](https://github.com/custom-cards/button-card/issues/1100)) ([ea71b3d](https://github.com/custom-cards/button-card/commit/ea71b3d4282ad0f5cb08928883f4ec868b480546)), closes [#1097](https://github.com/custom-cards/button-card/issues/1097)
* **variables:** read only error in some cases ([#1101](https://github.com/custom-cards/button-card/issues/1101)) ([a316aa2](https://github.com/custom-cards/button-card/commit/a316aa2376d4bf19df0388b2889115956cc79308)), closes [#1099](https://github.com/custom-cards/button-card/issues/1099)

## [7.0.0-dev.1](https://github.com/custom-cards/button-card/compare/v6.1.0-dev.2...v7.0.0-dev.1) (2025-11-01)

### ⚠ BREAKING CHANGES

* **triggers_update:** `triggers_update` is deprecated and will not have any
effect if set. Entities are discovered automatically. If there is no
suitable entities in your configuration, consider using `update_timer`
to update the card on interval.
* **variables:** `variables` are only evaluated if they are "used" so
hacks using variables to run javascript code during card init for eg.
should read the updated documentation section. It is still possible with
the `force_eval` variables configuration option.

```yaml
type: custom:button-card
entity: switch.skylight
update_timer: 1s
variables:
  always_evaled:
    value: '[[[ window.alwaysEvaled = `${new Date().getTime()}`; ]]]'
    force_eval: true
  never_evaled: '[[[ window.neverEvaled = `${new Date().getTime()}`; ]]]'
name: 'always should update every second,<br/>never should be unset'
show_label: true
label: |
  [[[
    return `always: ${window.alwaysEvaled || "not set"}
      <br/>never: ${window.neverEvaled || "not set"}`;
   ]]]
```

```yaml
type: custom:button-card
variables:
  never_evaled: '[[[ throw new Error("This variable should never be evaluated") ]]]'
  aa:
    value: '[[[ return "Test variables dependencies: OK" ]]]'
  test1: '[[[ return variables.aa ]]]'
name: '[[[ return variables.test1; ]]]'
```

### Features

* **spin:** Make `spin` available as a main config option and support JS templates ([#1084](https://github.com/custom-cards/button-card/issues/1084)) ([3c92a5d](https://github.com/custom-cards/button-card/commit/3c92a5d69ceb594f9ceb73d6d9c82c7dcf2904f2)), closes [#1081](https://github.com/custom-cards/button-card/issues/1081)
* **triggers_update:** `triggers_update` is deprecated and will not have any effect. This is now automatic. ([#1095](https://github.com/custom-cards/button-card/issues/1095)) ([45a6b69](https://github.com/custom-cards/button-card/commit/45a6b69c2e340327e6275066cf43d0c10b9e6828))
* **variables:** variables can depend on any other variable (no alphabetical dependency anymore) ([#1089](https://github.com/custom-cards/button-card/issues/1089)) ([f372ce4](https://github.com/custom-cards/button-card/commit/f372ce446ec06a5120632c03dbd83b0bcc0f324e))

### Documentation

* Add Browser Mod nested templates example ([#1092](https://github.com/custom-cards/button-card/issues/1092)) ([18a8f21](https://github.com/custom-cards/button-card/commit/18a8f21607cfb22266c119be307552b215cae361))
* fix several typos ([#1090](https://github.com/custom-cards/button-card/issues/1090)) ([6dc25ab](https://github.com/custom-cards/button-card/commit/6dc25abafb307c85c0ba43d5175783a5ab515d4e))
* fix tooltip part naming conventions in doco ([#1085](https://github.com/custom-cards/button-card/issues/1085)) ([b0aa2a9](https://github.com/custom-cards/button-card/commit/b0aa2a99f05bd7cd541a6219742b45bbe774a3b2))

## [6.1.0-dev.2](https://github.com/custom-cards/button-card/compare/v6.1.0-dev.1...v6.1.0-dev.2) (2025-10-26)

### Features

* `triggers_update` is not required anymore, all entities used in JS templates are now discovered automatically. ([#1080](https://github.com/custom-cards/button-card/issues/1080)) ([ccb5766](https://github.com/custom-cards/button-card/commit/ccb57664184f1312128af970a83227ee9c723b25)), closes [#1074](https://github.com/custom-cards/button-card/issues/1074)

### Documentation

* Fix action config table format ([f65b2a6](https://github.com/custom-cards/button-card/commit/f65b2a63621d1846e5cdc82d8f9d839091c5734a))

## [6.1.0-dev.1](https://github.com/custom-cards/button-card/compare/v6.0.0...v6.1.0-dev.1) (2025-10-26)

### Features

* new `helpers.runAction` to run any action supported by button-card ([#1075](https://github.com/custom-cards/button-card/issues/1075)) ([295afcc](https://github.com/custom-cards/button-card/commit/295afccafcf932cb1f93d4301e7ea9d432e4ded3))
* **ripple:** `show_ripple` to disable or enable the ripple/hover effect (undefined = auto) ([#1076](https://github.com/custom-cards/button-card/issues/1076)) ([1964f4b](https://github.com/custom-cards/button-card/commit/1964f4bedd577035809489b8bf649a0c8299ffd3))

### Documentation

* Fix toast action table formating ([af8c932](https://github.com/custom-cards/button-card/commit/af8c9322fd54515c0ee9fff919f8a972817f7b30))
* Remove uneeded `-` from code examples ([b202a09](https://github.com/custom-cards/button-card/commit/b202a09b62d702a86fd38f7bcccb01d6853bb174))

## [6.0.0](https://github.com/custom-cards/button-card/compare/v5.0.2...v6.0.0) (2025-10-24)

### ⚠ BREAKING CHANGES

* **tooltips:** Tooltips have been migrated to use Home Assistant
tooltips (ha-tooltip) and will now show in the standard Home Assistant
style. There must be a button action for toolips to show as they fire
off pointer events. Review documentation for impact and updated styling
options. Requires Home Assistant 2025.10 and greater.

### Features

* `disable_kbd` option to disable keyboard capture on the card ([#1040](https://github.com/custom-cards/button-card/issues/1040)) ([f108a52](https://github.com/custom-cards/button-card/commit/f108a52ac47bb8bf9c313769b8d14bb241ede268)), closes [#1032](https://github.com/custom-cards/button-card/issues/1032)
* **action:** new `toast` custom action and new `helpers.toastMessage` and `helpers.toast` helpers functions ([#1070](https://github.com/custom-cards/button-card/issues/1070)) ([ecf1b5c](https://github.com/custom-cards/button-card/commit/ecf1b5c97fb7b7fb648bd9ec57578dcca4d5b062))
* **actions:** call multiple actions in a row for any `*_action` or `icon_*_action` with the new `multi-actions` action ([#1041](https://github.com/custom-cards/button-card/issues/1041)) ([e3a50d8](https://github.com/custom-cards/button-card/commit/e3a50d8fabbcb0518fa8f83f7c345ce1447fb075))
* **actions:** confirmation support for javascript, PIN & Password confirmation support ([#1033](https://github.com/custom-cards/button-card/issues/1033)) ([6632114](https://github.com/custom-cards/button-card/commit/6632114e76fdef560524b1ab19b2d849450ae152)), closes [#1030](https://github.com/custom-cards/button-card/issues/1030)
* **protect:** allow configuring `protect` at the card level ([#1049](https://github.com/custom-cards/button-card/issues/1049)) ([1680330](https://github.com/custom-cards/button-card/commit/16803303a82b135ccbe58e17fce6d8826b5840f3)), closes [#1044](https://github.com/custom-cards/button-card/issues/1044)
* **protect:** Support for `success_message` ([#1048](https://github.com/custom-cards/button-card/issues/1048)) ([78c7151](https://github.com/custom-cards/button-card/commit/78c71513c15d2c101a4e58acec62b6dedf668405)), closes [#1046](https://github.com/custom-cards/button-card/issues/1046)
* **spinner:** Display a configurable spinning wheel (eg. while a script is running) ([#1047](https://github.com/custom-cards/button-card/issues/1047)) ([fb1963e](https://github.com/custom-cards/button-card/commit/fb1963ec057a5f11a4a16d15519c9a32fc1e665c))
* Support templates for `hidden` to hide the card completely ([#1013](https://github.com/custom-cards/button-card/issues/1013)) ([263d366](https://github.com/custom-cards/button-card/commit/263d366e150e0876be983465e65cd3675bc12689)), closes [#1004](https://github.com/custom-cards/button-card/issues/1004)
* **tooltips:** Migrate tooltips to ha-tooltip ([#1063](https://github.com/custom-cards/button-card/issues/1063)) ([561003e](https://github.com/custom-cards/button-card/commit/561003eac2655a48911c1fac2b4b2b194c498a2d)), closes [#1062](https://github.com/custom-cards/button-card/issues/1062)
* **tooltips:** replace ha-tooltip with wa-tooltip and expose more styling ([#1072](https://github.com/custom-cards/button-card/issues/1072)) ([c97f4dd](https://github.com/custom-cards/button-card/commit/c97f4dd1c0d10dfe38209100ac6d71ca3b0371c5)), closes [#1071](https://github.com/custom-cards/button-card/issues/1071)

### Bug Fixes

* custom_fields cards are not recreated from scratch anymore if their config is modified ([#1064](https://github.com/custom-cards/button-card/issues/1064)) ([2d8aaa4](https://github.com/custom-cards/button-card/commit/2d8aaa420028fd9aa96250915a71857263e7c185)), closes [#1060](https://github.com/custom-cards/button-card/issues/1060)
* improve spinner's default color for `color_type: card` ([#1065](https://github.com/custom-cards/button-card/issues/1065)) ([6db839d](https://github.com/custom-cards/button-card/commit/6db839d63607ba7c0ea1ab5260b6ba0bf4b644c4)), closes [#1058](https://github.com/custom-cards/button-card/issues/1058)
* **tooltip:** Set default z-index so long/wide tooltips are always visible. ([#1039](https://github.com/custom-cards/button-card/issues/1039)) ([45033df](https://github.com/custom-cards/button-card/commit/45033df2d8d011243c99de99cf2899e675f8e922)), closes [#1035](https://github.com/custom-cards/button-card/issues/1035)
* Update --button-card-riple-hover-opacity to 0.04 to match HA button defaults ([#1037](https://github.com/custom-cards/button-card/issues/1037)) ([17917b8](https://github.com/custom-cards/button-card/commit/17917b895e087a8c420bd270b40e76fc0020c060)), closes [#1036](https://github.com/custom-cards/button-card/issues/1036)

### Documentation

* New documentation website replacing the current README ([#1073](https://github.com/custom-cards/button-card/issues/1073)) ([2de1890](https://github.com/custom-cards/button-card/commit/2de1890550d73878157e7ba0a0a8ba07696ab80d))

## [6.0.0-dev.2](https://github.com/custom-cards/button-card/compare/v6.0.0-dev.1...v6.0.0-dev.2) (2025-10-22)

### Features

* **action:** new `toast` custom action and new `helpers.toastMessage` and `helpers.toast` helpers functions ([#1070](https://github.com/custom-cards/button-card/issues/1070)) ([ecf1b5c](https://github.com/custom-cards/button-card/commit/ecf1b5c97fb7b7fb648bd9ec57578dcca4d5b062))
* **tooltips:** replace ha-tooltip with wa-tooltip and expose more styling ([#1072](https://github.com/custom-cards/button-card/issues/1072)) ([c97f4dd](https://github.com/custom-cards/button-card/commit/c97f4dd1c0d10dfe38209100ac6d71ca3b0371c5)), closes [#1071](https://github.com/custom-cards/button-card/issues/1071)

## [6.0.0-dev.1](https://github.com/custom-cards/button-card/compare/v5.1.0-dev.4...v6.0.0-dev.1) (2025-10-20)

### ⚠ BREAKING CHANGES

* **tooltips:** Tooltips have been migrated to use Home Assistant
tooltips (ha-tooltip) and will now show in the standard Home Assistant
style. There must be a button action for toolips to show as they fire
off pointer events. Review documentation for impact and updated styling
options. Requires Home Assistant 2025.10 and greater.

### Features

* **tooltips:** Migrate tooltips to ha-tooltip ([#1063](https://github.com/custom-cards/button-card/issues/1063)) ([561003e](https://github.com/custom-cards/button-card/commit/561003eac2655a48911c1fac2b4b2b194c498a2d)), closes [#1062](https://github.com/custom-cards/button-card/issues/1062)

### Bug Fixes

* improve spinner's default color for `color_type: card` ([#1065](https://github.com/custom-cards/button-card/issues/1065)) ([6db839d](https://github.com/custom-cards/button-card/commit/6db839d63607ba7c0ea1ab5260b6ba0bf4b644c4)), closes [#1058](https://github.com/custom-cards/button-card/issues/1058)

## [5.1.0-dev.4](https://github.com/custom-cards/button-card/compare/v5.1.0-dev.3...v5.1.0-dev.4) (2025-10-16)

### Features

* Support templates for `hidden` to hide the card completely ([#1013](https://github.com/custom-cards/button-card/issues/1013)) ([263d366](https://github.com/custom-cards/button-card/commit/263d366e150e0876be983465e65cd3675bc12689)), closes [#1004](https://github.com/custom-cards/button-card/issues/1004)

### Bug Fixes

* custom_fields cards are not recreated from scratch anymore if their config is modified ([#1064](https://github.com/custom-cards/button-card/issues/1064)) ([2d8aaa4](https://github.com/custom-cards/button-card/commit/2d8aaa420028fd9aa96250915a71857263e7c185)), closes [#1060](https://github.com/custom-cards/button-card/issues/1060)

## [5.1.0-dev.3](https://github.com/custom-cards/button-card/compare/v5.1.0-dev.2...v5.1.0-dev.3) (2025-10-07)

### Features

* **protect:** allow configuring `protect` at the card level ([#1049](https://github.com/custom-cards/button-card/issues/1049)) ([1680330](https://github.com/custom-cards/button-card/commit/16803303a82b135ccbe58e17fce6d8826b5840f3)), closes [#1044](https://github.com/custom-cards/button-card/issues/1044)
* **protect:** Support for `success_message` ([#1048](https://github.com/custom-cards/button-card/issues/1048)) ([78c7151](https://github.com/custom-cards/button-card/commit/78c71513c15d2c101a4e58acec62b6dedf668405)), closes [#1046](https://github.com/custom-cards/button-card/issues/1046)
* **spinner:** Display a configurable spinning wheel (eg. while a script is running) ([#1047](https://github.com/custom-cards/button-card/issues/1047)) ([fb1963e](https://github.com/custom-cards/button-card/commit/fb1963ec057a5f11a4a16d15519c9a32fc1e665c))

## [5.1.0-dev.2](https://github.com/custom-cards/button-card/compare/v5.1.0-dev.1...v5.1.0-dev.2) (2025-10-07)

### Features

* `disable_kbd` option to disable keyboard capture on the card ([#1040](https://github.com/custom-cards/button-card/issues/1040)) ([f108a52](https://github.com/custom-cards/button-card/commit/f108a52ac47bb8bf9c313769b8d14bb241ede268)), closes [#1032](https://github.com/custom-cards/button-card/issues/1032)
* **actions:** call multiple actions in a row for any `*_action` or `icon_*_action` with the new `multi-actions` action ([#1041](https://github.com/custom-cards/button-card/issues/1041)) ([e3a50d8](https://github.com/custom-cards/button-card/commit/e3a50d8fabbcb0518fa8f83f7c345ce1447fb075))

## [5.1.0-dev.1](https://github.com/custom-cards/button-card/compare/v5.0.2...v5.1.0-dev.1) (2025-10-07)

### Features

* **actions:** confirmation support for javascript, PIN & Password confirmation support ([#1033](https://github.com/custom-cards/button-card/issues/1033)) ([6632114](https://github.com/custom-cards/button-card/commit/6632114e76fdef560524b1ab19b2d849450ae152)), closes [#1030](https://github.com/custom-cards/button-card/issues/1030)

### Bug Fixes

* **tooltip:** Set default z-index so long/wide tooltips are always visible. ([#1039](https://github.com/custom-cards/button-card/issues/1039)) ([45033df](https://github.com/custom-cards/button-card/commit/45033df2d8d011243c99de99cf2899e675f8e922)), closes [#1035](https://github.com/custom-cards/button-card/issues/1035)
* Update --button-card-riple-hover-opacity to 0.04 to match HA button defaults ([#1037](https://github.com/custom-cards/button-card/issues/1037)) ([17917b8](https://github.com/custom-cards/button-card/commit/17917b895e087a8c420bd270b40e76fc0020c060)), closes [#1036](https://github.com/custom-cards/button-card/issues/1036)

## [5.0.2](https://github.com/custom-cards/button-card/compare/v5.0.1...v5.0.2) (2025-10-06)

### Bug Fixes

* **actions:** complex templates would break in specific cases ([#1029](https://github.com/custom-cards/button-card/issues/1029)) ([854b96a](https://github.com/custom-cards/button-card/commit/854b96aab6284596cfc467833e81c97d8b927924)), closes [#1028](https://github.com/custom-cards/button-card/issues/1028)

## [5.0.1](https://github.com/custom-cards/button-card/compare/v5.0.0...v5.0.1) (2025-10-05)

### Bug Fixes

* **actions:** confirmation would not work ([cf034d2](https://github.com/custom-cards/button-card/commit/cf034d26a8950ce370ad294f9b7339185025f0fd)), closes [#1025](https://github.com/custom-cards/button-card/issues/1025) [#1026](https://github.com/custom-cards/button-card/issues/1026)

## [5.0.0](https://github.com/custom-cards/button-card/compare/v4.3.0...v5.0.0) (2025-10-05)

### ⚠ BREAKING CHANGES

* **actions:** `*_action` and `icon_*_action` stricly follow what is
allowed in the configuration of this card (see updated documentation).
If you used some hacks, it might break. If those hacks were created to
run javascript code, you can now use `action: javascript` instead.
* **actions:** Some of you were using hacks to execute javascript
actions. This release officially implements `action: javascript` and
this is the **only supported** way to execute javascript actions going
forward. Any other configuration might execute the javascript action
while the card is first displayed. Please update your config accordingly
and read the updated documentation.
* **actions:** CSS variables `--mdc-ripple-*` are no longer supported.
These have been replaced with `--button-card-ripple-*` variables. You
will need to update your configuration.
* **color:** Card background color will always be `var
(--card-background-color)` when state is inactive and `color_type:
card`. You can set card background with state.

### Features

* **actions:** migrate to ha-ripple ([#1011](https://github.com/custom-cards/button-card/issues/1011)) ([3c4dc92](https://github.com/custom-cards/button-card/commit/3c4dc9293f1fc58be3b7f83e8973895ea419abf3)), closes [#887](https://github.com/custom-cards/button-card/issues/887)
* **actions:** Official support for native javascript actions ([#1022](https://github.com/custom-cards/button-card/issues/1022)) ([62163cc](https://github.com/custom-cards/button-card/commit/62163ccd5721ea6853d7f6baeccf281c0fe763a0)), closes [#1021](https://github.com/custom-cards/button-card/issues/1021)
* **actions:** press and release support for momentary actions ([#1014](https://github.com/custom-cards/button-card/issues/1014)) ([76f2fd4](https://github.com/custom-cards/button-card/commit/76f2fd400e623ad676dd9e3730341975416a5524)), closes [#360](https://github.com/custom-cards/button-card/issues/360) [#249](https://github.com/custom-cards/button-card/issues/249)
* Add `icon_*_action` support ([#984](https://github.com/custom-cards/button-card/issues/984)) ([4e02887](https://github.com/custom-cards/button-card/commit/4e028873a5c216f1ba98ba9e34fea944f73e970c)), closes [#739](https://github.com/custom-cards/button-card/issues/739)
* allow html tooltips using the lit html tag ([5bb800a](https://github.com/custom-cards/button-card/commit/5bb800a61fb0449492505471bd7ceaac75cd1489))
* Support update timer ([#981](https://github.com/custom-cards/button-card/issues/981)) ([4717feb](https://github.com/custom-cards/button-card/commit/4717feb8474d9ac8eab29af1321891a7d9de4b79)), closes [#436](https://github.com/custom-cards/button-card/issues/436)

### Bug Fixes

* **actions:** avoid executing invalid actions configurations ([#1023](https://github.com/custom-cards/button-card/issues/1023)) ([fe05b52](https://github.com/custom-cards/button-card/commit/fe05b529ea873f60ad6ffccbd9d9981c35449cf1))
* **color:** inactive card background no longer inactive color when `colour_type: card` and `color` set. ([#987](https://github.com/custom-cards/button-card/issues/987)) ([b4f00f9](https://github.com/custom-cards/button-card/commit/b4f00f92f71df9df9d76e057f8a38a6e49a2cea7)), closes [#754](https://github.com/custom-cards/button-card/issues/754)
* console error on click introduced in 5.0.0-dev.1 ([fc39748](https://github.com/custom-cards/button-card/commit/fc39748e0b0062c605abc09f9e6d2effd9424ceb)), closes [#1001](https://github.com/custom-cards/button-card/issues/1001)
* double triggers with icon_*_actions ([d9725d7](https://github.com/custom-cards/button-card/commit/d9725d75081225bdd660feeb9c8de1f928ac7682))
* Embedded light card handle issue ([#989](https://github.com/custom-cards/button-card/issues/989)) ([d01ef37](https://github.com/custom-cards/button-card/commit/d01ef377ab751fa0607bd75107ac48fbfc04cf64)), closes [#427](https://github.com/custom-cards/button-card/issues/427) [#901](https://github.com/custom-cards/button-card/issues/901)
* Event propagation to parent would not propagate the event properties ([#1017](https://github.com/custom-cards/button-card/issues/1017)) ([a2051d4](https://github.com/custom-cards/button-card/commit/a2051d49b3b53de63527e9ca6920497d38aa151c)), closes [#1015](https://github.com/custom-cards/button-card/issues/1015)
* Hold action on picture entity ([#996](https://github.com/custom-cards/button-card/issues/996)) ([9f2501f](https://github.com/custom-cards/button-card/commit/9f2501f2cf3bff4e9a210f0969218fedc072464a)), closes [#994](https://github.com/custom-cards/button-card/issues/994)
* Move while hold on touch devices ([#993](https://github.com/custom-cards/button-card/issues/993)) ([2c17386](https://github.com/custom-cards/button-card/commit/2c17386c64253c684f0d965ae76b0e3c09a7f002))
* Type error when using actions in templates ([#1020](https://github.com/custom-cards/button-card/issues/1020)) ([55956fe](https://github.com/custom-cards/button-card/commit/55956fee56fe65c53befb8812f9befc616f382a0)), closes [#1019](https://github.com/custom-cards/button-card/issues/1019)

## [5.0.0-dev.9](https://github.com/custom-cards/button-card/compare/v5.0.0-dev.8...v5.0.0-dev.9) (2025-10-05)

### ⚠ BREAKING CHANGES

* **actions:** `*_action` and `icon_*_action` stricly follow what is
allowed in the configuration of this card (see updated documentation).
If you used some hacks, it might break. If those hacks were created to
run javascript code, you can now use `action: javascript` instead.

### Bug Fixes

* **actions:** avoid executing invalid actions configurations ([#1023](https://github.com/custom-cards/button-card/issues/1023)) ([fe05b52](https://github.com/custom-cards/button-card/commit/fe05b529ea873f60ad6ffccbd9d9981c35449cf1))

## [5.0.0-dev.8](https://github.com/custom-cards/button-card/compare/v5.0.0-dev.7...v5.0.0-dev.8) (2025-10-04)

### ⚠ BREAKING CHANGES

* **actions:** Some of you were using hacks to execute javascript
actions. This release officially implements `action: javascript` and
this is the **only supported** way to execute javascript actions going
forward. Any other configuration might execute the javascript action
while the card is first displayed. Please update your config accordingly
and read the updated documentation.

### Features

* **actions:** Official support for native javascript actions ([#1022](https://github.com/custom-cards/button-card/issues/1022)) ([62163cc](https://github.com/custom-cards/button-card/commit/62163ccd5721ea6853d7f6baeccf281c0fe763a0)), closes [#1021](https://github.com/custom-cards/button-card/issues/1021)

## [5.0.0-dev.7](https://github.com/custom-cards/button-card/compare/v5.0.0-dev.6...v5.0.0-dev.7) (2025-10-04)

### Bug Fixes

* Type error when using actions in templates ([#1020](https://github.com/custom-cards/button-card/issues/1020)) ([55956fe](https://github.com/custom-cards/button-card/commit/55956fee56fe65c53befb8812f9befc616f382a0)), closes [#1019](https://github.com/custom-cards/button-card/issues/1019)

## [5.0.0-dev.6](https://github.com/custom-cards/button-card/compare/v5.0.0-dev.5...v5.0.0-dev.6) (2025-10-03)

### Features

* **actions:** press and release support for momentary actions ([#1014](https://github.com/custom-cards/button-card/issues/1014)) ([76f2fd4](https://github.com/custom-cards/button-card/commit/76f2fd400e623ad676dd9e3730341975416a5524)), closes [#360](https://github.com/custom-cards/button-card/issues/360) [#249](https://github.com/custom-cards/button-card/issues/249)

## [5.0.0-dev.5](https://github.com/custom-cards/button-card/compare/v5.0.0-dev.4...v5.0.0-dev.5) (2025-10-01)

### Bug Fixes

* Event propagation to parent would not propagate the event properties ([#1017](https://github.com/custom-cards/button-card/issues/1017)) ([a2051d4](https://github.com/custom-cards/button-card/commit/a2051d49b3b53de63527e9ca6920497d38aa151c)), closes [#1015](https://github.com/custom-cards/button-card/issues/1015)

## [5.0.0-dev.4](https://github.com/custom-cards/button-card/compare/v5.0.0-dev.3...v5.0.0-dev.4) (2025-09-30)

### ⚠ BREAKING CHANGES

* **actions:** CSS variables `--mdc-ripple-*` are no longer supported.
These have been replaced with `--button-card-ripple-*` variables. You
will need to update your configuration.

### Features

* **actions:** migrate to ha-ripple ([#1011](https://github.com/custom-cards/button-card/issues/1011)) ([3c4dc92](https://github.com/custom-cards/button-card/commit/3c4dc9293f1fc58be3b7f83e8973895ea419abf3)), closes [#887](https://github.com/custom-cards/button-card/issues/887)

## [5.0.0-dev.3](https://github.com/custom-cards/button-card/compare/v5.0.0-dev.2...v5.0.0-dev.3) (2025-09-17)

### Bug Fixes

* double triggers with icon_*_actions ([d9725d7](https://github.com/custom-cards/button-card/commit/d9725d75081225bdd660feeb9c8de1f928ac7682))

## [5.0.0-dev.2](https://github.com/custom-cards/button-card/compare/v5.0.0-dev.1...v5.0.0-dev.2) (2025-09-17)

### Features

* allow html tooltips using the lit html tag ([5bb800a](https://github.com/custom-cards/button-card/commit/5bb800a61fb0449492505471bd7ceaac75cd1489))

### Bug Fixes

* console error on click introduced in 5.0.0-dev.1 ([fc39748](https://github.com/custom-cards/button-card/commit/fc39748e0b0062c605abc09f9e6d2effd9424ceb)), closes [#1001](https://github.com/custom-cards/button-card/issues/1001)

## [5.0.0-dev.1](https://github.com/custom-cards/button-card/compare/v4.3.0...v5.0.0-dev.1) (2025-09-16)

### ⚠ BREAKING CHANGES

* **color:** Card background color will always be `var
(--card-background-color)` when state is inactive and `color_type:
card`. You can set card background with state.

### Features

* Add `icon_*_action` support ([#984](https://github.com/custom-cards/button-card/issues/984)) ([4e02887](https://github.com/custom-cards/button-card/commit/4e028873a5c216f1ba98ba9e34fea944f73e970c)), closes [#739](https://github.com/custom-cards/button-card/issues/739)
* Support update timer ([#981](https://github.com/custom-cards/button-card/issues/981)) ([4717feb](https://github.com/custom-cards/button-card/commit/4717feb8474d9ac8eab29af1321891a7d9de4b79)), closes [#436](https://github.com/custom-cards/button-card/issues/436)

### Bug Fixes

* **color:** inactive card background no longer inactive color when `colour_type: card` and `color` set. ([#987](https://github.com/custom-cards/button-card/issues/987)) ([b4f00f9](https://github.com/custom-cards/button-card/commit/b4f00f92f71df9df9d76e057f8a38a6e49a2cea7)), closes [#754](https://github.com/custom-cards/button-card/issues/754)
* Embedded light card handle issue ([#989](https://github.com/custom-cards/button-card/issues/989)) ([d01ef37](https://github.com/custom-cards/button-card/commit/d01ef377ab751fa0607bd75107ac48fbfc04cf64)), closes [#427](https://github.com/custom-cards/button-card/issues/427) [#901](https://github.com/custom-cards/button-card/issues/901)
* Hold action on picture entity ([#996](https://github.com/custom-cards/button-card/issues/996)) ([9f2501f](https://github.com/custom-cards/button-card/commit/9f2501f2cf3bff4e9a210f0969218fedc072464a)), closes [#994](https://github.com/custom-cards/button-card/issues/994)
* Move while hold on touch devices ([#993](https://github.com/custom-cards/button-card/issues/993)) ([2c17386](https://github.com/custom-cards/button-card/commit/2c17386c64253c684f0d965ae76b0e3c09a7f002))

## [4.3.0](https://github.com/custom-cards/button-card/compare/v4.2.0...v4.3.0) (2025-08-31)

### Features

* **lock:** Option to keep the unlock icon displayed and define custom lock/unlock icon ([#966](https://github.com/custom-cards/button-card/issues/966)) ([3c42b7b](https://github.com/custom-cards/button-card/commit/3c42b7b7fc26097c04199025b20fd2697f69c34e)), closes [#842](https://github.com/custom-cards/button-card/issues/842)
* Support to play a sound in the browser on any *_action ([#968](https://github.com/custom-cards/button-card/issues/968)) ([1855013](https://github.com/custom-cards/button-card/commit/18550139e6518bc5c384f31dce28ce72f49d35b1)), closes [#574](https://github.com/custom-cards/button-card/issues/574)

### Bug Fixes

* **lock:** Lock not displayed on safari/IOS and lock sometimes misplaced ([#965](https://github.com/custom-cards/button-card/issues/965)) ([6c91651](https://github.com/custom-cards/button-card/commit/6c916518534e2dea75023bad3ef4f04827a62453)), closes [#963](https://github.com/custom-cards/button-card/issues/963)
* **lock:** Lock would not display on firefox ([#983](https://github.com/custom-cards/button-card/issues/983)) ([72d2c82](https://github.com/custom-cards/button-card/commit/72d2c82453bd079950317a066f26a2040fc57d19)), closes [#980](https://github.com/custom-cards/button-card/issues/980)
* **state_display:** Allow empty string or null to override state ([#976](https://github.com/custom-cards/button-card/issues/976)) ([0e40cdc](https://github.com/custom-cards/button-card/commit/0e40cdc4b025104808207f3f0bfb74f601f7b832)), closes [#435](https://github.com/custom-cards/button-card/issues/435)

## [4.3.0-dev.2](https://github.com/custom-cards/button-card/compare/v4.3.0-dev.1...v4.3.0-dev.2) (2025-08-31)

### Features

* Support to play a sound in the browser on any *_action ([#968](https://github.com/custom-cards/button-card/issues/968)) ([1855013](https://github.com/custom-cards/button-card/commit/18550139e6518bc5c384f31dce28ce72f49d35b1)), closes [#574](https://github.com/custom-cards/button-card/issues/574)

### Bug Fixes

* **lock:** Lock would not display on firefox ([#983](https://github.com/custom-cards/button-card/issues/983)) ([72d2c82](https://github.com/custom-cards/button-card/commit/72d2c82453bd079950317a066f26a2040fc57d19)), closes [#980](https://github.com/custom-cards/button-card/issues/980)
* **state_display:** Allow empty string or null to override state ([#976](https://github.com/custom-cards/button-card/issues/976)) ([0e40cdc](https://github.com/custom-cards/button-card/commit/0e40cdc4b025104808207f3f0bfb74f601f7b832)), closes [#435](https://github.com/custom-cards/button-card/issues/435)

## [4.3.0-dev.1](https://github.com/custom-cards/button-card/compare/v4.2.0...v4.3.0-dev.1) (2025-08-29)

### Features

* **lock:** Option to keep the unlock icon displayed and define custom lock/unlock icon ([#966](https://github.com/custom-cards/button-card/issues/966)) ([3c42b7b](https://github.com/custom-cards/button-card/commit/3c42b7b7fc26097c04199025b20fd2697f69c34e)), closes [#842](https://github.com/custom-cards/button-card/issues/842)

### Bug Fixes

* **lock:** Lock not displayed on safari/IOS and lock sometimes misplaced ([#965](https://github.com/custom-cards/button-card/issues/965)) ([6c91651](https://github.com/custom-cards/button-card/commit/6c916518534e2dea75023bad3ef4f04827a62453)), closes [#963](https://github.com/custom-cards/button-card/issues/963)

## [4.2.0](https://github.com/custom-cards/button-card/compare/v4.1.2...v4.2.0) (2025-08-28)

### Features

* Allow *_action to be a template string returning an object ([#945](https://github.com/custom-cards/button-card/issues/945)) ([b235a04](https://github.com/custom-cards/button-card/commit/b235a04bebe551585b6d4ab445be58483147bc7b)), closes [#850](https://github.com/custom-cards/button-card/issues/850) [#611](https://github.com/custom-cards/button-card/issues/611) [#543](https://github.com/custom-cards/button-card/issues/543) [#425](https://github.com/custom-cards/button-card/issues/425)
* Support for sections using `section_mode: true` ([#959](https://github.com/custom-cards/button-card/issues/959)) ([92dd6d2](https://github.com/custom-cards/button-card/commit/92dd6d2f49171b995a8f1f940c27e326045a7a86)), closes [#854](https://github.com/custom-cards/button-card/issues/854)
* Support nested templates on nested button cards ([#942](https://github.com/custom-cards/button-card/issues/942)) ([795d3d6](https://github.com/custom-cards/button-card/commit/795d3d644d624d3b4d2d51a34d3fcc6e340c754c)), closes [#544](https://github.com/custom-cards/button-card/issues/544) [#620](https://github.com/custom-cards/button-card/issues/620) [#880](https://github.com/custom-cards/button-card/issues/880) [#879](https://github.com/custom-cards/button-card/issues/879) [#730](https://github.com/custom-cards/button-card/issues/730)

### Bug Fixes

* Don't trigger action on touchcancel event ([#808](https://github.com/custom-cards/button-card/issues/808)) ([ebbbb31](https://github.com/custom-cards/button-card/commit/ebbbb318ebcfd73a32cae5a6defbcea9e1336ae0)), closes [#914](https://github.com/custom-cards/button-card/issues/914)
* Fix camera live stream refresh and support aspect ratio & fit mode ([#944](https://github.com/custom-cards/button-card/issues/944)) ([bd9fa97](https://github.com/custom-cards/button-card/commit/bd9fa97665851ba93709a44398d076a2a805ee00)), closes [#913](https://github.com/custom-cards/button-card/issues/913)
* input_button entity to default to input_button.press for tap_action ([#949](https://github.com/custom-cards/button-card/issues/949)) ([f8e19fd](https://github.com/custom-cards/button-card/commit/f8e19fdfbce89ab9d6daab36fe8dcf48708a8b6f)), closes [#531](https://github.com/custom-cards/button-card/issues/531) [#572](https://github.com/custom-cards/button-card/issues/572)
* Replace deprecated --paper-item-icon-color ([#925](https://github.com/custom-cards/button-card/issues/925)) ([8e34b84](https://github.com/custom-cards/button-card/commit/8e34b841dde312b4b4fd5a535303e6b1800d8adb)), closes [#924](https://github.com/custom-cards/button-card/issues/924)
* Update button-card error display ([#958](https://github.com/custom-cards/button-card/issues/958)) ([921b6eb](https://github.com/custom-cards/button-card/commit/921b6eb2ebd523ba3cc8f325537b1b5107aaddf1))

### Documentation

* Update card_mod example configuration in README.md ([#953](https://github.com/custom-cards/button-card/issues/953)) ([89dacd6](https://github.com/custom-cards/button-card/commit/89dacd6d6c138a52347d435a78a5a2909d2fa136)), closes [#817](https://github.com/custom-cards/button-card/issues/817)
* Update installation instructions ([#943](https://github.com/custom-cards/button-card/issues/943)) ([c4c0be8](https://github.com/custom-cards/button-card/commit/c4c0be821b75f92d759c6e87f0cf97eede3675e3)), closes [#912](https://github.com/custom-cards/button-card/issues/912)

## [4.2.0-dev.2](https://github.com/custom-cards/button-card/compare/v4.2.0-dev.1...v4.2.0-dev.2) (2025-08-28)

### Features

* Support for sections using `section_mode: true` ([#959](https://github.com/custom-cards/button-card/issues/959)) ([92dd6d2](https://github.com/custom-cards/button-card/commit/92dd6d2f49171b995a8f1f940c27e326045a7a86)), closes [#854](https://github.com/custom-cards/button-card/issues/854)

## [4.2.0-dev.1](https://github.com/custom-cards/button-card/compare/v4.1.3-dev.1...v4.2.0-dev.1) (2025-08-27)

### Features

* Allow *_action to be a template string returning an object ([#945](https://github.com/custom-cards/button-card/issues/945)) ([b235a04](https://github.com/custom-cards/button-card/commit/b235a04bebe551585b6d4ab445be58483147bc7b)), closes [#850](https://github.com/custom-cards/button-card/issues/850) [#611](https://github.com/custom-cards/button-card/issues/611) [#543](https://github.com/custom-cards/button-card/issues/543) [#425](https://github.com/custom-cards/button-card/issues/425)
* Support nested templates on nested button cards ([#942](https://github.com/custom-cards/button-card/issues/942)) ([795d3d6](https://github.com/custom-cards/button-card/commit/795d3d644d624d3b4d2d51a34d3fcc6e340c754c)), closes [#544](https://github.com/custom-cards/button-card/issues/544) [#620](https://github.com/custom-cards/button-card/issues/620) [#880](https://github.com/custom-cards/button-card/issues/880) [#879](https://github.com/custom-cards/button-card/issues/879) [#730](https://github.com/custom-cards/button-card/issues/730)

### Bug Fixes

* Fix camera live stream refresh and support aspect ratio & fit mode ([#944](https://github.com/custom-cards/button-card/issues/944)) ([bd9fa97](https://github.com/custom-cards/button-card/commit/bd9fa97665851ba93709a44398d076a2a805ee00)), closes [#913](https://github.com/custom-cards/button-card/issues/913)
* input_button entity to default to input_button.press for tap_action ([#949](https://github.com/custom-cards/button-card/issues/949)) ([f8e19fd](https://github.com/custom-cards/button-card/commit/f8e19fdfbce89ab9d6daab36fe8dcf48708a8b6f)), closes [#531](https://github.com/custom-cards/button-card/issues/531) [#572](https://github.com/custom-cards/button-card/issues/572)
* Update button-card error display ([#958](https://github.com/custom-cards/button-card/issues/958)) ([921b6eb](https://github.com/custom-cards/button-card/commit/921b6eb2ebd523ba3cc8f325537b1b5107aaddf1))

### Documentation

* Update card_mod example configuration in README.md ([#953](https://github.com/custom-cards/button-card/issues/953)) ([89dacd6](https://github.com/custom-cards/button-card/commit/89dacd6d6c138a52347d435a78a5a2909d2fa136)), closes [#817](https://github.com/custom-cards/button-card/issues/817)
* Update installation instructions ([#943](https://github.com/custom-cards/button-card/issues/943)) ([c4c0be8](https://github.com/custom-cards/button-card/commit/c4c0be821b75f92d759c6e87f0cf97eede3675e3)), closes [#912](https://github.com/custom-cards/button-card/issues/912)

### [4.1.3-dev.1](https://github.com/custom-cards/button-card/compare/v4.1.2...v4.1.3-dev.1) (2025-08-15)


### Bug Fixes

* Don't trigger action on touchcancel event ([#808](https://github.com/custom-cards/button-card/issues/808)) ([ebbbb31](https://github.com/custom-cards/button-card/commit/ebbbb318ebcfd73a32cae5a6defbcea9e1336ae0)), closes [#914](https://github.com/custom-cards/button-card/issues/914)
* Replace deprecated --paper-item-icon-color ([#925](https://github.com/custom-cards/button-card/issues/925)) ([8e34b84](https://github.com/custom-cards/button-card/commit/8e34b841dde312b4b4fd5a535303e6b1800d8adb)), closes [#924](https://github.com/custom-cards/button-card/issues/924)

### [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](https://github.com/custom-cards/button-card/commit/56c3f44066c6bd08fb8a7d8bb8fa679920dc5992)), 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](https://github.com/custom-cards/button-card/commit/ab2b3939bcce504125853d2ca9312d32f9a3f6d6))

### [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](https://github.com/custom-cards/button-card/commit/ab2b3939bcce504125853d2ca9312d32f9a3f6d6))

### [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](https://github.com/custom-cards/button-card/commit/56c3f44066c6bd08fb8a7d8bb8fa679920dc5992)), closes [#738](https://github.com/custom-cards/button-card/issues/738) [#759](https://github.com/custom-cards/button-card/issues/759)

### [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](https://github.com/custom-cards/button-card/commit/b63f0db220b8a9c72383c4288546112625fdff04)), closes [#737](https://github.com/custom-cards/button-card/issues/737)

## [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](https://github.com/custom-cards/button-card/commit/b372642253c890b08c7de7395d138b01fb90120b)), 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](https://github.com/custom-cards/button-card/commit/41dea3f72a607ea0fc1c71269bb0122f27970a6e)), closes [#737](https://github.com/custom-cards/button-card/issues/737)
* lock would not display on many browsers ([245441b](https://github.com/custom-cards/button-card/commit/245441b69fad5f56f43ea1b5d189b4ddbbab2ebb)), 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](https://github.com/custom-cards/button-card/commit/53fee75c163b72df42b859705af536c4c7dffac6)), closes [#742](https://github.com/custom-cards/button-card/issues/742) [#744](https://github.com/custom-cards/button-card/issues/744)

## [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](https://github.com/custom-cards/button-card/commit/245441b69fad5f56f43ea1b5d189b4ddbbab2ebb)), closes [#740](https://github.com/custom-cards/button-card/issues/740)

## [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](https://github.com/custom-cards/button-card/commit/53fee75c163b72df42b859705af536c4c7dffac6)), closes [#742](https://github.com/custom-cards/button-card/issues/742) [#744](https://github.com/custom-cards/button-card/issues/744)

## [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](https://github.com/custom-cards/button-card/commit/b372642253c890b08c7de7395d138b01fb90120b)), 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](https://github.com/custom-cards/button-card/commit/41dea3f72a607ea0fc1c71269bb0122f27970a6e)), closes [#737](https://github.com/custom-cards/button-card/issues/737)

### [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](https://github.com/custom-cards/button-card/commit/a63f9a96a5e4d4582ca90095c49464b0462a451a)), closes [#737](https://github.com/custom-cards/button-card/issues/737)

## [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](https://github.com/custom-cards/button-card/commit/73c216f1bf82c104848bb5d7aef2d91ba3597a95)), 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](https://github.com/custom-cards/button-card/commit/d9c17a40652c020a42497828a56f49d11748d1b8)), 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](https://github.com/custom-cards/button-card/commit/1638cf81217ef696a6b0967550cbbb9f3849c813))
* **helpers:** all template functions are now available through the `helpers` object ([f22ed69](https://github.com/custom-cards/button-card/commit/f22ed6982f09d1ffbc303a14f81a9a6345acd274))
* **icons:** replace ha-icon with ha-state-icon to follow new HA's icons per domain automatically ([ab6a3f5](https://github.com/custom-cards/button-card/commit/ab6a3f5bd39fc48890f1b851e929df2fe1d8796c))
* **templates:** new `relativeTime` function to display a relative time in a template and update it automatically ([965a3d7](https://github.com/custom-cards/button-card/commit/965a3d7b97b9fe1d155029dd6156f7a2f051f5a9)), closes [#701](https://github.com/custom-cards/button-card/issues/701)
* **templates:** New date and time format helpers ([9b4fb05](https://github.com/custom-cards/button-card/commit/9b4fb05e4e5b3d70fa4c1f8f7f5778ca55e551f6))
* **variables:** A variable can depend on another variable based on their name's alphabetical order ([8cddccb](https://github.com/custom-cards/button-card/commit/8cddccb83466d2db29f832085e2c701bdef6b254)), closes [#656](https://github.com/custom-cards/button-card/issues/656)
* Force the `numeric_precision` for states which are numbers ([24d75c2](https://github.com/custom-cards/button-card/commit/24d75c2651c9e6b3b080b1c2561bda2c30a2f294))
* new helper functions for date/time in templates ([2b75993](https://github.com/custom-cards/button-card/commit/2b75993f22e4624776c839bfa9dafe1ddde7660d)), closes [#701](https://github.com/custom-cards/button-card/issues/701)
* Support for localization in templates ([5de2dc9](https://github.com/custom-cards/button-card/commit/5de2dc906781f46a952377d40ba77d75728f19e3))


### Bug Fixes

* *_action more-info entity as a template was not evaluated ([02441b2](https://github.com/custom-cards/button-card/commit/02441b29820bc84816bb480a94307291c20028d4)), 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](https://github.com/custom-cards/button-card/commit/f192ded67f092a47d4bafe2c0fec2d8ccc55dc44)), closes [#645](https://github.com/custom-cards/button-card/issues/645)
* Color are now aligned with HA > 2022.12 ([685d55e](https://github.com/custom-cards/button-card/commit/685d55e49cacfacace96a56d17f97649a4e3cafd)), closes [#635](https://github.com/custom-cards/button-card/issues/635)
* custom fields would sometime throw unsafeHTML errors ([c67e1d5](https://github.com/custom-cards/button-card/commit/c67e1d550c79bc6610e1592c95e509cfc6a06fa5)), closes [#725](https://github.com/custom-cards/button-card/issues/725)
* ha-icon (if in custom_fields) size was weird ([a448c8e](https://github.com/custom-cards/button-card/commit/a448c8e826605d17591beebd4a230d0287cdf945))
* ha-state-icon CSS selector was wrong ([a1bb39a](https://github.com/custom-cards/button-card/commit/a1bb39a71c55dca505d4b1a7d820229e26d4e0eb))
* icon would be cut with card height defined ([19f8393](https://github.com/custom-cards/button-card/commit/19f83931939a8c15bd9e1174f11c0e52dd451bf8)), closes [#731](https://github.com/custom-cards/button-card/issues/731)
* localization fix ([02dfab3](https://github.com/custom-cards/button-card/commit/02dfab3db391d2ab671f9722c730c1e70dd723db)), 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](https://github.com/custom-cards/button-card/commit/bf075b00e4a2f7aa6a193d03eb8c93e0aa30e8ae)), closes [#694](https://github.com/custom-cards/button-card/issues/694)
* lock would go out of the button ([0b3e4d3](https://github.com/custom-cards/button-card/commit/0b3e4d331cfa21b5f682c962ea6222c9e1be7754))
* non string fiels would error with an unsafeHTML error ([d65c347](https://github.com/custom-cards/button-card/commit/d65c34757a20859a8c3c70fd2b612bfe818a662a)), closes [#725](https://github.com/custom-cards/button-card/issues/725)
* numerical states would not follow HA's format ([72d7c41](https://github.com/custom-cards/button-card/commit/72d7c4133ff96713ecbe42168db0d6732b82510c)), closes [#662](https://github.com/custom-cards/button-card/issues/662)
* optimize contrast color compute ([35109c3](https://github.com/custom-cards/button-card/commit/35109c3d5c8454958f67be706026e73786f853bc))
* relativeTime didn't support to set the first letter uppercase ([f8b9b09](https://github.com/custom-cards/button-card/commit/f8b9b0916964495c3b0b9341b5c6751a9a99a1c8)), closes [#735](https://github.com/custom-cards/button-card/issues/735)
* Some cards with child cards wouldn't be clickable ([9f21c58](https://github.com/custom-cards/button-card/commit/9f21c58dacf5605851ef3ab2d936ef8f35d0b783))
* text/icon contrast when using label-card ([01e199b](https://github.com/custom-cards/button-card/commit/01e199b18b9caa31d4bc1a43c5a143e8d40f2836))
* variable which were objects were only evaluated once ([e40bda9](https://github.com/custom-cards/button-card/commit/e40bda9da67008cbca8f18fc0ef4d65c7b8f08b5))
* **templates:** `variables` was `undefined` if none where provided. ([fad332b](https://github.com/custom-cards/button-card/commit/fad332b80d0fe910fa99e13e1e291ffa4b65188e)), closes [#718](https://github.com/custom-cards/button-card/issues/718)
* tooltip would show over everything ([1bc8f99](https://github.com/custom-cards/button-card/commit/1bc8f9950159a260536d6918b55c3cb15eb7bb04))
* **color:** main config `color` was broken ([b93c996](https://github.com/custom-cards/button-card/commit/b93c9969c2d1d9be9486edc1607a11635b03c29a))
* **hacs:** minimum HA version 2023.7 ([db3b394](https://github.com/custom-cards/button-card/commit/db3b394fa6e970599d58c51d0caaa0ab2afbda1d))
* **templates:** don't use the `numeric_precision` from the card config for `localize` in js templates by default ([2cc384f](https://github.com/custom-cards/button-card/commit/2cc384f9dc5cb91a88a31b363db6083147092bb5))

## [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](https://github.com/custom-cards/button-card/commit/e40bda9da67008cbca8f18fc0ef4d65c7b8f08b5))

## [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](https://github.com/custom-cards/button-card/commit/1638cf81217ef696a6b0967550cbbb9f3849c813))


### Bug Fixes

* relativeTime didn't support to set the first letter uppercase ([f8b9b09](https://github.com/custom-cards/button-card/commit/f8b9b0916964495c3b0b9341b5c6751a9a99a1c8)), closes [#735](https://github.com/custom-cards/button-card/issues/735)

## [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](https://github.com/custom-cards/button-card/commit/8cddccb83466d2db29f832085e2c701bdef6b254)), closes [#656](https://github.com/custom-cards/button-card/issues/656)

## [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](https://github.com/custom-cards/button-card/commit/02441b29820bc84816bb480a94307291c20028d4)), closes [#734](https://github.com/custom-cards/button-card/issues/734)

## [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](https://github.com/custom-cards/button-card/commit/9b4fb05e4e5b3d70fa4c1f8f7f5778ca55e551f6))

## [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](https://github.com/custom-cards/button-card/commit/f22ed6982f09d1ffbc303a14f81a9a6345acd274))


### Bug Fixes

* `group_expand` now works even if the entity is not a `group.xxx` ([f192ded](https://github.com/custom-cards/button-card/commit/f192ded67f092a47d4bafe2c0fec2d8ccc55dc44)), closes [#645](https://github.com/custom-cards/button-card/issues/645)

## [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](https://github.com/custom-cards/button-card/commit/fad332b80d0fe910fa99e13e1e291ffa4b65188e)), closes [#718](https://github.com/custom-cards/button-card/issues/718)

## [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](https://github.com/custom-cards/button-card/commit/19f83931939a8c15bd9e1174f11c0e52dd451bf8)), closes [#731](https://github.com/custom-cards/button-card/issues/731)

## [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](https://github.com/custom-cards/button-card/commit/965a3d7b97b9fe1d155029dd6156f7a2f051f5a9)), closes [#701](https://github.com/custom-cards/button-card/issues/701)


### Bug Fixes

* ha-state-icon CSS selector was wrong ([a1bb39a](https://github.com/custom-cards/button-card/commit/a1bb39a71c55dca505d4b1a7d820229e26d4e0eb))
* tooltip would show over everything ([1bc8f99](https://github.com/custom-cards/button-card/commit/1bc8f9950159a260536d6918b55c3cb15eb7bb04))
* **templates:** don't use the `numeric_precision` from the card config for `localize` in js templates by default ([2cc384f](https://github.com/custom-cards/button-card/commit/2cc384f9dc5cb91a88a31b363db6083147092bb5))

## [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](https://github.com/custom-cards/button-card/commit/b93c9969c2d1d9be9486edc1607a11635b03c29a))

## [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](https://github.com/custom-cards/button-card/commit/72d7c4133ff96713ecbe42168db0d6732b82510c)), closes [#662](https://github.com/custom-cards/button-card/issues/662)

## [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](https://github.com/custom-cards/button-card/commit/24d75c2651c9e6b3b080b1c2561bda2c30a2f294))
* **action:** `repeat_limit` for `hold_action` ([73c216f](https://github.com/custom-cards/button-card/commit/73c216f1bf82c104848bb5d7aef2d91ba3597a95)), 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](https://github.com/custom-cards/button-card/commit/2b75993f22e4624776c839bfa9dafe1ddde7660d)), closes [#701](https://github.com/custom-cards/button-card/issues/701)


### Bug Fixes

* ha-icon (if in custom_fields) size was weird ([a448c8e](https://github.com/custom-cards/button-card/commit/a448c8e826605d17591beebd4a230d0287cdf945))

## [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](https://github.com/custom-cards/button-card/commit/d65c34757a20859a8c3c70fd2b612bfe818a662a)), closes [#725](https://github.com/custom-cards/button-card/issues/725)

## [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](https://github.com/custom-cards/button-card/commit/5de2dc906781f46a952377d40ba77d75728f19e3))


### Bug Fixes

* custom fields would sometime throw unsafeHTML errors ([c67e1d5](https://github.com/custom-cards/button-card/commit/c67e1d550c79bc6610e1592c95e509cfc6a06fa5)), closes [#725](https://github.com/custom-cards/button-card/issues/725)
* **hacs:** minimum HA version 2023.7 ([db3b394](https://github.com/custom-cards/button-card/commit/db3b394fa6e970599d58c51d0caaa0ab2afbda1d))

## [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](https://github.com/custom-cards/button-card/commit/35109c3d5c8454958f67be706026e73786f853bc))
* Some cards with child cards wouldn't be clickable ([9f21c58](https://github.com/custom-cards/button-card/commit/9f21c58dacf5605851ef3ab2d936ef8f35d0b783))

## [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](https://github.com/custom-cards/button-card/commit/01e199b18b9caa31d4bc1a43c5a143e8d40f2836))

## [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](https://github.com/custom-cards/button-card/commit/d9c17a40652c020a42497828a56f49d11748d1b8)), closes [#711](https://github.com/custom-cards/button-card/issues/711) [#685](https://github.com/custom-cards/button-card/issues/685)

## [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](https://github.com/custom-cards/button-card/commit/ab6a3f5bd39fc48890f1b851e929df2fe1d8796c))

## [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](https://github.com/custom-cards/button-card/commit/685d55e49cacfacace96a56d17f97649a4e3cafd)), closes [#635](https://github.com/custom-cards/button-card/issues/635)
* localization fix ([02dfab3](https://github.com/custom-cards/button-card/commit/02dfab3db391d2ab671f9722c730c1e70dd723db)), 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](https://github.com/custom-cards/button-card/commit/bf075b00e4a2f7aa6a193d03eb8c93e0aa30e8ae)), closes [#694](https://github.com/custom-cards/button-card/issues/694)
* lock would go out of the button ([0b3e4d3](https://github.com/custom-cards/button-card/commit/0b3e4d331cfa21b5f682c962ea6222c9e1be7754))

## [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](https://github.com/custom-cards/button-card/commit/440dc77e7e94ee2db2166be5612419426fcf3582)), closes [#426](https://github.com/custom-cards/button-card/issues/426)


### Bug Fixes

* card broken with HA 2023.04bXX ([9b4f1e2](https://github.com/custom-cards/button-card/commit/9b4f1e23be55a11e7c520e49cbd366380cdba23e)), 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](https://github.com/custom-cards/button-card/commit/699b57d5fce3cd9f9d26b9e1b23fa086239f9f89)), closes [#672](https://github.com/custom-cards/button-card/issues/672)
* remove border from blank card ([b05c6b4](https://github.com/custom-cards/button-card/commit/b05c6b470b70f1b6e3a4383d561eb17ca8557e14)), 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](https://github.com/custom-cards/button-card/commit/9b5f728905692649d50f291e738e807e3f5ac36e))
* minor quotes correction ([#438](https://github.com/custom-cards/button-card/issues/438)) ([07ae7a1](https://github.com/custom-cards/button-card/commit/07ae7a129384da329b6f9cb7af62b78e3c34f16a))

## [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](https://github.com/custom-cards/button-card/commit/9b4f1e23be55a11e7c520e49cbd366380cdba23e)), 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](https://github.com/custom-cards/button-card/commit/699b57d5fce3cd9f9d26b9e1b23fa086239f9f89)), closes [#672](https://github.com/custom-cards/button-card/issues/672)
* remove border from blank card ([b05c6b4](https://github.com/custom-cards/button-card/commit/b05c6b470b70f1b6e3a4383d561eb17ca8557e14)), 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](https://github.com/custom-cards/button-card/commit/9b5f728905692649d50f291e738e807e3f5ac36e))
* minor quotes correction ([#438](https://github.com/custom-cards/button-card/issues/438)) ([07ae7a1](https://github.com/custom-cards/button-card/commit/07ae7a129384da329b6f9cb7af62b78e3c34f16a))

## [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](https://github.com/custom-cards/button-card/commit/440dc77e7e94ee2db2166be5612419426fcf3582)), closes [#426](https://github.com/custom-cards/button-card/issues/426)

### [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](https://github.com/custom-cards/button-card/commit/f4fcbfe2ee7e5a9f1ca7a550c77767e921e7b802)), closes [#429](https://github.com/custom-cards/button-card/issues/429)
