Jérôme W
b372642253
feat(templates): Support for one time evaluation of js templates in `triggers_update` and `entity` ( #741 )
...
Fixes #618 , Fixes #558 , Fixes #368
2023-07-30 23:22:09 +02:00
Jérôme Wiedemann
f8b9b09169
fix: relativeTime didn't support to set the first letter uppercase
...
Fix #735
2023-07-28 11:12:28 +00:00
Jérôme Wiedemann
1638cf8121
feat(custom_fields): Add `do_not_eval` to stop evaluating js templates in an embedded card
2023-07-27 19:32:00 +00:00
Jérôme Wiedemann
8cddccb834
feat(variables): A variable can depend on another variable based on their name's alphabetical order
...
Fix #656
2023-07-27 19:00:26 +00:00
Jérôme Wiedemann
295909be5e
chore(doc): Update README badges + prettier config
2023-07-27 16:13:22 +00:00
Jérôme Wiedemann
9b4fb05e4e
feat(templates): New date and time format helpers
2023-07-26 16:34:20 +00:00
Jérôme Wiedemann
f22ed6982f
feat(helpers)!: all template functions are now available through the `helpers` object
...
BREAKING CHANGE: 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)`
2023-07-26 10:45:49 +00:00
Jérôme Wiedemann
965a3d7b97
feat(templates): new `relativeTime` function to display a relative time in a template and update it automatically
...
Fix #701
2023-07-26 00:07:29 +00:00
Jérôme Wiedemann
2cc384f9dc
fix(templates): don't use the `numeric_precision` from the card config for `localize` in js templates by default
2023-07-25 23:40:57 +00:00
Jérôme Wiedemann
72d7c4133f
fix: numerical states would not follow HA's format
...
Fix #662
2023-07-24 23:38:04 +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
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
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
23288ed001
chore: update maintained badge
2023-07-24 08:06:42 +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
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
clemalex824
9b5f728905
doc: minor quotes correction ( #437 )
...
Edit enclose quote in lock example otherwise return an error
2021-02-21 18:09:50 +01:00
Jérôme Wiedemann
440dc77e7e
feat(state_display): Support for `state_display` in `state`
...
Fixes #426
2021-02-17 21:33:21 +00:00
Marius
1010a09a77
link to 'official' iOS companion app ( #420 )
...
and explicitly link to the haptic feedback section
Co-authored-by: Jérôme W <jerome@wnetworks.org>
2021-01-27 03:28:44 +01:00
Kendell R
d27d1cf3ca
Update maintenance badge ( #424 )
...
This PR being merged means the project is still maintained.
2021-01-27 03:27:47 +01:00
Jérôme Wiedemann
32e646d586
Squashed commit of the following:
...
commit 7cf14a6468489615715b07aa5657c08d1f5452e7
Merge: b594411
ba401e8
Author: Jérôme Wiedemann <jerome@wnetworks.org>
Date: Wed Nov 4 17:16:07 2020 +0000
Merge branch 'feature/388_ehnance-documentation-for-config-templates' of https://github.com/bilak-poc/button-card into bilak-poc-feature/388_ehnance-documentation-for-config-templates
commit ba401e8d2e
Author: Lukáš Vasek <bilaak@gmail.com>
Date: Tue Oct 27 21:02:33 2020 +0100
Updated readme
commit e221b666c8
Author: Lukáš Vasek <bilaak@gmail.com>
Date: Tue Oct 27 17:51:36 2020 +0100
Added description about which configuration should be changed for configuration templates
2020-11-04 17:17:51 +00:00
Jérôme Wiedemann
0ca11564b9
Add group_expand
2020-11-01 19:34:09 +00:00
myhomeiot
67c637bdff
Typo ( #382 )
2020-10-27 20:54:36 +01:00
root
93a7f532f7
Update documentation
2020-10-04 22:27:31 +00:00
David Martin
9387f6a6f2
Various typos and fixes ( #372 )
...
Co-authored-by: Jérôme W <jerome@wnetworks.org>
2020-09-27 16:22:18 +02:00
Kendell R
747a2dd4a2
Note HACS is supported and fix typo ( #366 )
...
* Update README.md
* Update README.md
Co-authored-by: Jérôme W <jerome@wnetworks.org>
2020-09-27 16:19:53 +02:00
SeanPaulE
2f9029851d
Fix spelling in code example ( #346 )
...
update livimg_room_speaker to living_room_speaker on lines 1011 ad 1020
Co-authored-by: Jérôme W <jerome@wnetworks.org>
2020-09-27 16:16:56 +02:00
Daniel Bahl
489cf39487
Community-links ( #342 )
...
Links to awesome tutorials using this card. :)
Co-authored-by: Jérôme W <jerome@wnetworks.org>
2020-09-27 16:15:46 +02:00
Gerard
432c038daf
Doc: Override location of lock ( #336 )
...
Add an example how to override the location of the lock as discussed in #335
Co-authored-by: Jérôme W <jerome@wnetworks.org>
2020-09-27 16:14:07 +02:00
root
2d85e29f03
Fix errored link in documentation
...
Fix #332
2020-06-07 16:42:00 +00:00
root
7ed69dc20a
Example on how to change the ripple color
2020-05-22 17:12:58 +00:00
root
03ae21b666
Update readme
2020-04-26 16:23:32 +00:00
Petro31
b7f354dae6
Add grid-template-areas explanation ( #313 )
...
Adds a quick explanation on the grid-template-areas style attribute.
Co-authored-by: Jérôme W <jerome@wnetworks.org>
2020-04-21 00:58:51 +02:00
Jérôme Wiedemann
ed1bc74629
Update Maintained Badge
2020-04-14 19:47:57 +02:00
Jérôme Wiedemann
c25fe6d2a5
Support for templates in variables
2020-03-15 19:59:04 +01:00
Jérôme Wiedemann
84ac418d5c
Add CSS injection through extra_styles
2020-03-15 19:59:04 +01:00
Jérôme Wiedemann
d91993df16
Support for alternative state display
2020-03-15 19:59:04 +01:00
Jérôme Wiedemann
8d29f56434
Add support for live camera streams
2020-03-15 19:59:04 +01:00
Jérôme Wiedemann
94e53b7500
Fix variables documentation
2020-01-05 16:03:32 +01:00
Jérôme Wiedemann
770e221c2b
Support for variables in the templates
2020-01-05 15:53:47 +01:00
Jérôme Wiedemann
4efafe4ab6
Template support in custom_fields' cards config
2020-01-05 15:53:47 +01:00
Jérôme Wiedemann
6dc0573cf7
Update manual download link
2020-01-03 19:15:27 +01:00
Ian Richardson
73a3e1b86c
Update README.md
2019-11-04 09:59:57 -06:00
Jérôme W
b1fa112fbc
Bunch of features ( #231 )
...
* Add support for any card in custom_fields
* Fix version script
* Drop support for custom_updater
* confirmation template support and per action confirmation
* Confirmation supports templates and exemptions
* Support for Safari 10
* Using createThing from cch
* Proper events handling for embedded cards
* Lock with exemptions and delay
* Fix locking documentation
* Fix default color documentation
* Updating templates documentation
* Support for different unlock clicks
* Update embedded card documentation
2019-10-21 10:24:49 +02:00
Jérôme Wiedemann
62b648e504
Fix documentation
2019-07-28 15:13:07 +02:00
Jérôme W
a9f27a64a2
2.0.0 ( #202 )
...
* _template deprecation and custom fields support (#199 )
* Update custom-card-helpers
* _template deprecated and custom_fields support
* Update dependencies
* Add npm audit fix to circleci
* Styles support templating
* *_action support templates
* Some linting
* Fixes #200
* Fixing template eval if input is a number
* State values support templating
* Documentation update
* Doc formating issue
* Bump major version
2019-07-26 21:27:18 +02:00