Adjust Telegram Bot integration

This commit is contained in:
Franck Nijhof
2020-10-26 17:30:12 +01:00
parent e5797eff00
commit dce211f7df

View File

@@ -329,7 +329,9 @@ async def async_setup(hass, config):
else: else:
attribute_templ.hass = hass attribute_templ.hass = hass
try: try:
data[attribute] = attribute_templ.async_render() data[attribute] = attribute_templ.async_render(
parse_result=False
)
except TemplateError as exc: except TemplateError as exc:
_LOGGER.error( _LOGGER.error(
"TemplateError in %s: %s -> %s", "TemplateError in %s: %s -> %s",