mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 21:55:10 +02:00
Remove unnecessary assignment of Template.hass from script variables helper (#123712)
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user