From 342ba1b5996b6330744d6bd62a58212cb039f7cc Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 12 Aug 2024 16:06:19 +0200 Subject: [PATCH] Remove unnecessary assignment of Template.hass from telegram_bot (#123693) --- homeassistant/components/telegram_bot/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/components/telegram_bot/__init__.py b/homeassistant/components/telegram_bot/__init__.py index fed9021a46e..9d1a5398055 100644 --- a/homeassistant/components/telegram_bot/__init__.py +++ b/homeassistant/components/telegram_bot/__init__.py @@ -408,7 +408,6 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ): data[attribute] = attribute_templ else: - attribute_templ.hass = hass try: data[attribute] = attribute_templ.async_render( parse_result=False