mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-14 12:56:30 +00:00
Correct link in blog/2024-09-02-template-hass-required.md (#2325)
This commit is contained in:
parent
202dda206a
commit
52159b5116
@ -4,7 +4,7 @@ authorURL: https://github.com/emontnemery
|
|||||||
title: "Template.hass is no longer automatically set when rendering templates"
|
title: "Template.hass is no longer automatically set when rendering templates"
|
||||||
---
|
---
|
||||||
|
|
||||||
With the merge of [core PR #89242](https://github.com/home-assistant/core/pull/124656), which landed in Home Assistant Core 2023.4, `Template.hass` will be set on `Template` objects created during schema validation.
|
With the merge of [core PR #89242](https://github.com/home-assistant/core/pull/89242), which landed in Home Assistant Core 2023.4, `Template.hass` will be set on `Template` objects created during schema validation.
|
||||||
|
|
||||||
Before this change, it was necessary to check and set `Template.hass` before rendering templates, and this happened in numerous places throughout the codebase.
|
Before this change, it was necessary to check and set `Template.hass` before rendering templates, and this happened in numerous places throughout the codebase.
|
||||||
Such code has been removed from Home Assistant Core, which impacts custom integration authors:
|
Such code has been removed from Home Assistant Core, which impacts custom integration authors:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user