Remove unnecessary assignment of Template.hass from slack (#123688)
This commit is contained in:
parent
533e383d5d
commit
efa3f228a5
1 changed files with 0 additions and 1 deletions
|
@ -291,7 +291,6 @@ class SlackNotificationService(BaseNotificationService):
|
|||
if ATTR_FILE not in data:
|
||||
if ATTR_BLOCKS_TEMPLATE in data:
|
||||
value = cv.template_complex(data[ATTR_BLOCKS_TEMPLATE])
|
||||
template.attach(self._hass, value)
|
||||
blocks = template.render_complex(value)
|
||||
elif ATTR_BLOCKS in data:
|
||||
blocks = data[ATTR_BLOCKS]
|
||||
|
|
Loading…
Add table
Reference in a new issue