From c49a31e0deb10409f1e28226b008a57ddfddea77 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 12 Aug 2024 21:51:24 +0200 Subject: [PATCH] Remove unnecessary assignment of Template.hass from script variables helper (#123712) --- homeassistant/helpers/script_variables.py | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/helpers/script_variables.py b/homeassistant/helpers/script_variables.py index 043101b9b86..2b4507abd64 100644 --- a/homeassistant/helpers/script_variables.py +++ b/homeassistant/helpers/script_variables.py @@ -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: