Remove unnecessary assignment of Template.hass from telegram_bot (#123693)

This commit is contained in:
Erik Montnemery 2024-08-12 16:06:19 +02:00 committed by GitHub
parent 7985974a58
commit 342ba1b599
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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