Correct link in blog/2024-09-02-template-hass-required.md (#2325)

This commit is contained in:
Erik Montnemery 2024-09-19 13:53:35 +02:00 committed by GitHub
parent 202dda206a
commit 52159b5116
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@ authorURL: https://github.com/emontnemery
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.
Such code has been removed from Home Assistant Core, which impacts custom integration authors: