mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add clarity and links to the template breaking changes
This commit is contained in:
parent
9b2a96d9fa
commit
a97b019d62
@ -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
|
template platform as automatic analysis can now find all entities that affect
|
||||||
the state in the template without manual setup.
|
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
|
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
|
template state changes. New entities that can affect the template state are
|
||||||
automatically discovered each time the template is rendered. This change solves
|
automatically discovered each time the template is rendered. This change solves
|
||||||
a performance issue where the template would be re-rendered unnecessarily.
|
a performance issue where the template would be re-rendered unnecessarily.
|
||||||
|
|
||||||
Please review the `Working without entities` section on the
|
Please review the [`Working without entities`][working-without-entities] section
|
||||||
`Binary Sensor Template` documentation for alternative ways to force
|
on the [`Binary Sensor Template`][working-without-entities] documentation for
|
||||||
templates entities to re-evaluate.
|
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
|
If this change means you need to make adjustments, we have made it easier by
|
||||||
making template entities reloadable in the `YAML configuration reloading`
|
making template entities reloadable in the `YAML configuration reloading`
|
||||||
@ -1086,6 +1090,8 @@ section under `Configure Home Assistant` -> `Server Controls`.
|
|||||||
|
|
||||||
([@bdraco] - [#39382]) ([template docs])
|
([@bdraco] - [#39382]) ([template docs])
|
||||||
|
|
||||||
|
[working-without-entities]: /integrations/binary_sensor.template/#working-without-entities
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user