140 Commits

Author SHA1 Message Date
[pʲɵs]
22e1c38e66
Document int and boolean template filters (#23221) 2022-06-29 12:33:35 +02:00
Jonas Diemer
e753929330
Fixing some inaccuracies on unpack() filter (#22967) 2022-06-20 23:09:30 +02:00
Erik Montnemery
b1c4be88ed
Update template documentation to reflect stricter handling of errors (#22885) 2022-05-25 17:43:40 +02:00
Kevin Stillhammer
479413cc5f
Add template as_timedelta (#22740) 2022-05-23 19:33:49 +02:00
jugla
12b4363a50
add unavailable status with an example (#22607) 2022-05-09 13:09:44 +02:00
Mike Degatano
50fedcd03b
Mention short-circuiting issue in iif (#22092) 2022-03-27 17:20:12 +02:00
Chris Browet
50ae2201a1
Templating: "search" actually defaults to IgnoreCase false (#21993) 2022-03-12 17:35:00 +01:00
Danny Tsang
127c7707ac
Fix rendering of is_defined example. (#21575) 2022-02-18 23:54:30 +01:00
Gabriel Visser
85b2be9721
Fix iif template example typo (#21529) 2022-02-07 11:59:37 +01:00
PCR-2020
66604b8702
Removed ambigious numbers in example (#21505) 2022-02-06 18:25:25 +01:00
Jan Bouwhuis
9565d350bd
Template filter is_defined missing documentation (#21459) 2022-02-03 14:56:08 +01:00
Franck Nijhof
a5cd7fc19b
Merge branch 'current' into next 2022-01-23 20:11:56 +01:00
indexample
89b5f91b0b
Update templating.markdown (#21227) 2022-01-17 14:48:55 +01:00
Eiko Wagenknecht
59cbb73907
Add missing "can" in templating docs (#21196) 2022-01-14 22:44:08 +02:00
Petro31
26a1714b1a
Add is_number test (#21110) 2022-01-10 13:01:52 +01:00
Jan Bouwhuis
04afa8997e
Explain mqtt templating and mention attribute use (#20735) 2022-01-05 19:04:57 +01:00
avee87
906b9af95c
Update template min/max/average documentation (#20448) 2022-01-04 11:01:20 +01:00
Franck Nijhof
b0d25401a2
Merge branch 'current' into next 2021-12-27 20:51:43 +01:00
Franck Nijhof
b76d2db200
Add iif (immediate if) template function/filter (#20769)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-12-22 12:35:29 +01:00
Brynley McDonald
c6a9cd2366
Add documenation for slugify template filter (#20069)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-21 11:54:09 +01:00
Daniel D'Abate
c8dda7478f
Fix timestamp_custom example (#20739) 2021-12-18 15:57:46 +01:00
Jan Bouwhuis
09ab7e50e5
Improve readability pack and unpack template examples (#20734)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-17 11:01:15 +01:00
Jan Bouwhuis
d56e16f934
New template filters pack and unpack (#20547)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-03 09:22:47 +01:00
Jan Bouwhuis
10dd348db8
Revert "Add bytes support to bitwise template filters" (#20552) 2021-12-03 08:31:01 +01:00
Jan Bouwhuis
fe5dee1459
Revert "Add template int filter / function documentation" (#20551) 2021-12-03 08:29:56 +01:00
Jan Bouwhuis
b0c7969a73
Add template int filter / function documentation (#20471) 2021-11-30 15:25:52 +01:00
Jan Bouwhuis
d721c7731a
Add bytes support to bitwise template filters (#20412) 2021-11-29 13:56:29 +01:00
Jan Bouwhuis
e1ea19f9f9
ISO format for timstamp_local and timestamp_utc (#20424) 2021-11-24 19:58:11 +01:00
Jan Bouwhuis
777a78bf6e
Add UNIX timestamp detection to the as_datetime template filter (#20394) 2021-11-24 09:52:13 +01:00
Marcel van der Veldt
4d44e2f987
add integration entities helper (#20371)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-20 14:47:22 -08:00
Chris Browet
eab53f8c2c
Allow overriding ensure_ascii in the "to_json" template filter (#20218)
* to_json: add ensure_ascii

* Update source/_docs/configuration/templating.markdown

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* lint

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-08 17:27:45 +01:00
Petro31
0495cbf1c4
Add template average filter and function. (#19805) 2021-10-26 22:44:11 +02:00
Raman Gupta
c2e5189927
Document area_entities/area_devices template functions/filters (#19080) 2021-10-22 19:59:12 +02:00
Petro31
ecf9abc851
Add template today_at function/filter docs. (#19804) 2021-10-22 19:51:54 +02:00
Marius
89ee1acc52
change curret to current (#19731) 2021-10-12 12:37:24 +02:00
Stefan
10687809f1
Correct some different typo's of Home Assistant (#19714) 2021-10-11 16:12:43 +02:00
Erik Montnemery
551c74847a
Document default parameter for time template functions (#19506) 2021-09-29 20:17:40 +02:00
Erik Montnemery
440fb82720
Document default parameter for float functions (#19494)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-09-29 20:17:03 +02:00
Erik Montnemery
82d96a0ed6
Use is_number in template examples (#19492) 2021-09-27 12:22:23 +02:00
Erik Montnemery
aabe64cd2a
Document is_number filter and function (#19487) 2021-09-27 10:48:18 +02:00
Chris Browet
1dec3ab4fc
Add regex_findall (#19214)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-09-22 19:45:14 +02:00
Raman Gupta
9192d1fd99
Support device name as input to device_id template function (#19142)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-31 16:16:38 +02:00
Raman Gupta
8aace6e2e0
Document new area_id and area_name template functions (#18835) 2021-08-25 21:38:58 +02:00
Raman Gupta
e784059e83
Add documentation on new template functions for devices (#18540)
* Add documentation on new template functions for devices

* fix examples

* Update docs

* rename function

* rename back

* Rename template function back
2021-07-28 08:45:01 +02:00
Franck Nijhof
b9e2771b74
Add documentation for as_datetime template method/filter (#18116) 2021-06-07 18:37:02 +02:00
Joakim Sørensen
350d5845a9
Update templating.markdown (#18034) 2021-05-31 21:44:37 +02:00
craigmcgowan
557101eda9
link to default filter was incorrect (#18021) 2021-05-31 14:29:42 +02:00
AdeZwart
2772131721
Update links to Jinja documentation (#17954)
* Update links to Jinja documentation

Solves issue #17881. Broken links to Jinja documentation.

* Use latest

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-05-25 10:37:50 +02:00
Mike Degatano
bb0cef22ac
Update regex_search and regex_match to new tests (#17469) 2021-04-15 20:13:43 +02:00
Franck Nijhof
ead7f3ec36
Fix broken my link on templating configuration page (#17386) 2021-04-10 16:34:21 +02:00