205 Commits

Author SHA1 Message Date
rlippmann
28a9071ad7
Deprecate relative_time in favor of time_since()/time_until() (#25631)
Co-authored-by: haydndup <22921789+haydndup@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2024-04-30 10:25:26 +02:00
Franck Nijhof
590db2a828
Merge branch 'current' into next 2024-04-24 20:51:51 +02:00
kepath
7d3cda2189
Update templating.markdown (#32439) 2024-04-23 23:25:08 +02:00
Martijn van der Pol
6a0bee32f3
Update as_datetime in templating docs (#32424)
* Update `as_datetime`

* tiny tweak

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2024-04-23 15:52:47 +02:00
Robert Resch
7d497f5365
Revert "Fix floor template function docs" (#32146) 2024-04-03 18:30:35 +02:00
Robert Resch
2cf47bf096
Fix floor template function docs (#32143) 2024-04-03 18:30:32 +02:00
Robert Resch
94791937fb
Revert "Fix floor template function docs" (#32146) 2024-04-03 16:34:12 +02:00
Robert Resch
7dc1ed99ac
Fix floor template function docs (#32143) 2024-04-03 14:40:00 +02:00
Franck Nijhof
60a02f7177
Add label template functions (#32122)
* Add label template functions

* tiny tweaks

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2024-04-02 14:51:11 +02:00
Franck Nijhof
e1b49ae9ea
Add floor template functions (#32121)
* Add floor template functions

* Add missing full stop
2024-04-02 14:51:08 +02:00
Franck Nijhof
439b5f430b
Add label template functions (#32122)
* Add label template functions

* tiny tweaks

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2024-04-02 09:54:09 +02:00
Franck Nijhof
82762d63da
Add floor template functions (#32121)
* Add floor template functions

* Add missing full stop
2024-04-02 09:29:37 +02:00
RoboMagus
6886fae74d
Issues jinja template (#31712) 2024-03-06 12:07:58 +01:00
Erik Montnemery
98c1851b4b
Document changes in integration_entities (#31697)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2024-03-06 11:35:36 +01:00
Piotr Machowski
e2687d9f97
Add documentation of state_translated jinja function (#31323)
Co-authored-by: Piotr Machowski <PiotrMachowski@users.noreply.github.com>
2024-02-14 10:12:31 +01:00
Martijn van der Pol
8cfc596b17
Add default parameter to as_datetime documentation (#31048) 2024-01-29 18:51:50 +01:00
Lars R
918fb8ca8a
Add 'bitwise_xor' filter to jinja templates (#30124) 2024-01-10 09:41:22 +01:00
Martijn van der Pol
f70f3e71df
Add statistical_mode and median to templating docs (#30297)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-12-27 15:14:48 +01:00
Geoffrey Coan
08a55dd311
Update templating.markdown, typo correction (#30187) 2023-12-06 23:23:56 +01:00
c0ffeeca7
8d98500d0e
Docs c z apply sentence style caps add term refs (#29892)
* Docs a-b: apply sentence-style-caps, add term refs

* Docs: apply sentence-style-caps, add term refs

* Apply suggestions from code review

* Glossary: add alias for plural

* Apply suggestions from code review

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

---------

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2023-11-18 14:36:08 +01:00
c0ffeeca7
8bb2c3ead3
Docs: apply sentence-style capitalization (#29867)
* Docs: apply sentence-style capitalization

* Update source/_docs/automation/trigger.markdown
2023-11-16 13:13:28 +01:00
Raman Gupta
4e05e0067d
Add docs for new type check template functions (#29008)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-10-25 14:10:31 +02:00
Marius
b9db682c01
correct template examples sun.sun (#28379) 2023-07-31 18:24:29 +02:00
Quinton Reeves
117828856e
Add link to developer tool services services in "Reusing Templates" (#28313) 2023-07-25 08:27:57 +02:00
Martijn van der Pol
6f53634937
Update templating.markdown (#28269) 2023-07-21 10:47:36 +02:00
Franck Nijhof
ca962cf860
Enforce Markdown ordered list numbering (#28179) 2023-07-11 21:28:37 +02:00
c0ffeeca7
23239008fe
Various files: replace component by integration (#27781) 2023-06-13 11:32:32 +02:00
Franck Nijhof
6c49322ac3
Merge branch 'current' into next 2023-04-14 09:05:34 +02:00
Joost Lekkerkerker
23808e670d
Add endraw to close the raw (#26997) 2023-04-13 19:44:14 +02:00
David Poll
1303de1a87
Add documentation for to_json options (#26956)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-04-13 00:35:04 +02:00
J. Nick Koston
b42f9f9e07
Add example of sorting states by entity_id (#26822) 2023-04-05 10:03:26 +02:00
Petro31
fd2dfb9bbc
Add Relative_time and today_at updates (#25986)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-04-05 10:02:30 +02:00
Franck Nijhof
f37e7b31bc
2023.4: Beta release notes 2023-03-29 22:19:00 +02:00
ehendrix23
a47f6894f0
New function/test/filter has_value for templating (#24360)
Co-authored-by: Thomas Dietrich <Thomas@Nurzen.de>
2023-03-28 17:05:03 +02:00
Franck Nijhof
5237cd6912
Merge branch 'current' into next 2023-03-26 17:51:22 +02:00
The00Dustin
7a99b47309
Include optional default value in strptime (#26667)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-20 19:56:27 +01:00
David Poll
6d32c9383b
Add is_hidden_entity documentation (#26429)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-13 18:20:42 +01:00
David Poll
93f3e1efa6
Documentation for Jinja import (#26436) 2023-03-13 11:01:14 +01:00
Lucas Mindêllo de Andrade
9026d0ad20
List all areas with templating (#26303) 2023-03-09 22:32:43 +01:00
David Poll
745bebf601
Add a section on enabled jinja extensions (#26397) 2023-03-01 16:10:41 +01:00
Franck Nijhof
4534d7a669
Clarify the example is below the sentence (#26349) 2023-03-01 10:06:34 +01:00
Franck Nijhof
5ec6fd65db
Clarify the example is below the sentence (#26349) 2023-02-27 16:50:54 +01:00
Erik Montnemery
5cd4e4c849
Document rounded and with_unit arguments to states template function (#26175) 2023-02-20 10:50:00 +01:00
Jack A
35320bc45f
Fix typo of 'dining' in Templating Documentation (#26215) 2023-02-12 17:32:59 +01:00
Jan Bouwhuis
729991f4ff
Correct documentaion links to templating docs (#26055) 2023-02-02 13:34:17 +01:00
Vaarlion
bc068381df
Add doc for new contains jinja filter and test (#25890) 2023-01-25 11:51:55 +01:00
Petro31
949abd1def
Add missing filter to docs (#25262) 2022-12-14 17:17:31 +01:00
Franck Nijhof
0282e9c1f2
Allow is_state to accept a list of values (#25031)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-07 13:15:31 +01:00
Franck Nijhof
6789566d3e
Merge branch 'current' into rc 2022-12-07 13:14:37 +01:00
Brian Steere
9a84f0eb8a
fix: typo in templating docs (#25125) 2022-12-05 10:16:33 +01:00