From ea30a52a7881dd5f83fcee700ff06085634943a1 Mon Sep 17 00:00:00 2001 From: DubhAd Date: Sat, 11 Aug 2018 21:34:02 +0100 Subject: [PATCH] Making the warning clearer, and linkable (#5994) Making the warning clearer (I'll add something similar to the template trigger docs), and putting a title in so that we can link to it. --- source/_docs/configuration/templating.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_docs/configuration/templating.markdown b/source/_docs/configuration/templating.markdown index f627d2ea834..69ad76211bf 100644 --- a/source/_docs/configuration/templating.markdown +++ b/source/_docs/configuration/templating.markdown @@ -99,8 +99,10 @@ Home Assistant adds extensions to allow templates to access all of the current s If your template uses an `entity_id` that begins with a number (example: `states.device_tracker.2008_gmc`) you must use a bracket syntax to avoid errors caused by rendering the `entity_id` improperly. In the example given, the correct syntax for the device tracker would be: `states.device_tracker['2008_gmc']`

+## {% linkable_title Templates using `now()` %} +

-Rendering templates with time is dangerous as updates only trigger templates in sensors based on entity state changes. +Rendering templates with time (`now()`) is dangerous as updates only trigger templates in sensors based on entity state changes.

## {% linkable_title Home Assistant template extensions %}