From a97b019d629f2e20b482fd680984381efc8e8f74 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 10 Sep 2020 21:45:30 +0200 Subject: [PATCH] Add clarity and links to the template breaking changes --- source/_posts/2020-09-17-release-115.markdown | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/source/_posts/2020-09-17-release-115.markdown b/source/_posts/2020-09-17-release-115.markdown index be9906fcbca..17918773fa7 100644 --- a/source/_posts/2020-09-17-release-115.markdown +++ b/source/_posts/2020-09-17-release-115.markdown @@ -1071,14 +1071,18 @@ It is no longer necessary to provide a list of entities to monitor for each template platform as automatic analysis can now find all entities that affect the state in the template without manual setup. +This means you can now remove the `entity_id` option from your templates, +as it is now deprecated. + The template is now re-evaluated whenever an entity that can affect the template state changes. New entities that can affect the template state are automatically discovered each time the template is rendered. This change solves a performance issue where the template would be re-rendered unnecessarily. -Please review the `Working without entities` section on the -`Binary Sensor Template` documentation for alternative ways to force -templates entities to re-evaluate. +Please review the [`Working without entities`][working-without-entities] section +on the [`Binary Sensor Template`][working-without-entities] documentation for +alternative ways to force templates entities to re-evaluate. This includes +templates that rely on the use of `now()`. If this change means you need to make adjustments, we have made it easier by making template entities reloadable in the `YAML configuration reloading` @@ -1086,6 +1090,8 @@ section under `Configure Home Assistant` -> `Server Controls`. ([@bdraco] - [#39382]) ([template docs]) +[working-without-entities]: /integrations/binary_sensor.template/#working-without-entities +