From 20a7123a779233902b5b194d1f263a82b67fa03b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Feb 2016 11:23:32 +0100 Subject: [PATCH] Add now and utcnow --- source/getting-started/templating.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/getting-started/templating.markdown b/source/getting-started/templating.markdown index 5594d13e16d..e9c9eb04580 100644 --- a/source/getting-started/templating.markdown +++ b/source/getting-started/templating.markdown @@ -64,6 +64,8 @@ Home Assistant adds extensions to allow templates to access all of the current s - `is_state_attr('device_tracker.paulus', 'battery', 40)` will test if the given entity is specified state. - Filter `multiply(x)` will convert the input to a number and multiply it with `x` - Filter `round(x)` will convert the input to a number and round it to `x` decimals. + - `now` will be rendered as current time in your time zone. + - `utcnow` will be rendered as UTC time. #### {% linkable_title Examples %}