244 Commits

Author SHA1 Message Date
Franck Nijhof
91f945e6a9
Merge branch 'current' into next 2025-04-29 17:37:58 +00:00
Alastair McCormack
563bfd34fd
chore: use of correct 24-hour clock terminology (#38758) 2025-04-28 08:22:17 +02:00
Franck Nijhof
ed0bfaeb05
Re-instate relative_time template method into docs (#38560)
* Re-instate relative_time template method into docs

* tiny tweaks

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2025-04-16 06:14:36 +00:00
Paul Bottein
1a67539466
Add template function: device_name (#38476) 2025-04-14 14:30:10 +02:00
Jan Bouwhuis
4144b06385
Improve MQTT template docs on handling null values (#38485) 2025-04-12 06:44:27 +02:00
c0ffeeca7
51f1476989
Add alias as accepted lookup value for area_id and floor_id templates (#34846) 2025-03-28 16:22:10 +01:00
Franck Nijhof
989ce94fdc
Add template list functions: intersect, difference, symmetric_difference, union (#38190) 2025-03-26 07:51:43 +01:00
Franck Nijhof
03ed223cf2
Add template function: combine (#38094) 2025-03-20 11:05:04 +01:00
Franck Nijhof
280e45776c
Add template functions: md5, sha1, sha256, sha512 (#37884) 2025-03-10 07:38:25 +01:00
Franck Nijhof
3e11933f99
Add template function: flatten (#37879) 2025-03-09 14:01:30 +01:00
Franck Nijhof
f5644f746f
Add template function: typeof (#37872)
* Add template function: typeof

* Tweak

* Tweak output format
2025-03-09 11:04:09 +01:00
Franck Nijhof
f872e128a3
Add template function: shuffle (#37864)
* Add template function: shuffle

* Use 'reproducible' instead

* tiny tweak

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2025-03-08 07:12:10 +01:00
Petro31
880c5e5569
add-floor-entities (#37107) 2025-02-28 13:32:13 +01:00
Łukasz Nojek
c710d71e9f
Update templating.markdown - regex_replace (#36319) 2024-12-13 09:22:46 +01:00
Ingolf Becker
c6daef565d
Removed left over reference to relative_time() (#36150)
relative_time() was deprecated in favor of time_since() and time_until() in #111177
2024-12-06 22:19:44 +01:00
Raymond
877df6719f
Correct dining_room spelling in templating attributes example (#35776) 2024-11-15 16:56:34 +01:00
Erik Montnemery
4f2a793eaa
Rephrase MQTT template documentation (#35727) 2024-11-13 18:20:42 +01:00
G Johansson
71e1e66221
Clarify this in templates (#35658) 2024-11-09 10:43:06 +01:00
Franck Nijhof
95de69ca39
Merge branch 'current' into next 2024-09-24 13:57:20 +02:00
Andrii Mitnovych
15b05f45cc
Suggestion on re-arrangement
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com>
2024-09-22 18:33:48 -07:00
Andrii Mitnovych
a7e56a291f
Suggestion on rearranging and removing area ID.
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com>
2024-09-22 18:33:27 -07:00
formatBCE
734fe8e8f6 Add alias as accepted lookup value for area_id and floor_id templates 2024-09-20 20:57:39 +00:00
Stuart Holland
f410e8cde7
Added clarity about 'timedelta' to the templating doc. (#34623) 2024-09-10 08:28:39 +02:00
G Johansson
cfa99599e2
Add merge_response templating (#34050)
* Add merge_response templating

* Update source/_docs/configuration/templating.markdown

* Update

* Fix

* Fixes

* More

* Align with core pr

* Mods

* Fixes

* Tiny tweaks

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2024-09-02 11:16:03 +02:00
Bram Kragten
6021c517f1 Merge branch 'next' into rc 2024-08-28 18:39:48 +02:00
Petro31
a6d0f39cb4
Add zip template documentation (#33934)
* Add zip template documentation

* Update source/_docs/configuration/templating.markdown

Co-authored-by: Stefan Agner <stefan@agner.ch>

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: Stefan Agner <stefan@agner.ch>
2024-08-27 14:42:17 +02:00
Martijn van der Pol
ffa829f913
default for today_at() (#34311) 2024-08-19 11:21:19 +02:00
Jan Bouwhuis
70f248c1b3
Document publishing raw data in mqtt command templates and publish action (#34312)
* Document mqtt command template behavior

* Add `evalute_bytes` option to mqtt publish action

* rephrase

* Follow up on review

* Rename new option to evaluate_payload
2024-08-19 10:59:04 +02:00
Franck Nijhof
6ca14d3efc
Rename 'service' to 'action' in automations and scripts (#34023)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2024-07-31 14:37:02 +02:00
c0ffeeca7
f3d6332421
templating: rename 'service' to 'action' (#33803) 2024-07-16 16:40:32 +02:00
Franck Nijhof
0dac757164
Merge branch 'current' into next 2024-06-30 13:58:15 +02:00
Madelena Mak
d4c03fe1be
Update the theme to match branding better (#33462)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-06-30 13:47:01 +02:00
Paulus Schoutsen
c14c976e8e
Fix docs for config_entry_attr (#33381) 2024-06-24 06:41:22 +02:00
Paulus Schoutsen
ad744eb7d8
Document config_enty_attr (#33374) 2024-06-23 11:02:57 +02:00
paulusbrand
ffeecad9e8
Add documentation for the base64_decode filter (#32565) 2024-06-08 09:14:28 +02:00
Franck Nijhof
8f53689a00
Merge branch 'current' into next 2024-05-27 14:59:43 +02:00
Didgeridrew
8dac8268e6
Update templating.markdown distance() to include miles (#32954)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-05-27 09:48:13 +02:00
Troon
e588afc247
multiply and add filters documented (#32535) 2024-05-22 15:50:41 +02:00
rlippmann
9f710cbba1
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 12:42:42 +02:00
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