Remove unnecessary assignment of Template.hass from script variables helper (#123712)

This commit is contained in:
Erik Montnemery
2024-08-12 21:51:24 +02:00
committed by GitHub
parent c5e8710889
commit c49a31e0de

View File

@@ -36,7 +36,6 @@ class ScriptVariables:
"""
if self._has_template is None:
self._has_template = template.is_complex(self.variables)
template.attach(hass, self.variables)
if not self._has_template:
if render_as_defaults: