mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Remove unnecessary assignment of Template.hass from telegram_bot (#123693)
This commit is contained in:
parent
7985974a58
commit
342ba1b599
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user