158 Commits

Author SHA1 Message Date
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
Sean Mooney
b8f6d29289
Remove reference to old icon on Templating page (#13444) 2020-05-15 01:27:43 +02:00
Kyle Gordon
fdab7fcec5
Clarify ignorecase (#12485)
Clarify the use of ignorecase and the need for Python style True/False
2020-03-22 21:42:59 +01:00
akasma74
fc44b3a2c3
add note on is_state_attr (#12169)
* add note on is_state_attr

Added a note about is_state_attr when attribute's value is None.
Based on https://community.home-assistant.io/t/can-someone-please-explain/128041 and https://community.home-assistant.io/t/is-state-attr-with-none-argument-to-test/173723

* ✏️ Tweak

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-02-27 13:36:43 +01:00
Alok Saboo
aa7a018464
Change i.e. and e.g. to i.e.,, and e.g., (#12162)
* Change i.e. and e.g. to i.e.,, and e.g.,

* Update textlintrc.json

* Update .textlintrc.json

Co-Authored-By: Franck Nijhof <frenck@frenck.nl>

* added i.e.,

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-02-22 20:50:26 +01:00
akasma74
813f484b9c
time section: tweaks (#12077)
Added empty string before notes and enclosed the example in {%raw%}{%endraw%}
2020-02-14 08:22:06 +01:00
Franck Nijhof
6ead12efbc
Extends textlint Terminology list; part 5 (#12072)
* Extends textlint Terminology list; part 5

* Remove walkthrough from textlint

* Improve Default Configuration page links
2020-02-13 13:39:06 +01:00
Franck Nijhof
6c292ca062
Extends textlint Terminology list (#12065) 2020-02-12 14:56:50 +01:00
akasma74
b7be161bbe
Time section: wording clarified, urls updated (#11979)
* Time section: wording clarified, urls updated

There were some uncetrtanties/errors.
Urls updated to point to the latest python docs

* Update source/_docs/configuration/templating.markdown

Co-Authored-By: Franck Nijhof <frenck@frenck.nl>

* wording changed

* note rephrased/moved

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-02-11 19:57:57 +01:00
Ville Skyttä
4567163c1f Grammar and spelling fixes (#11455) 2019-12-14 18:16:50 +01:00