mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Remove unnecessary assignment of Template.hass from script variables helper (#123712)
This commit is contained in:
parent
c5e8710889
commit
c49a31e0de
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user