From ffa829f91398cf3af2452290250cd341163f92c0 Mon Sep 17 00:00:00 2001 From: Martijn van der Pol Date: Mon, 19 Aug 2024 11:21:19 +0200 Subject: [PATCH] default for today_at() (#34311) --- source/_docs/configuration/templating.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_docs/configuration/templating.markdown b/source/_docs/configuration/templating.markdown index bfa929f53f2..f372f08d6cb 100644 --- a/source/_docs/configuration/templating.markdown +++ b/source/_docs/configuration/templating.markdown @@ -722,7 +722,7 @@ For example, if you wanted to select a field from `trigger` in an automation bas - `utcnow()` returns a datetime object of the current time in the UTC timezone. - For specific values: `utcnow().second`, `utcnow().minute`, `utcnow().hour`, `utcnow().day`, `utcnow().month`, `utcnow().year`, `utcnow().weekday()` and `utcnow().isoweekday()`. - Using `utcnow()` will cause templates to be refreshed at the start of every new minute. -- `today_at(value)` converts a string containing a military time format to a datetime object with today's date in your time zone. +- `today_at(value)` converts a string containing a military time format to a datetime object with today's date in your time zone. Defaults to midnight (`00:00`). - Using `today_at()` will cause templates to be refreshed at the start of every new minute.