217 Commits

Author SHA1 Message Date
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
Franck Nijhof
2ebab6fb75
Improve min/max syntax in template docs (#17384) 2021-04-10 15:30:32 +02:00
Petro31
da4eecb74d
Update templating.markdown (#17086) 2021-03-29 13:12:11 +02:00
fredericks1982
19178b20da
Removed repeated word (#17043) 2021-03-17 22:12:45 +01:00
Franck Nijhof
fad2a45310
Collection of Markdown/YAML cleanups (#16817) 2021-03-03 15:18:25 +01:00
Franck Nijhof
38d229792b
Add more My links (#16816) 2021-03-03 15:18:22 +01:00
Erik Montnemery
fb46c03804
Document trigger templating (#16455)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-02-11 20:04:53 +01:00
Erik Montnemery
f277317a2e
Improve automation templating docs (#16454) 2021-02-08 22:57:03 +01:00
Philip Allgaier
84b112024f
Note about isoformat() for frontend templates (#16097)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-01-23 14:37:56 +01:00
kongo09
fd30f1de66
Change example to use expand as a function (#16144)
expand does not work as a filter but only as a function. Adjust the example accordingly.
2021-01-10 21:40:13 +01:00
Ventilix
5b35e3679b
There was 2 typos at the very bottom of the page (#15955)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-12-22 14:59:59 +01:00
tomlut
bed6640f68
Add timedelta example (#15749) 2020-11-25 11:15:34 +01:00
Anders Melchiorsen
c06dd5ef4b
Time-based templates update automatically now (#15360) 2020-10-28 10:41:07 +01:00
Sean Mooney
157a44a670
Remove all references to unused Developer Tools sidebar icons (#15010) 2020-10-07 21:53:27 +02:00
J. Nick Koston
6a955be048
Remove rate_limit directive from documentation as it is not shipping in 0.116 (#14909) 2020-10-07 17:13:04 +02:00
J. Nick Koston
91de604bab
Add explanation of the new template rate_limit directive. (#14631) 2020-10-07 17:12:57 +02:00
Franck Nijhof
f8b7591f47
Merge branch 'current' into rc 2020-10-07 12:26:34 +02:00
Jenny
131a435c3d
move configuration redirects (#14744)
* move configuration redirects

from source files in source\_docs\configuration into the dedicated source\_redirects file

* ✏️ Tweak

* ✏️ Tweak

Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
2020-10-02 10:58:15 +02:00
Jakob Schlyter
bf29290ba0
add timedelta_seconds() (#14384) 2020-09-12 07:31:59 +02:00
Franck Nijhof
58f7bd7009
Merge branch 'current' into next 2020-09-05 15:14:52 +02:00
J. Nick Koston
2b6869c188
Add support for as_local as a global and a filter (#14387) 2020-09-03 14:35:28 -05:00
tomlut
9c0fb35922
Corrected template example (#14365)
Corrected the example for square bracket notation. Without this change the open and closing quotes would be `'{{ value_json['`
2020-09-01 09:29:26 +02:00
Franck Nijhof
f5eeb86ab6
Templates in data & service parameters (making data_template & service_template obsolete) (#14292) 2020-08-24 17:50:53 +02:00
Jakob Schlyter
b68bd0684e
Template urlencode (#13983) 2020-07-13 18:18:18 +02:00