mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +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
|
data[attribute] = attribute_templ
|
||||||
else:
|
else:
|
||||||
attribute_templ.hass = hass
|
|
||||||
try:
|
try:
|
||||||
data[attribute] = attribute_templ.async_render(
|
data[attribute] = attribute_templ.async_render(
|
||||||
parse_result=False
|
parse_result=False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user