Commit Graph

356 Commits

Author SHA1 Message Date
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
Jérôme Wiedemann 24d75c2651 feat: Force the `numeric_precision` for states which are numbers 2023-07-24 19:20:45 +00:00
Jérôme Wiedemann a448c8e826 fix: ha-icon (if in custom_fields) size was weird 2023-07-24 18:56:20 +00:00
Jérôme Wiedemann 452ee0ff24 Revert "feat(action): Support for `press_action` and `release_action`"
This reverts commit 27043d7c11.
2023-07-24 18:50:15 +00:00
Jérôme Wiedemann 27043d7c11 feat(action): Support for `press_action` and `release_action` 2023-07-24 17:18:12 +00:00
Jérôme Wiedemann 73c216f1bf feat(action): `repeat_limit` for `hold_action`
Fix #564, Fix #555
2023-07-24 16:46:10 +00:00
Jérôme Wiedemann 2b75993f22 feat: new helper functions for date/time in templates
Fix #701
2023-07-24 15:04:42 +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
Jérôme Wiedemann d65c34757a fix: non string fiels would error with an unsafeHTML error
Fix #725
2023-07-24 14:06:46 +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
Jérôme Wiedemann c67e1d550c fix: custom fields would sometime throw unsafeHTML errors
Fix #725
2023-07-24 11:08:27 +00:00
Jérôme Wiedemann 5de2dc9067 feat: Support for localization in templates 2023-07-24 10:56:31 +00:00
Jérôme Wiedemann 56e0cc6f94 chore: Fix HACS Badge 2023-07-24 08:12:51 +00:00
Jérôme Wiedemann db3b394fa6 fix(hacs)!: minimum HA version 2023.7
BREAKING CHANGE: Minimum required HA Version is now 2023.7
2023-07-24 08:09:04 +00:00
Jérôme Wiedemann 23288ed001 chore: update maintained badge 2023-07-24 08:06:42 +00:00
Jérôme Wiedemann 8b0bd53320 Merge branch 'dev' of github.com:custom-cards/button-card into dev 2023-07-24 07:50:53 +00:00
Jérôme Wiedemann 331ed6ad53 chore: remove dependency with custom-card-helpers 2023-07-24 07:50:43 +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
Jérôme Wiedemann 9ea1b515a3 chore: update switch device class in config 2023-07-24 02:02:38 +00:00
Jérôme Wiedemann 35109c3d5c fix: optimize contrast color compute 2023-07-24 01:45:34 +00:00
Jérôme Wiedemann 9f21c58dac fix: Some cards with child cards wouldn't be clickable 2023-07-24 01:45:34 +00:00
Jérôme Wiedemann 1b87e97105 chore: update launch.json 2023-07-24 01:45:34 +00:00
Jérôme Wiedemann d438db6e4c chore: fix lit-element import deprecation message 2023-07-24 01:45:34 +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
Jérôme Wiedemann 01e199b18b fix: text/icon contrast when using label-card 2023-07-24 00:01:52 +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
Jérôme Wiedemann 3dd401ead3 chore: fix cache name 2023-07-23 22:46:46 +00:00
dependabot[bot] 0d8cea5bf5
Bump actions/setup-node from 2.1.4 to 3.6.0 (#673) 2023-07-23 22:33:41 +00:00
dependabot[bot] 69403499ab
Bump actions/cache from 2 to 3 (#675) 2023-07-23 22:33:32 +00:00
dependabot[bot] 86d1e73b3c
Bump actions/checkout from 2 to 3 (#676) 2023-07-23 22:33:21 +00:00
Jérôme Wiedemann 2f42a6df8b chore: fix compilation errors 2023-07-23 22:30:48 +00:00
Jérôme Wiedemann d9c17a4065 feat(actions)!: Support for the new action (assist) and all the future ones
This also fixes the latest translations missing and starts the work to remove custom-cards-helper from the dependencies.

BREAKING CHANGE: 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)

Fix #711, #685
2023-07-23 22:23:29 +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
Jérôme Wiedemann ab6a3f5bd3 feat(icons)!: replace ha-icon with ha-state-icon to follow new HA's icons per domain automatically
BREAKING CHANGE: This might break your card-mod setup
2023-07-23 18:15:21 +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
Jérôme Wiedemann 685d55e49c fix!: Color are now aligned with HA > 2022.12
BREAKING CHANGE: this might break some of your color settings
Fix #635
2023-07-23 16:51:18 +00:00
Jérôme Wiedemann 0b3e4d331c fix: lock would go out of the button 2023-07-23 16:51:18 +00:00
Jérôme Wiedemann bf075b00e4 fix: lock icon was displaying over more-info dialog
Fix #694
2023-07-23 16:51:18 +00:00
Jérôme Wiedemann 02dfab3db3 fix: localization fix
Fix #685 #693
2023-07-23 16:51:03 +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
Jérôme Wiedemann b7762ab11c chore: fix release CI 2023-04-02 14:53:27 +00:00
Jérôme Wiedemann 74885588f8 chore: fix node version in CI 2023-04-02 14:49:01 +00:00
Jérôme Wiedemann f2a48f86bf chore: configure dependabot 2023-04-02 14:45:58 +00:00
Jérôme Wiedemann 470998d04d chore: add audit fix script 2023-04-02 14:43:56 +00:00
Jérôme Wiedemann 79c7b0a566 chore: upgrade deps 2023-04-02 14:43:44 +00:00
Jérôme Wiedemann 699b57d5fc fix: extra space at bottom because of button-card-action-handler
Fix #672
2023-04-02 14:37:04 +00:00
Jérôme Wiedemann 9b4f1e23be fix: card broken with HA 2023.04bXX
Closes #669, closes #671
2023-04-02 14:32:23 +00:00
Jérôme Wiedemann b05c6b470b fix: remove border from blank card
Fix #652
2023-04-02 14:29:39 +00:00
clemalex824 07ae7a1293
doc: minor quotes correction (#438)
Edit enclose quote in Javascript Templates example otherwise return an error
2021-03-20 17:05:28 +01:00